omap3-zoom3.dts 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217
  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 "omap36xx.dtsi"
  10. #include "omap-zoom-common.dtsi"
  11. / {
  12. model = "TI Zoom3";
  13. compatible = "ti,omap3-zoom3", "ti,omap36xx", "ti,omap3";
  14. cpus {
  15. cpu@0 {
  16. cpu0-supply = <&vcc>;
  17. };
  18. };
  19. memory {
  20. device_type = "memory";
  21. reg = <0x80000000 0x20000000>; /* 512 MB */
  22. };
  23. vddvario: regulator-vddvario {
  24. compatible = "regulator-fixed";
  25. regulator-name = "vddvario";
  26. regulator-always-on;
  27. };
  28. vdd33a: regulator-vdd33a {
  29. compatible = "regulator-fixed";
  30. regulator-name = "vdd33a";
  31. regulator-always-on;
  32. };
  33. wl12xx_vmmc: wl12xx_vmmc {
  34. pinctrl-names = "default";
  35. pinctrl-0 = <&wl12xx_gpio>;
  36. compatible = "regulator-fixed";
  37. regulator-name = "vwl1271";
  38. regulator-min-microvolt = <1800000>;
  39. regulator-max-microvolt = <1800000>;
  40. gpio = <&gpio4 5 0>; /* gpio101 */
  41. startup-delay-us = <70000>;
  42. enable-active-high;
  43. };
  44. };
  45. &omap3_pmx_core {
  46. /* REVISIT: twl gpio0 is mmc0_cd */
  47. mmc1_pins: pinmux_mmc1_pins {
  48. pinctrl-single,pins = <
  49. 0x114 (PIN_OUTPUT_PULLUP | MUX_MODE0) /* sdmmc1_clk.sdmmc1_clk */
  50. 0x116 (PIN_OUTPUT_PULLUP | MUX_MODE0) /* sdmmc1_cmd.sdmmc1_cmd */
  51. 0x118 (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat0.sdmmc1_dat0 */
  52. 0x11a (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat1.sdmmc1_dat1 */
  53. 0x11c (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat2.sdmmc1_dat2 */
  54. 0x11e (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat3.sdmmc1_dat3 */
  55. >;
  56. };
  57. mmc2_pins: pinmux_mmc2_pins {
  58. pinctrl-single,pins = <
  59. 0x128 (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_clk.sdmmc2_clk */
  60. 0x12a (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_cmd.sdmmc2_cmd */
  61. 0x12c (PIN_INPUT | MUX_MODE0) /* sdmmc2_dat0.sdmmc2_dat0 */
  62. 0x12e (PIN_INPUT | MUX_MODE0) /* sdmmc2_dat1.sdmmc2_dat1 */
  63. 0x130 (PIN_INPUT | MUX_MODE0) /* sdmmc2_dat2.sdmmc2_dat2 */
  64. 0x132 (PIN_INPUT | MUX_MODE0) /* sdmmc2_dat3.sdmmc2_dat3 */
  65. 0x134 (PIN_INPUT | MUX_MODE0) /* sdmmc2_dat4.sdmmc2_dat4 */
  66. 0x136 (PIN_INPUT | MUX_MODE0) /* sdmmc2_dat5.sdmmc2_dat5 */
  67. 0x138 (PIN_INPUT | MUX_MODE0) /* sdmmc2_dat6.sdmmc2_dat6 */
  68. 0x13a (PIN_INPUT | MUX_MODE0) /* sdmmc2_dat7.sdmmc2_dat7 */
  69. >;
  70. };
  71. mmc3_pins: pinmux_mmc3_pins {
  72. pinctrl-single,pins = <
  73. 0x168 (PIN_INPUT | MUX_MODE4) /* mcbsp1_clkx.gpio_162 WLAN IRQ */
  74. 0x1a0 (PIN_INPUT_PULLUP | MUX_MODE3) /* mcspi1_cs1.sdmmc3_cmd */
  75. 0x5a8 (PIN_INPUT_PULLUP | MUX_MODE2) /* etk_clk.sdmmc3_clk */
  76. 0x5b4 (PIN_INPUT_PULLUP | MUX_MODE2) /* etk_d4.sdmmc3_dat0 */
  77. 0x5b6 (WAKEUP_EN | PIN_INPUT_PULLUP | MUX_MODE2) /* etk_d5.sdmmc3_dat1 */
  78. 0x5b8 (PIN_INPUT_PULLUP | MUX_MODE2) /* etk_d6.sdmmc3_dat2 */
  79. 0x5b2 (PIN_INPUT_PULLUP | MUX_MODE2) /* etk_d3.sdmmc3_dat3 */
  80. >;
  81. };
  82. uart1_pins: pinmux_uart1_pins {
  83. pinctrl-single,pins = <
  84. 0x150 (PIN_INPUT | MUX_MODE0) /* uart1_cts.uart1_cts */
  85. 0x14e (PIN_OUTPUT | MUX_MODE0) /* uart1_rts.uart1_rts */
  86. 0x152 (WAKEUP_EN | PIN_INPUT | MUX_MODE0) /* uart1_rx.uart1_rx */
  87. 0x14c (PIN_OUTPUT | MUX_MODE0) /* uart1_tx.uart1_tx */
  88. >;
  89. };
  90. uart2_pins: pinmux_uart2_pins {
  91. pinctrl-single,pins = <
  92. 0x144 (PIN_INPUT_PULLUP | MUX_MODE0) /* uart2_cts.uart2_cts */
  93. 0x146 (PIN_OUTPUT | MUX_MODE0) /* uart2_rts.uart2_rts */
  94. 0x14a (WAKEUP_EN | PIN_INPUT | MUX_MODE0) /* uart2_rx.uart2_rx */
  95. 0x148 (PIN_OUTPUT | MUX_MODE0) /* uart2_tx.uart2_tx */
  96. >;
  97. };
  98. uart3_pins: pinmux_uart3_pins {
  99. pinctrl-single,pins = <
  100. 0x16a (PIN_INPUT_PULLDOWN | MUX_MODE0) /* uart3_cts_rctx.uart3_cts_rctx */
  101. 0x16c (PIN_OUTPUT | MUX_MODE0) /* uart3_rts_sd.uart3_rts_sd */
  102. 0x16e (WAKEUP_EN | PIN_INPUT | MUX_MODE0) /* uart3_rx_irrx.uart3_rx_irrx */
  103. 0x170 (PIN_OUTPUT | MUX_MODE0) /* uart3_tx_irtx.uart3_tx_irtx */
  104. >;
  105. };
  106. /* wl12xx GPIO output for WLAN_EN */
  107. wl12xx_gpio: pinmux_wl12xx_gpio {
  108. pinctrl-single,pins = <
  109. 0xea (PIN_OUTPUT| MUX_MODE4) /* cam_d2.gpio_101 */
  110. >;
  111. };
  112. };
  113. &omap3_pmx_wkup {
  114. wlan_host_wkup: pinmux_wlan_host_wkup_pins {
  115. pinctrl-single,pins = <
  116. 0x1a (PIN_INPUT_PULLUP | MUX_MODE4) /* sys_clkout1.gpio_10 WLAN_HOST_WKUP */
  117. >;
  118. };
  119. };
  120. &i2c1 {
  121. clock-frequency = <2600000>;
  122. twl: twl@48 {
  123. reg = <0x48>;
  124. interrupts = <7>; /* SYS_NIRQ cascaded to intc */
  125. interrupt-parent = <&intc>;
  126. };
  127. };
  128. #include "twl4030.dtsi"
  129. &i2c2 {
  130. clock-frequency = <400000>;
  131. };
  132. &i2c3 {
  133. clock-frequency = <400000>;
  134. /*
  135. * TVP5146 Video decoder-in for analog input support.
  136. */
  137. tvp5146@5c {
  138. compatible = "ti,tvp5146m2";
  139. reg = <0x5c>;
  140. };
  141. };
  142. &twl_gpio {
  143. ti,use-leds;
  144. };
  145. &mmc1 {
  146. vmmc-supply = <&vmmc1>;
  147. vmmc_aux-supply = <&vsim>;
  148. bus-width = <4>;
  149. pinctrl-names = "default";
  150. pinctrl-0 = <&mmc1_pins>;
  151. };
  152. /*
  153. &mmc2 {
  154. vmmc-supply = <&vmmc2>;
  155. ti,non-removable;
  156. bus-width = <8>;
  157. pinctrl-names = "default";
  158. pinctrl-0 = <&mmc2_pins>;
  159. };
  160. */
  161. &mmc3 {
  162. vmmc-supply = <&wl12xx_vmmc>;
  163. non-removable;
  164. bus-width = <4>;
  165. cap-power-off-card;
  166. pinctrl-names = "default";
  167. pinctrl-0 = <&mmc3_pins>;
  168. };
  169. &uart1 {
  170. pinctrl-names = "default";
  171. pinctrl-0 = <&uart1_pins>;
  172. };
  173. &uart2 {
  174. pinctrl-names = "default";
  175. pinctrl-0 = <&uart2_pins>;
  176. };
  177. &uart3 {
  178. pinctrl-names = "default";
  179. pinctrl-0 = <&uart3_pins>;
  180. };
  181. &uart4 {
  182. status = "disabled";
  183. };
  184. &usb_otg_hs {
  185. interface-type = <0>;
  186. usb-phy = <&usb2_phy>;
  187. mode = <3>;
  188. power = <50>;
  189. };