omap5-uevm.dts 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234
  1. // SPDX-License-Identifier: GPL-2.0-only
  2. /*
  3. * Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com/
  4. */
  5. /dts-v1/;
  6. #include "omap5-board-common.dtsi"
  7. / {
  8. model = "TI OMAP5 uEVM board";
  9. compatible = "ti,omap5-uevm", "ti,omap5";
  10. memory@80000000 {
  11. device_type = "memory";
  12. reg = <0 0x80000000 0 0x7f000000>; /* 2032 MB */
  13. };
  14. reserved-memory {
  15. #address-cells = <2>;
  16. #size-cells = <2>;
  17. ranges;
  18. dsp_memory_region: dsp-memory@95000000 {
  19. compatible = "shared-dma-pool";
  20. reg = <0 0x95000000 0 0x800000>;
  21. reusable;
  22. status = "okay";
  23. };
  24. ipu_memory_region: ipu-memory@95800000 {
  25. compatible = "shared-dma-pool";
  26. reg = <0 0x95800000 0 0x3800000>;
  27. reusable;
  28. status = "okay";
  29. };
  30. };
  31. aliases {
  32. ethernet = &ethernet;
  33. };
  34. leds {
  35. compatible = "gpio-leds";
  36. led1 {
  37. label = "omap5:blue:usr1";
  38. gpios = <&gpio5 25 GPIO_ACTIVE_HIGH>; /* gpio5_153 D1 LED */
  39. linux,default-trigger = "heartbeat";
  40. default-state = "off";
  41. };
  42. };
  43. evm_keys {
  44. compatible = "gpio-keys";
  45. pinctrl-names = "default";
  46. pinctrl-0 = <&evm_keys_pins>;
  47. #address-cells = <7>;
  48. #size-cells = <0>;
  49. btn1 {
  50. label = "BTN1";
  51. linux,code = <169>;
  52. gpios = <&gpio3 19 GPIO_ACTIVE_LOW>; /* gpio3_83 */
  53. wakeup-source;
  54. autorepeat;
  55. debounce-interval = <50>;
  56. };
  57. };
  58. evm_leds {
  59. compatible = "gpio-leds";
  60. led1 {
  61. label = "omap5:red:led";
  62. gpios = <&gpio9 17 GPIO_ACTIVE_HIGH>;
  63. linux,default-trigger = "mmc0";
  64. default-state = "off";
  65. };
  66. led2 {
  67. label = "omap5:green:led";
  68. gpios = <&gpio9 18 GPIO_ACTIVE_HIGH>;
  69. linux,default-trigger = "mmc1";
  70. default-state = "off";
  71. };
  72. led3 {
  73. label = "omap5:blue:led";
  74. gpios = <&gpio9 19 GPIO_ACTIVE_HIGH>;
  75. linux,default-trigger = "mmc2";
  76. default-state = "off";
  77. };
  78. led4 {
  79. label = "omap5:green:led1";
  80. gpios = <&gpio9 2 GPIO_ACTIVE_HIGH>;
  81. linux,default-trigger = "heartbeat";
  82. default-state = "off";
  83. };
  84. led5 {
  85. label = "omap5:green:led2";
  86. gpios = <&gpio9 3 GPIO_ACTIVE_HIGH>;
  87. linux,default-trigger = "default-on";
  88. default-state = "off";
  89. };
  90. led6 {
  91. label = "omap5:green:led3";
  92. gpios = <&gpio9 4 GPIO_ACTIVE_HIGH>;
  93. linux,default-trigger = "heartbeat";
  94. default-state = "off";
  95. };
  96. led7 {
  97. label = "omap5:green:led4";
  98. gpios = <&gpio9 5 GPIO_ACTIVE_HIGH>;
  99. linux,default-trigger = "default-on";
  100. default-state = "off";
  101. };
  102. led8 {
  103. label = "omap5:green:led5";
  104. gpios = <&gpio9 6 GPIO_ACTIVE_HIGH>;
  105. linux,default-trigger = "heartbeat";
  106. default-state = "off";
  107. };
  108. };
  109. };
  110. &hdmi {
  111. vdda-supply = <&ldo4_reg>;
  112. };
  113. &i2c1 {
  114. eeprom@50 {
  115. compatible = "atmel,24c02";
  116. reg = <0x50>;
  117. };
  118. };
  119. &i2c5 {
  120. pinctrl-names = "default";
  121. pinctrl-0 = <&i2c5_pins>;
  122. clock-frequency = <400000>;
  123. gpio9: gpio@22 {
  124. compatible = "ti,tca6424";
  125. reg = <0x22>;
  126. gpio-controller;
  127. #gpio-cells = <2>;
  128. };
  129. };
  130. &mmc1 {
  131. pinctrl-names = "default";
  132. pinctrl-0 = <&mmc1_pins>;
  133. cd-gpios = <&gpio5 24 GPIO_ACTIVE_LOW>; /* gpio5_152 */
  134. };
  135. &omap5_pmx_core {
  136. evm_keys_pins: pinmux_evm_keys_gpio_pins {
  137. pinctrl-single,pins = <
  138. OMAP5_IOPAD(0x0b6, PIN_INPUT | MUX_MODE6) /* gpio3_83 */
  139. >;
  140. };
  141. i2c5_pins: pinmux_i2c5_pins {
  142. pinctrl-single,pins = <
  143. OMAP5_IOPAD(0x1c6, PIN_INPUT | MUX_MODE0) /* i2c5_scl */
  144. OMAP5_IOPAD(0x1c8, PIN_INPUT | MUX_MODE0) /* i2c5_sda */
  145. >;
  146. };
  147. mmc1_pins: pinmux_mmc1_pins {
  148. pinctrl-single,pins = <
  149. OMAP5_IOPAD(0x1d4, PIN_INPUT_PULLUP | MUX_MODE6) /* gpio5_152 */
  150. >;
  151. };
  152. };
  153. &tpd12s015 {
  154. gpios = <&gpio9 0 GPIO_ACTIVE_HIGH>, /* TCA6424A P01, CT CP HPD */
  155. <&gpio9 1 GPIO_ACTIVE_HIGH>, /* TCA6424A P00, LS OE */
  156. <&gpio7 1 GPIO_ACTIVE_HIGH>; /* GPIO 193, HPD */
  157. };
  158. &twl6040 {
  159. ti,audpwron-gpio = <&gpio5 13 GPIO_ACTIVE_HIGH>; /* gpio line 141 */
  160. };
  161. &twl6040_pins {
  162. pinctrl-single,pins = <
  163. OMAP5_IOPAD(0x1be, PIN_OUTPUT | MUX_MODE6) /* mcspi1_somi.gpio5_141 */
  164. >;
  165. };
  166. &usbhsehci {
  167. #address-cells = <1>;
  168. #size-cells = <0>;
  169. hub@2 {
  170. compatible = "usb424,3503";
  171. reg = <2>;
  172. #address-cells = <1>;
  173. #size-cells = <0>;
  174. };
  175. ethernet: ethernet@3 {
  176. compatible = "usb424,9730";
  177. reg = <3>;
  178. };
  179. };
  180. &wlcore {
  181. compatible = "ti,wl1837";
  182. };
  183. &dsp {
  184. status = "okay";
  185. memory-region = <&dsp_memory_region>;
  186. ti,timers = <&timer5>;
  187. ti,watchdog-timers = <&timer6>;
  188. };
  189. &ipu {
  190. status = "okay";
  191. memory-region = <&ipu_memory_region>;
  192. ti,timers = <&timer3>;
  193. ti,watchdog-timers = <&timer9>, <&timer11>;
  194. };