blob: 2294f5b0aa102d9195aa93b33a9e298ac91cba26 [file] [log] [blame]
Tony Lindgren0f0cfc62013-12-18 13:13:21 -08001/*
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
Dmitry Lifshitze5ee0422014-11-02 13:19:58 +020034&omap3_pmx_wkup {
35 dss_dpi_pins_cm_t3730: pinmux_dss_dpi_pins_cm_t3730 {
36 pinctrl-single,pins = <
37 OMAP3_WKUP_IOPAD(0x2a08, PIN_OUTPUT | MUX_MODE3) /* sys_boot0.dss_data18 */
38 OMAP3_WKUP_IOPAD(0x2a0c, PIN_OUTPUT | MUX_MODE3) /* sys_boot1.dss_data19 */
39 OMAP3_WKUP_IOPAD(0x2a10, PIN_OUTPUT | MUX_MODE3) /* sys_boot3.dss_data20 */
40 OMAP3_WKUP_IOPAD(0x2a12, PIN_OUTPUT | MUX_MODE3) /* sys_boot4.dss_data21 */
41 OMAP3_WKUP_IOPAD(0x2a14, PIN_OUTPUT | MUX_MODE3) /* sys_boot5.dss_data22 */
42 OMAP3_WKUP_IOPAD(0x2a16, PIN_OUTPUT | MUX_MODE3) /* sys_boot6.dss_data23 */
43 >;
44 };
45};
46
Tony Lindgren0f0cfc62013-12-18 13:13:21 -080047&omap3_pmx_core {
Tony Lindgren0f0cfc62013-12-18 13:13:21 -080048
49 mmc2_pins: pinmux_mmc2_pins {
50 pinctrl-single,pins = <
Dmitry Lifshitzfb5f8952014-01-12 15:22:44 +020051 OMAP3_CORE1_IOPAD(0x2158, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_clk.sdmmc2_clk */
52 OMAP3_CORE1_IOPAD(0x215a, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_cmd.sdmmc2_cmd */
53 OMAP3_CORE1_IOPAD(0x215c, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_dat0.sdmmc2_dat0 */
54 OMAP3_CORE1_IOPAD(0x215e, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_dat1.sdmmc2_dat1 */
55 OMAP3_CORE1_IOPAD(0x2160, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_dat2.sdmmc2_dat2 */
56 OMAP3_CORE1_IOPAD(0x2162, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_dat3.sdmmc2_dat3 */
Tony Lindgren0f0cfc62013-12-18 13:13:21 -080057 >;
58 };
59
Tony Lindgren0f0cfc62013-12-18 13:13:21 -080060 wl12xx_gpio: pinmux_wl12xx_gpio {
61 pinctrl-single,pins = <
Dmitry Lifshitzfb5f8952014-01-12 15:22:44 +020062 OMAP3_CORE1_IOPAD(0x20e2, PIN_OUTPUT | MUX_MODE4) /* dss_data3.gpio_73 */
63 OMAP3_CORE1_IOPAD(0x2164, PIN_INPUT | MUX_MODE4) /* sdmmc2_dat4.gpio_136 */
Tony Lindgren0f0cfc62013-12-18 13:13:21 -080064 >;
65 };
66};
67
Tony Lindgren0f0cfc62013-12-18 13:13:21 -080068&mmc2 {
69 pinctrl-names = "default";
70 pinctrl-0 = <&mmc2_pins>;
71 vmmc-supply = <&wl12xx_vmmc2>;
72 vmmc_aux-supply = <&wl12xx_vaux2>;
73 non-removable;
74 bus-width = <4>;
75 cap-power-off-card;
Eliad Peller99f84ca2015-03-18 18:38:29 +020076
77 #address-cells = <1>;
78 #size-cells = <0>;
79 wlcore: wlcore@2 {
80 compatible = "ti,wl1271";
81 reg = <2>;
82 interrupt-parent = <&gpio5>;
83 interrupts = <8 IRQ_TYPE_LEVEL_HIGH>; /* gpio 136 */
84 ref-clock-frequency = <38400000>;
85 };
Tony Lindgren0f0cfc62013-12-18 13:13:21 -080086};
Dmitry Lifshitze5ee0422014-11-02 13:19:58 +020087
88&dss {
89 status = "ok";
90
91 pinctrl-names = "default";
92 pinctrl-0 = <
93 &dss_dpi_pins_common
94 &dss_dpi_pins_cm_t3730
95 >;
96};
97