omap5-uevm.dts 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203
  1. /*
  2. * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/
  3. *
  4. * This program is free software; you can redistribute it and/or modify
  5. * it under the terms of the GNU General Public License version 2 as
  6. * published by the Free Software Foundation.
  7. */
  8. /dts-v1/;
  9. #include "omap5-board-common.dtsi"
  10. / {
  11. model = "TI OMAP5 uEVM board";
  12. compatible = "ti,omap5-uevm", "ti,omap5";
  13. memory@80000000 {
  14. device_type = "memory";
  15. reg = <0 0x80000000 0 0x7f000000>; /* 2032 MB */
  16. };
  17. aliases {
  18. ethernet = &ethernet;
  19. };
  20. leds {
  21. compatible = "gpio-leds";
  22. led1 {
  23. label = "omap5:blue:usr1";
  24. gpios = <&gpio5 25 GPIO_ACTIVE_HIGH>; /* gpio5_153 D1 LED */
  25. linux,default-trigger = "heartbeat";
  26. default-state = "off";
  27. };
  28. };
  29. evm_keys {
  30. compatible = "gpio-keys";
  31. pinctrl-names = "default";
  32. pinctrl-0 = <&evm_keys_pins>;
  33. #address-cells = <7>;
  34. #size-cells = <0>;
  35. btn1 {
  36. label = "BTN1";
  37. linux,code = <169>;
  38. gpios = <&gpio3 19 GPIO_ACTIVE_LOW>; /* gpio3_83 */
  39. wakeup-source;
  40. autorepeat;
  41. debounce-interval = <50>;
  42. };
  43. };
  44. evm_leds {
  45. compatible = "gpio-leds";
  46. led1 {
  47. label = "omap5:red:led";
  48. gpios = <&gpio9 17 GPIO_ACTIVE_HIGH>;
  49. linux,default-trigger = "mmc0";
  50. default-state = "off";
  51. };
  52. led2 {
  53. label = "omap5:green:led";
  54. gpios = <&gpio9 18 GPIO_ACTIVE_HIGH>;
  55. linux,default-trigger = "mmc1";
  56. default-state = "off";
  57. };
  58. led3 {
  59. label = "omap5:blue:led";
  60. gpios = <&gpio9 19 GPIO_ACTIVE_HIGH>;
  61. linux,default-trigger = "mmc2";
  62. default-state = "off";
  63. };
  64. led4 {
  65. label = "omap5:green:led1";
  66. gpios = <&gpio9 2 GPIO_ACTIVE_HIGH>;
  67. linux,default-trigger = "heartbeat";
  68. default-state = "off";
  69. };
  70. led5 {
  71. label = "omap5:green:led2";
  72. gpios = <&gpio9 3 GPIO_ACTIVE_HIGH>;
  73. linux,default-trigger = "default-on";
  74. default-state = "off";
  75. };
  76. led6 {
  77. label = "omap5:green:led3";
  78. gpios = <&gpio9 4 GPIO_ACTIVE_HIGH>;
  79. linux,default-trigger = "heartbeat";
  80. default-state = "off";
  81. };
  82. led7 {
  83. label = "omap5:green:led4";
  84. gpios = <&gpio9 5 GPIO_ACTIVE_HIGH>;
  85. linux,default-trigger = "default-on";
  86. default-state = "off";
  87. };
  88. led8 {
  89. label = "omap5:green:led5";
  90. gpios = <&gpio9 6 GPIO_ACTIVE_HIGH>;
  91. linux,default-trigger = "heartbeat";
  92. default-state = "off";
  93. };
  94. };
  95. };
  96. &hdmi {
  97. vdda-supply = <&ldo4_reg>;
  98. };
  99. &i2c1 {
  100. eeprom@50 {
  101. compatible = "atmel,24c02";
  102. reg = <0x50>;
  103. };
  104. };
  105. &i2c5 {
  106. pinctrl-names = "default";
  107. pinctrl-0 = <&i2c5_pins>;
  108. clock-frequency = <400000>;
  109. gpio9: gpio@22 {
  110. compatible = "ti,tca6424";
  111. reg = <0x22>;
  112. gpio-controller;
  113. #gpio-cells = <2>;
  114. };
  115. };
  116. &mmc1 {
  117. pinctrl-names = "default";
  118. pinctrl-0 = <&mmc1_pins>;
  119. cd-gpios = <&gpio5 24 GPIO_ACTIVE_LOW>; /* gpio5_152 */
  120. };
  121. &omap5_pmx_core {
  122. evm_keys_pins: pinmux_evm_keys_gpio_pins {
  123. pinctrl-single,pins = <
  124. OMAP5_IOPAD(0x0b6, PIN_INPUT | MUX_MODE6) /* gpio3_83 */
  125. >;
  126. };
  127. i2c5_pins: pinmux_i2c5_pins {
  128. pinctrl-single,pins = <
  129. OMAP5_IOPAD(0x1c6, PIN_INPUT | MUX_MODE0) /* i2c5_scl */
  130. OMAP5_IOPAD(0x1c8, PIN_INPUT | MUX_MODE0) /* i2c5_sda */
  131. >;
  132. };
  133. mmc1_pins: pinmux_mmc1_pins {
  134. pinctrl-single,pins = <
  135. OMAP5_IOPAD(0x1d4, PIN_INPUT_PULLUP | MUX_MODE6) /* gpio5_152 */
  136. >;
  137. };
  138. };
  139. &tpd12s015 {
  140. gpios = <&gpio9 0 GPIO_ACTIVE_HIGH>, /* TCA6424A P01, CT CP HPD */
  141. <&gpio9 1 GPIO_ACTIVE_HIGH>, /* TCA6424A P00, LS OE */
  142. <&gpio7 1 GPIO_ACTIVE_HIGH>; /* GPIO 193, HPD */
  143. };
  144. &twl6040 {
  145. ti,audpwron-gpio = <&gpio5 13 GPIO_ACTIVE_HIGH>; /* gpio line 141 */
  146. };
  147. &twl6040_pins {
  148. pinctrl-single,pins = <
  149. OMAP5_IOPAD(0x1be, PIN_OUTPUT | MUX_MODE6) /* mcspi1_somi.gpio5_141 */
  150. >;
  151. };
  152. &usbhsehci {
  153. #address-cells = <1>;
  154. #size-cells = <0>;
  155. hub@2 {
  156. compatible = "usb424,3503";
  157. reg = <2>;
  158. #address-cells = <1>;
  159. #size-cells = <0>;
  160. };
  161. ethernet: usbether@3 {
  162. compatible = "usb424,9730";
  163. reg = <3>;
  164. };
  165. };
  166. &wlcore {
  167. compatible = "ti,wl1837";
  168. };