omap3-zoom3.dts 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224
  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. OMAP3_CORE1_IOPAD(0x2198, PIN_INPUT | MUX_MODE4) /* mcbsp1_clkx.gpio_162 WLAN IRQ */
  74. OMAP3_CORE1_IOPAD(0x21d0, PIN_INPUT_PULLUP | MUX_MODE3) /* mcspi1_cs1.sdmmc3_cmd */
  75. >;
  76. };
  77. uart1_pins: pinmux_uart1_pins {
  78. pinctrl-single,pins = <
  79. 0x150 (PIN_INPUT | MUX_MODE0) /* uart1_cts.uart1_cts */
  80. 0x14e (PIN_OUTPUT | MUX_MODE0) /* uart1_rts.uart1_rts */
  81. 0x152 (WAKEUP_EN | PIN_INPUT | MUX_MODE0) /* uart1_rx.uart1_rx */
  82. 0x14c (PIN_OUTPUT | MUX_MODE0) /* uart1_tx.uart1_tx */
  83. >;
  84. };
  85. uart2_pins: pinmux_uart2_pins {
  86. pinctrl-single,pins = <
  87. 0x144 (PIN_INPUT_PULLUP | MUX_MODE0) /* uart2_cts.uart2_cts */
  88. 0x146 (PIN_OUTPUT | MUX_MODE0) /* uart2_rts.uart2_rts */
  89. 0x14a (WAKEUP_EN | PIN_INPUT | MUX_MODE0) /* uart2_rx.uart2_rx */
  90. 0x148 (PIN_OUTPUT | MUX_MODE0) /* uart2_tx.uart2_tx */
  91. >;
  92. };
  93. uart3_pins: pinmux_uart3_pins {
  94. pinctrl-single,pins = <
  95. 0x16a (PIN_INPUT_PULLDOWN | MUX_MODE0) /* uart3_cts_rctx.uart3_cts_rctx */
  96. 0x16c (PIN_OUTPUT | MUX_MODE0) /* uart3_rts_sd.uart3_rts_sd */
  97. 0x16e (WAKEUP_EN | PIN_INPUT | MUX_MODE0) /* uart3_rx_irrx.uart3_rx_irrx */
  98. 0x170 (PIN_OUTPUT | MUX_MODE0) /* uart3_tx_irtx.uart3_tx_irtx */
  99. >;
  100. };
  101. /* wl12xx GPIO output for WLAN_EN */
  102. wl12xx_gpio: pinmux_wl12xx_gpio {
  103. pinctrl-single,pins = <
  104. 0xea (PIN_OUTPUT| MUX_MODE4) /* cam_d2.gpio_101 */
  105. >;
  106. };
  107. };
  108. &omap3_pmx_core2 {
  109. mmc3_2_pins: pinmux_mmc3_2_pins {
  110. pinctrl-single,pins = <
  111. OMAP3630_CORE2_IOPAD(0x25d8, PIN_INPUT_PULLUP | MUX_MODE2) /* etk_clk.sdmmc3_clk */
  112. OMAP3630_CORE2_IOPAD(0x25e4, PIN_INPUT_PULLUP | MUX_MODE2) /* etk_d4.sdmmc3_dat0 */
  113. OMAP3630_CORE2_IOPAD(0x25e6, WAKEUP_EN | PIN_INPUT_PULLUP | MUX_MODE2) /* etk_d5.sdmmc3_dat1 */
  114. OMAP3630_CORE2_IOPAD(0x25e8, PIN_INPUT_PULLUP | MUX_MODE2) /* etk_d6.sdmmc3_dat2 */
  115. OMAP3630_CORE2_IOPAD(0x25e2, PIN_INPUT_PULLUP | MUX_MODE2) /* etk_d3.sdmmc3_dat3 */
  116. >;
  117. };
  118. };
  119. &omap3_pmx_wkup {
  120. wlan_host_wkup: pinmux_wlan_host_wkup_pins {
  121. pinctrl-single,pins = <
  122. 0x1a (PIN_INPUT_PULLUP | MUX_MODE4) /* sys_clkout1.gpio_10 WLAN_HOST_WKUP */
  123. >;
  124. };
  125. };
  126. &i2c1 {
  127. clock-frequency = <2600000>;
  128. twl: twl@48 {
  129. reg = <0x48>;
  130. interrupts = <7>; /* SYS_NIRQ cascaded to intc */
  131. interrupt-parent = <&intc>;
  132. };
  133. };
  134. #include "twl4030.dtsi"
  135. &i2c2 {
  136. clock-frequency = <400000>;
  137. };
  138. &i2c3 {
  139. clock-frequency = <400000>;
  140. /*
  141. * TVP5146 Video decoder-in for analog input support.
  142. */
  143. tvp5146@5c {
  144. compatible = "ti,tvp5146m2";
  145. reg = <0x5c>;
  146. };
  147. };
  148. &twl_gpio {
  149. ti,use-leds;
  150. };
  151. &mmc1 {
  152. vmmc-supply = <&vmmc1>;
  153. vmmc_aux-supply = <&vsim>;
  154. bus-width = <4>;
  155. pinctrl-names = "default";
  156. pinctrl-0 = <&mmc1_pins>;
  157. };
  158. /*
  159. &mmc2 {
  160. vmmc-supply = <&vmmc2>;
  161. ti,non-removable;
  162. bus-width = <8>;
  163. pinctrl-names = "default";
  164. pinctrl-0 = <&mmc2_pins>;
  165. };
  166. */
  167. &mmc3 {
  168. vmmc-supply = <&wl12xx_vmmc>;
  169. non-removable;
  170. bus-width = <4>;
  171. cap-power-off-card;
  172. pinctrl-names = "default";
  173. pinctrl-0 = <&mmc3_pins &mmc3_2_pins>;
  174. };
  175. &uart1 {
  176. pinctrl-names = "default";
  177. pinctrl-0 = <&uart1_pins>;
  178. };
  179. &uart2 {
  180. pinctrl-names = "default";
  181. pinctrl-0 = <&uart2_pins>;
  182. };
  183. &uart3 {
  184. pinctrl-names = "default";
  185. pinctrl-0 = <&uart3_pins>;
  186. };
  187. &uart4 {
  188. status = "disabled";
  189. };
  190. &usb_otg_hs {
  191. interface-type = <0>;
  192. usb-phy = <&usb2_phy>;
  193. mode = <3>;
  194. power = <50>;
  195. };