1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0 2*f126890aSEmmanuel Vadot/* 3*f126890aSEmmanuel Vadot * Support for CompuLab CM-T3530 4*f126890aSEmmanuel Vadot */ 5*f126890aSEmmanuel Vadot/dts-v1/; 6*f126890aSEmmanuel Vadot 7*f126890aSEmmanuel Vadot#include "omap34xx.dtsi" 8*f126890aSEmmanuel Vadot#include "omap3-cm-t3x30.dtsi" 9*f126890aSEmmanuel Vadot 10*f126890aSEmmanuel Vadot/ { 11*f126890aSEmmanuel Vadot model = "CompuLab CM-T3530"; 12*f126890aSEmmanuel Vadot compatible = "compulab,omap3-cm-t3530", "ti,omap3430", "ti,omap34xx", "ti,omap3"; 13*f126890aSEmmanuel Vadot 14*f126890aSEmmanuel Vadot /* Regulator to trigger the reset signal of the Wifi module */ 15*f126890aSEmmanuel Vadot mmc2_sdio_reset: regulator-mmc2-sdio-reset { 16*f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 17*f126890aSEmmanuel Vadot regulator-name = "regulator-mmc2-sdio-reset"; 18*f126890aSEmmanuel Vadot regulator-min-microvolt = <3300000>; 19*f126890aSEmmanuel Vadot regulator-max-microvolt = <3300000>; 20*f126890aSEmmanuel Vadot gpio = <&twl_gpio 2 GPIO_ACTIVE_HIGH>; 21*f126890aSEmmanuel Vadot enable-active-high; 22*f126890aSEmmanuel Vadot }; 23*f126890aSEmmanuel Vadot}; 24*f126890aSEmmanuel Vadot 25*f126890aSEmmanuel Vadot&omap3_pmx_core { 26*f126890aSEmmanuel Vadot mmc2_pins: mmc2-pins { 27*f126890aSEmmanuel Vadot pinctrl-single,pins = < 28*f126890aSEmmanuel Vadot OMAP3_CORE1_IOPAD(0x2158, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_clk.sdmmc2_clk */ 29*f126890aSEmmanuel Vadot OMAP3_CORE1_IOPAD(0x215a, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_cmd.sdmmc2_cmd */ 30*f126890aSEmmanuel Vadot OMAP3_CORE1_IOPAD(0x215c, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_dat0.sdmmc2_dat0 */ 31*f126890aSEmmanuel Vadot OMAP3_CORE1_IOPAD(0x215e, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_dat1.sdmmc2_dat1 */ 32*f126890aSEmmanuel Vadot OMAP3_CORE1_IOPAD(0x2160, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_dat2.sdmmc2_dat2 */ 33*f126890aSEmmanuel Vadot OMAP3_CORE1_IOPAD(0x2162, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_dat3.sdmmc2_dat3 */ 34*f126890aSEmmanuel Vadot OMAP3_CORE1_IOPAD(0x2164, PIN_OUTPUT | MUX_MODE1) /* sdmmc2_dat4.sdmmc2_dir_dat0 */ 35*f126890aSEmmanuel Vadot OMAP3_CORE1_IOPAD(0x2166, PIN_OUTPUT | MUX_MODE1) /* sdmmc2_dat5.sdmmc2_dir_dat1 */ 36*f126890aSEmmanuel Vadot OMAP3_CORE1_IOPAD(0x2168, PIN_OUTPUT | MUX_MODE1) /* sdmmc2_dat6.sdmmc2_dir_cmd */ 37*f126890aSEmmanuel Vadot OMAP3_CORE1_IOPAD(0x216a, PIN_INPUT | MUX_MODE1) /* sdmmc2_dat7.sdmmc2_clkin */ 38*f126890aSEmmanuel Vadot >; 39*f126890aSEmmanuel Vadot }; 40*f126890aSEmmanuel Vadot}; 41*f126890aSEmmanuel Vadot 42*f126890aSEmmanuel Vadot&mmc2 { 43*f126890aSEmmanuel Vadot pinctrl-names = "default"; 44*f126890aSEmmanuel Vadot pinctrl-0 = <&mmc2_pins>; 45*f126890aSEmmanuel Vadot vmmc-supply = <&mmc2_sdio_reset>; 46*f126890aSEmmanuel Vadot non-removable; 47*f126890aSEmmanuel Vadot bus-width = <4>; 48*f126890aSEmmanuel Vadot cap-power-off-card; 49*f126890aSEmmanuel Vadot}; 50*f126890aSEmmanuel Vadot 51*f126890aSEmmanuel Vadot&dss { 52*f126890aSEmmanuel Vadot status = "okay"; 53*f126890aSEmmanuel Vadot 54*f126890aSEmmanuel Vadot pinctrl-names = "default"; 55*f126890aSEmmanuel Vadot pinctrl-0 = < 56*f126890aSEmmanuel Vadot &dss_dpi_pins_common 57*f126890aSEmmanuel Vadot &dss_dpi_pins_cm_t35x 58*f126890aSEmmanuel Vadot >; 59*f126890aSEmmanuel Vadot}; 60*f126890aSEmmanuel Vadot 61