at91-sama5d4_ma5d4evk.dts 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171
  1. /*
  2. * Copyright (C) 2015 Marek Vasut <marex@denx.de>
  3. *
  4. * The code contained herein is licensed under the GNU General Public
  5. * License. You may obtain a copy of the GNU General Public License
  6. * Version 2 or later at the following locations:
  7. *
  8. * http://www.opensource.org/licenses/gpl-license.html
  9. * http://www.gnu.org/copyleft/gpl.html
  10. */
  11. /dts-v1/;
  12. #include "at91-sama5d4_ma5d4.dtsi"
  13. / {
  14. model = "DENX MA5D4EVK";
  15. compatible = "denx,ma5d4evk", "atmel,sama5d4", "atmel,sama5";
  16. chosen {
  17. stdout-path = "serial3:115200n8";
  18. };
  19. ahb {
  20. usb0: gadget@00400000 {
  21. atmel,vbus-gpio = <&pioE 31 GPIO_ACTIVE_HIGH>;
  22. pinctrl-names = "default";
  23. pinctrl-0 = <&pinctrl_usba_vbus>;
  24. status = "okay";
  25. };
  26. usb1: ohci@00500000 {
  27. num-ports = <3>;
  28. atmel,vbus-gpio = <0
  29. &pioE 11 GPIO_ACTIVE_LOW
  30. &pioE 14 GPIO_ACTIVE_LOW
  31. >;
  32. status = "okay";
  33. };
  34. usb2: ehci@00600000 {
  35. status = "okay";
  36. };
  37. apb {
  38. hlcdc: hlcdc@f0000000 {
  39. status = "okay";
  40. hlcdc-display-controller {
  41. pinctrl-names = "default";
  42. pinctrl-0 = <&pinctrl_lcd_base &pinctrl_lcd_rgb888>;
  43. port@0 {
  44. hlcdc_panel_output: endpoint@0 {
  45. reg = <0>;
  46. remote-endpoint = <&panel_input>;
  47. };
  48. };
  49. };
  50. };
  51. macb0: ethernet@f8020000 {
  52. phy-mode = "rmii";
  53. status = "okay";
  54. phy0: ethernet-phy@0 {
  55. reg = <0>;
  56. };
  57. };
  58. usart0: serial@f802c000 {
  59. status = "okay";
  60. };
  61. usart1: serial@f8030000 {
  62. status = "okay";
  63. };
  64. mmc1: mmc@fc000000 {
  65. pinctrl-names = "default";
  66. pinctrl-0 = <&pinctrl_mmc1_clk_cmd_dat0 &pinctrl_mmc1_dat1_3 &pinctrl_mmc1_cd>;
  67. vmmc-supply = <&vcc_mmc1_reg>;
  68. vqmmc-supply = <&vcc_3v3_reg>;
  69. status = "okay";
  70. slot@0 {
  71. reg = <0>;
  72. bus-width = <4>;
  73. cd-gpios = <&pioE 5 0>;
  74. };
  75. };
  76. adc0: adc@fc034000 {
  77. atmel,adc-ts-wires = <4>;
  78. atmel,adc-ts-pressure-threshold = <10000>;
  79. };
  80. pinctrl@fc06a000 {
  81. board {
  82. pinctrl_mmc1_cd: mmc1_cd {
  83. atmel,pins = <AT91_PIOE 5 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>;
  84. };
  85. pinctrl_usba_vbus: usba_vbus {
  86. atmel,pins =
  87. <AT91_PIOE 31 AT91_PERIPH_GPIO AT91_PINCTRL_DEGLITCH>;
  88. };
  89. };
  90. };
  91. };
  92. };
  93. backlight: backlight {
  94. compatible = "pwm-backlight";
  95. pwms = <&hlcdc_pwm 0 50000 0>;
  96. brightness-levels = <0 4 8 16 32 64 128 255>;
  97. default-brightness-level = <6>;
  98. status = "okay";
  99. };
  100. leds {
  101. compatible = "gpio-leds";
  102. status = "okay";
  103. user1 {
  104. label = "user1";
  105. gpios = <&pioD 28 GPIO_ACTIVE_HIGH>;
  106. linux,default-trigger = "heartbeat";
  107. };
  108. user2 {
  109. label = "user2";
  110. gpios = <&pioD 29 GPIO_ACTIVE_HIGH>;
  111. linux,default-trigger = "heartbeat";
  112. };
  113. user3 {
  114. label = "user3";
  115. gpios = <&pioD 30 GPIO_ACTIVE_HIGH>;
  116. linux,default-trigger = "heartbeat";
  117. };
  118. };
  119. panel: panel {
  120. /* Actually Ampire 800480R2 */
  121. compatible = "foxlink,fl500wvr00-a0t", "simple-panel";
  122. backlight = <&backlight>;
  123. #address-cells = <1>;
  124. #size-cells = <0>;
  125. status = "okay";
  126. port@0 {
  127. #address-cells = <1>;
  128. #size-cells = <0>;
  129. panel_input: endpoint@0 {
  130. reg = <0>;
  131. remote-endpoint = <&hlcdc_panel_output>;
  132. };
  133. };
  134. };
  135. vcc_mmc1_reg: fixedregulator_mmc1 {
  136. compatible = "regulator-fixed";
  137. gpio = <&pioE 17 GPIO_ACTIVE_LOW>;
  138. regulator-name = "VDD MCI1";
  139. regulator-min-microvolt = <3300000>;
  140. regulator-max-microvolt = <3300000>;
  141. vin-supply = <&vcc_3v3_reg>;
  142. };
  143. };