sun8i-h3-rervision-dvk.dts 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
  2. /*
  3. * Copyright (C) 2019 Bootlin
  4. * Author: Paul Kocialkowski <[email protected]>
  5. */
  6. /dts-v1/;
  7. #include "sun8i-h3.dtsi"
  8. #include "sunxi-common-regulators.dtsi"
  9. #include <dt-bindings/gpio/gpio.h>
  10. #include <dt-bindings/input/input.h>
  11. / {
  12. model = "RerVision H3-DVK";
  13. compatible = "rervision,h3-dvk", "allwinner,sun8i-h3";
  14. aliases {
  15. ethernet0 = &emac;
  16. serial0 = &uart0;
  17. };
  18. chosen {
  19. stdout-path = "serial0:115200n8";
  20. };
  21. connector {
  22. compatible = "hdmi-connector";
  23. type = "a";
  24. port {
  25. hdmi_con_in: endpoint {
  26. remote-endpoint = <&hdmi_out_con>;
  27. };
  28. };
  29. };
  30. };
  31. &de {
  32. status = "okay";
  33. };
  34. &ehci1 {
  35. status = "okay";
  36. };
  37. &ehci2 {
  38. status = "okay";
  39. };
  40. &ehci3 {
  41. status = "okay";
  42. };
  43. &emac {
  44. phy-handle = <&int_mii_phy>;
  45. phy-mode = "mii";
  46. allwinner,leds-active-low;
  47. status = "okay";
  48. };
  49. &hdmi {
  50. status = "okay";
  51. };
  52. &hdmi_out {
  53. hdmi_out_con: endpoint {
  54. remote-endpoint = <&hdmi_con_in>;
  55. };
  56. };
  57. &mmc0 {
  58. bus-width = <4>;
  59. cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>; /* PF6 */
  60. status = "okay";
  61. vmmc-supply = <&reg_vcc3v3>;
  62. };
  63. &mmc2 {
  64. pinctrl-names = "default";
  65. pinctrl-0 = <&mmc2_8bit_pins>;
  66. vmmc-supply = <&reg_vcc3v3>;
  67. bus-width = <8>;
  68. non-removable;
  69. cap-mmc-hw-reset;
  70. status = "okay";
  71. };
  72. &ohci1 {
  73. status = "okay";
  74. };
  75. &ohci2 {
  76. status = "okay";
  77. };
  78. &ohci3 {
  79. status = "okay";
  80. };
  81. &uart0 {
  82. pinctrl-names = "default";
  83. pinctrl-0 = <&uart0_pa_pins>;
  84. status = "okay";
  85. };
  86. &usb_otg {
  87. status = "okay";
  88. dr_mode = "peripheral";
  89. };
  90. &usbphy {
  91. status = "okay";
  92. };