omap3-cm-t3517.dts 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  1. /*
  2. * Support for CompuLab CM-T3517
  3. */
  4. /dts-v1/;
  5. #include "am3517.dtsi"
  6. #include "omap3-cm-t3x.dtsi"
  7. / {
  8. model = "CompuLab CM-T3517";
  9. compatible = "compulab,omap3-cm-t3517", "ti,am3517", "ti,omap3";
  10. vmmc: regulator-vmmc {
  11. compatible = "regulator-fixed";
  12. regulator-name = "vmmc";
  13. regulator-min-microvolt = <3300000>;
  14. regulator-max-microvolt = <3300000>;
  15. };
  16. wl12xx_vmmc2: wl12xx_vmmc2 {
  17. compatible = "regulator-fixed";
  18. regulator-name = "vw1271";
  19. pinctrl-names = "default";
  20. pinctrl-0 = <
  21. &wl12xx_wkup_pins
  22. &wl12xx_core_pins
  23. >;
  24. regulator-min-microvolt = <1800000>;
  25. regulator-max-microvolt = <1800000>;
  26. gpio = <&gpio1 6 GPIO_ACTIVE_HIGH >; /* gpio6 */
  27. startup-delay-us = <20000>;
  28. enable-active-high;
  29. };
  30. wl12xx_vaux2: wl12xx_vaux2 {
  31. compatible = "regulator-fixed";
  32. regulator-name = "vwl1271_vaux2";
  33. regulator-min-microvolt = <1800000>;
  34. regulator-max-microvolt = <1800000>;
  35. };
  36. };
  37. &omap3_pmx_wkup {
  38. wl12xx_wkup_pins: pinmux_wl12xx_wkup_pins {
  39. pinctrl-single,pins = <
  40. OMAP3_WKUP_IOPAD(0x2a0e, PIN_OUTPUT | MUX_MODE4) /* sys_boot2.gpio_4 */
  41. OMAP3_WKUP_IOPAD(0x2a12, PIN_OUTPUT | MUX_MODE4) /* sys_boot4.gpio_6 */
  42. >;
  43. };
  44. };
  45. &omap3_pmx_core {
  46. phy1_reset_pins: pinmux_hsusb1_phy_reset_pins {
  47. pinctrl-single,pins = <
  48. OMAP3_CORE1_IOPAD(0x2178, PIN_OUTPUT | MUX_MODE4) /* uart2_tx.gpio_146 */
  49. >;
  50. };
  51. phy2_reset_pins: pinmux_hsusb2_phy_reset_pins {
  52. pinctrl-single,pins = <
  53. OMAP3_CORE1_IOPAD(0x217a, PIN_OUTPUT | MUX_MODE4) /* uart2_rx.gpio_147 */
  54. >;
  55. };
  56. otg_drv_vbus: pinmux_otg_drv_vbus {
  57. pinctrl-single,pins = <
  58. OMAP3_CORE1_IOPAD(0x2210, PIN_INPUT_PULLDOWN | MUX_MODE0) /* rmii_50MHz_clk.usb0_drvvbus */
  59. >;
  60. };
  61. mmc2_pins: pinmux_mmc2_pins {
  62. pinctrl-single,pins = <
  63. OMAP3_CORE1_IOPAD(0x2158, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_clk.sdmmc2_clk */
  64. OMAP3_CORE1_IOPAD(0x215a, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_cmd.sdmmc2_cmd */
  65. OMAP3_CORE1_IOPAD(0x215c, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_dat0.sdmmc2_dat0 */
  66. OMAP3_CORE1_IOPAD(0x215e, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_dat1.sdmmc2_dat1 */
  67. OMAP3_CORE1_IOPAD(0x2160, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_dat2.sdmmc2_dat2 */
  68. OMAP3_CORE1_IOPAD(0x2162, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_dat3.sdmmc2_dat3 */
  69. >;
  70. };
  71. wl12xx_core_pins: pinmux_wl12xx_core_pins {
  72. pinctrl-single,pins = <
  73. OMAP3_CORE1_IOPAD(0x20b8, PIN_OUTPUT | MUX_MODE4) /* gpmc_ncs5.gpio_56 */
  74. OMAP3_CORE1_IOPAD(0x2176, PIN_INPUT_PULLUP | MUX_MODE4) /* uart2_rts.gpio_145 */
  75. >;
  76. };
  77. usb_hub_pins: pinmux_usb_hub_pins {
  78. pinctrl-single,pins = <
  79. OMAP3_CORE1_IOPAD(0x2184, PIN_OUTPUT | MUX_MODE4) /* mcbsp4_clkx.gpio_152 - USB HUB RST */
  80. >;
  81. };
  82. };
  83. &hsusb1_phy {
  84. pinctrl-names = "default";
  85. pinctrl-0 = <&phy1_reset_pins>;
  86. reset-gpios = <&gpio5 18 GPIO_ACTIVE_LOW>;
  87. };
  88. &hsusb2_phy {
  89. pinctrl-names = "default";
  90. pinctrl-0 = <&phy2_reset_pins>;
  91. reset-gpios = <&gpio5 19 GPIO_ACTIVE_LOW>;
  92. };
  93. &davinci_emac {
  94. status = "okay";
  95. };
  96. &davinci_mdio {
  97. status = "okay";
  98. };
  99. &am35x_otg_hs {
  100. status = "okay";
  101. pinctrl-names = "default";
  102. pinctrl-0 = <&otg_drv_vbus>;
  103. };
  104. &mmc1 {
  105. vmmc-supply = <&vmmc>;
  106. };
  107. &mmc2 {
  108. pinctrl-names = "default";
  109. pinctrl-0 = <&mmc2_pins>;
  110. vmmc-supply = <&wl12xx_vmmc2>;
  111. vmmc_aux-supply = <&wl12xx_vaux2>;
  112. non-removable;
  113. bus-width = <4>;
  114. cap-power-off-card;
  115. #address-cells = <1>;
  116. #size-cells = <0>;
  117. wlcore: wlcore@2 {
  118. compatible = "ti,wl1271";
  119. reg = <2>;
  120. interrupt-parent = <&gpio5>;
  121. interrupts = <17 IRQ_TYPE_LEVEL_HIGH>; /* gpio 145 */
  122. ref-clock-frequency = <38400000>;
  123. };
  124. };
  125. &dss {
  126. status = "ok";
  127. pinctrl-names = "default";
  128. pinctrl-0 = <
  129. &dss_dpi_pins_common
  130. &dss_dpi_pins_cm_t35x
  131. >;
  132. };