am571x-idk.dts 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218
  1. // SPDX-License-Identifier: GPL-2.0-only
  2. /*
  3. * Copyright (C) 2015-2016 Texas Instruments Incorporated - https://www.ti.com/
  4. */
  5. /dts-v1/;
  6. #include "am5718.dtsi"
  7. #include <dt-bindings/gpio/gpio.h>
  8. #include <dt-bindings/interrupt-controller/irq.h>
  9. #include "dra7-mmc-iodelay.dtsi"
  10. #include "dra72x-mmc-iodelay.dtsi"
  11. #include "am57xx-idk-common.dtsi"
  12. #include "dra7-ipu-dsp-common.dtsi"
  13. / {
  14. model = "TI AM5718 IDK";
  15. compatible = "ti,am5718-idk", "ti,am5718", "ti,dra7";
  16. memory@80000000 {
  17. device_type = "memory";
  18. reg = <0x0 0x80000000 0x0 0x40000000>;
  19. };
  20. reserved-memory {
  21. #address-cells = <2>;
  22. #size-cells = <2>;
  23. ranges;
  24. ipu2_memory_region: ipu2-memory@95800000 {
  25. compatible = "shared-dma-pool";
  26. reg = <0x0 0x95800000 0x0 0x3800000>;
  27. reusable;
  28. status = "okay";
  29. };
  30. dsp1_memory_region: dsp1-memory@99000000 {
  31. compatible = "shared-dma-pool";
  32. reg = <0x0 0x99000000 0x0 0x4000000>;
  33. reusable;
  34. status = "okay";
  35. };
  36. ipu1_memory_region: ipu1-memory@9d000000 {
  37. compatible = "shared-dma-pool";
  38. reg = <0x0 0x9d000000 0x0 0x2000000>;
  39. reusable;
  40. status = "okay";
  41. };
  42. };
  43. leds {
  44. compatible = "gpio-leds";
  45. cpu0-led {
  46. label = "status0:red:cpu0";
  47. gpios = <&gpio2 25 GPIO_ACTIVE_HIGH>;
  48. default-state = "off";
  49. linux,default-trigger = "cpu0";
  50. };
  51. usr0-led {
  52. label = "status0:green:usr";
  53. gpios = <&gpio2 26 GPIO_ACTIVE_HIGH>;
  54. default-state = "off";
  55. };
  56. heartbeat-led {
  57. label = "status0:blue:heartbeat";
  58. gpios = <&gpio2 27 GPIO_ACTIVE_HIGH>;
  59. default-state = "off";
  60. linux,default-trigger = "heartbeat";
  61. };
  62. usr1-led {
  63. label = "status1:red:usr";
  64. gpios = <&gpio2 28 GPIO_ACTIVE_HIGH>;
  65. default-state = "off";
  66. };
  67. usr2-led {
  68. label = "status1:green:usr";
  69. gpios = <&gpio2 21 GPIO_ACTIVE_HIGH>;
  70. default-state = "off";
  71. };
  72. mmc0-led {
  73. label = "status1:blue:mmc0";
  74. gpios = <&gpio2 19 GPIO_ACTIVE_HIGH>;
  75. default-state = "off";
  76. linux,default-trigger = "mmc0";
  77. };
  78. };
  79. idk-leds {
  80. status = "disabled";
  81. compatible = "gpio-leds";
  82. red0-led {
  83. label = "idk:red0";
  84. gpios = <&gpio6 19 GPIO_ACTIVE_HIGH>;
  85. default-state = "off";
  86. };
  87. green0-led {
  88. label = "idk:green0";
  89. gpios = <&gpio4 0 GPIO_ACTIVE_HIGH>;
  90. default-state = "off";
  91. };
  92. blue0-led {
  93. label = "idk:blue0";
  94. gpios = <&gpio1 4 GPIO_ACTIVE_HIGH>;
  95. default-state = "off";
  96. };
  97. red1-led {
  98. label = "idk:red1";
  99. gpios = <&gpio6 7 GPIO_ACTIVE_HIGH>;
  100. default-state = "off";
  101. };
  102. green1-led {
  103. label = "idk:green1";
  104. gpios = <&gpio2 29 GPIO_ACTIVE_HIGH>;
  105. default-state = "off";
  106. };
  107. blue1-led {
  108. label = "idk:blue1";
  109. gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>;
  110. default-state = "off";
  111. };
  112. red2-led {
  113. label = "idk:red2";
  114. gpios = <&gpio7 9 GPIO_ACTIVE_HIGH>;
  115. default-state = "off";
  116. };
  117. green2-led {
  118. label = "idk:green2";
  119. gpios = <&gpio7 8 GPIO_ACTIVE_HIGH>;
  120. default-state = "off";
  121. };
  122. blue2-led {
  123. label = "idk:blue2";
  124. gpios = <&gpio7 10 GPIO_ACTIVE_HIGH>;
  125. default-state = "off";
  126. };
  127. red3-led {
  128. label = "idk:red3";
  129. gpios = <&gpio7 11 GPIO_ACTIVE_HIGH>;
  130. default-state = "off";
  131. };
  132. green3-led {
  133. label = "idk:green3";
  134. gpios = <&gpio7 25 GPIO_ACTIVE_HIGH>;
  135. default-state = "off";
  136. };
  137. blue3-led {
  138. label = "idk:blue3";
  139. gpios = <&gpio7 24 GPIO_ACTIVE_HIGH>;
  140. default-state = "off";
  141. };
  142. };
  143. };
  144. &extcon_usb2 {
  145. id-gpio = <&gpio5 7 GPIO_ACTIVE_HIGH>;
  146. vbus-gpio = <&gpio7 22 GPIO_ACTIVE_HIGH>;
  147. };
  148. &sn65hvs882 {
  149. load-gpios = <&gpio2 23 GPIO_ACTIVE_LOW>;
  150. };
  151. &ipu2 {
  152. status = "okay";
  153. memory-region = <&ipu2_memory_region>;
  154. };
  155. &ipu1 {
  156. status = "okay";
  157. memory-region = <&ipu1_memory_region>;
  158. };
  159. &dsp1 {
  160. status = "okay";
  161. memory-region = <&dsp1_memory_region>;
  162. };
  163. &pcie1_rc {
  164. status = "okay";
  165. gpios = <&gpio5 18 GPIO_ACTIVE_HIGH>;
  166. };
  167. &mmc1 {
  168. pinctrl-names = "default", "hs";
  169. pinctrl-0 = <&mmc1_pins_default_no_clk_pu>;
  170. pinctrl-1 = <&mmc1_pins_hs>;
  171. };
  172. &mmc2 {
  173. pinctrl-names = "default", "hs", "ddr_3_3v";
  174. pinctrl-0 = <&mmc2_pins_default>;
  175. pinctrl-1 = <&mmc2_pins_hs>;
  176. pinctrl-2 = <&mmc2_pins_ddr_rev20 &mmc2_iodelay_ddr_conf>;
  177. };
  178. &pruss1_mdio {
  179. status = "disabled";
  180. };
  181. &pruss2_mdio {
  182. status = "disabled";
  183. };