Tony Lindgren | 0f0cfc6 | 2013-12-18 13:13:21 -0800 | [diff] [blame] | 1 | /* |
| 2 | * Support for CompuLab CM-T3730 |
| 3 | */ |
| 4 | /dts-v1/; |
| 5 | |
| 6 | #include "omap36xx.dtsi" |
| 7 | #include "omap3-cm-t3x30.dtsi" |
| 8 | |
| 9 | / { |
| 10 | model = "CompuLab CM-T3730"; |
| 11 | compatible = "compulab,omap3-cm-t3730", "ti,omap36xx", "ti,omap3"; |
| 12 | |
| 13 | wl12xx_vmmc2: wl12xx_vmmc2 { |
| 14 | compatible = "regulator-fixed"; |
| 15 | regulator-name = "vw1271"; |
| 16 | pinctrl-names = "default"; |
| 17 | pinctrl-0 = <&wl12xx_gpio>; |
| 18 | regulator-min-microvolt = <1800000>; |
| 19 | regulator-max-microvolt = <1800000>; |
| 20 | gpio = <&gpio3 9 GPIO_ACTIVE_HIGH>; /* gpio73 */ |
| 21 | startup-delay-us = <20000>; |
| 22 | enable-active-high; |
| 23 | }; |
| 24 | |
| 25 | wl12xx_vaux2: wl12xx_vaux2 { |
| 26 | compatible = "regulator-fixed"; |
| 27 | regulator-name = "vwl1271_vaux2"; |
| 28 | regulator-min-microvolt = <1800000>; |
| 29 | regulator-max-microvolt = <1800000>; |
| 30 | vin-supply = <&vaux2>; |
| 31 | }; |
| 32 | }; |
| 33 | |
| 34 | &omap3_pmx_core { |
Tony Lindgren | 0f0cfc6 | 2013-12-18 13:13:21 -0800 | [diff] [blame] | 35 | |
| 36 | mmc2_pins: pinmux_mmc2_pins { |
| 37 | pinctrl-single,pins = < |
Dmitry Lifshitz | fb5f895 | 2014-01-12 15:22:44 +0200 | [diff] [blame] | 38 | OMAP3_CORE1_IOPAD(0x2158, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_clk.sdmmc2_clk */ |
| 39 | OMAP3_CORE1_IOPAD(0x215a, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_cmd.sdmmc2_cmd */ |
| 40 | OMAP3_CORE1_IOPAD(0x215c, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_dat0.sdmmc2_dat0 */ |
| 41 | OMAP3_CORE1_IOPAD(0x215e, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_dat1.sdmmc2_dat1 */ |
| 42 | OMAP3_CORE1_IOPAD(0x2160, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_dat2.sdmmc2_dat2 */ |
| 43 | OMAP3_CORE1_IOPAD(0x2162, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_dat3.sdmmc2_dat3 */ |
Tony Lindgren | 0f0cfc6 | 2013-12-18 13:13:21 -0800 | [diff] [blame] | 44 | >; |
| 45 | }; |
| 46 | |
Tony Lindgren | 0f0cfc6 | 2013-12-18 13:13:21 -0800 | [diff] [blame] | 47 | wl12xx_gpio: pinmux_wl12xx_gpio { |
| 48 | pinctrl-single,pins = < |
Dmitry Lifshitz | fb5f895 | 2014-01-12 15:22:44 +0200 | [diff] [blame] | 49 | OMAP3_CORE1_IOPAD(0x20e2, PIN_OUTPUT | MUX_MODE4) /* dss_data3.gpio_73 */ |
| 50 | OMAP3_CORE1_IOPAD(0x2164, PIN_INPUT | MUX_MODE4) /* sdmmc2_dat4.gpio_136 */ |
Tony Lindgren | 0f0cfc6 | 2013-12-18 13:13:21 -0800 | [diff] [blame] | 51 | >; |
| 52 | }; |
| 53 | }; |
| 54 | |
Tony Lindgren | 0f0cfc6 | 2013-12-18 13:13:21 -0800 | [diff] [blame] | 55 | &mmc2 { |
| 56 | pinctrl-names = "default"; |
| 57 | pinctrl-0 = <&mmc2_pins>; |
| 58 | vmmc-supply = <&wl12xx_vmmc2>; |
| 59 | vmmc_aux-supply = <&wl12xx_vaux2>; |
| 60 | non-removable; |
| 61 | bus-width = <4>; |
| 62 | cap-power-off-card; |
| 63 | }; |