1 // SPDX-License-Identifier: GPL-2.0
3 * Support for CompuLab CM-T3730
7 #include "omap36xx.dtsi"
8 #include "omap3-cm-t3x30.dtsi"
11 model = "CompuLab CM-T3730";
12 compatible = "compulab,omap3-cm-t3730", "ti,omap36xx", "ti,omap3";
14 wl12xx_vmmc2: wl12xx_vmmc2 {
15 compatible = "regulator-fixed";
16 regulator-name = "vw1271";
17 pinctrl-names = "default";
18 pinctrl-0 = <&wl12xx_gpio>;
19 regulator-min-microvolt = <1800000>;
20 regulator-max-microvolt = <1800000>;
21 gpio = <&gpio3 9 GPIO_ACTIVE_HIGH>; /* gpio73 */
22 startup-delay-us = <20000>;
26 wl12xx_vaux2: wl12xx_vaux2 {
27 compatible = "regulator-fixed";
28 regulator-name = "vwl1271_vaux2";
29 regulator-min-microvolt = <1800000>;
30 regulator-max-microvolt = <1800000>;
31 vin-supply = <&vaux2>;
36 dss_dpi_pins_cm_t3730: pinmux_dss_dpi_pins_cm_t3730 {
37 pinctrl-single,pins = <
38 OMAP3_WKUP_IOPAD(0x2a08, PIN_OUTPUT | MUX_MODE3) /* sys_boot0.dss_data18 */
39 OMAP3_WKUP_IOPAD(0x2a0c, PIN_OUTPUT | MUX_MODE3) /* sys_boot1.dss_data19 */
40 OMAP3_WKUP_IOPAD(0x2a10, PIN_OUTPUT | MUX_MODE3) /* sys_boot3.dss_data20 */
41 OMAP3_WKUP_IOPAD(0x2a12, PIN_OUTPUT | MUX_MODE3) /* sys_boot4.dss_data21 */
42 OMAP3_WKUP_IOPAD(0x2a14, PIN_OUTPUT | MUX_MODE3) /* sys_boot5.dss_data22 */
43 OMAP3_WKUP_IOPAD(0x2a16, PIN_OUTPUT | MUX_MODE3) /* sys_boot6.dss_data23 */
50 mmc2_pins: pinmux_mmc2_pins {
51 pinctrl-single,pins = <
52 OMAP3_CORE1_IOPAD(0x2158, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_clk.sdmmc2_clk */
53 OMAP3_CORE1_IOPAD(0x215a, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_cmd.sdmmc2_cmd */
54 OMAP3_CORE1_IOPAD(0x215c, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_dat0.sdmmc2_dat0 */
55 OMAP3_CORE1_IOPAD(0x215e, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_dat1.sdmmc2_dat1 */
56 OMAP3_CORE1_IOPAD(0x2160, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_dat2.sdmmc2_dat2 */
57 OMAP3_CORE1_IOPAD(0x2162, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_dat3.sdmmc2_dat3 */
61 wl12xx_gpio: pinmux_wl12xx_gpio {
62 pinctrl-single,pins = <
63 OMAP3_CORE1_IOPAD(0x20e2, PIN_OUTPUT | MUX_MODE4) /* dss_data3.gpio_73 */
64 OMAP3_CORE1_IOPAD(0x2164, PIN_INPUT | MUX_MODE4) /* sdmmc2_dat4.gpio_136 */
70 pinctrl-names = "default";
71 pinctrl-0 = <&mmc2_pins>;
72 vmmc-supply = <&wl12xx_vmmc2>;
73 vqmmc-supply = <&wl12xx_vaux2>;
81 compatible = "ti,wl1271";
83 interrupt-parent = <&gpio5>;
84 interrupts = <8 IRQ_TYPE_EDGE_RISING>; /* gpio 136 */
85 ref-clock-frequency = <38400000>;
92 pinctrl-names = "default";
95 &dss_dpi_pins_cm_t3730