Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0
0002 /*
0003  * Support for CompuLab CM-T3530
0004  */
0005 /dts-v1/;
0006 
0007 #include "omap34xx.dtsi"
0008 #include "omap3-cm-t3x30.dtsi"
0009 
0010 / {
0011         model = "CompuLab CM-T3530";
0012         compatible = "compulab,omap3-cm-t3530", "ti,omap3430", "ti,omap34xx", "ti,omap3";
0013 
0014         /* Regulator to trigger the reset signal of the Wifi module */
0015         mmc2_sdio_reset: regulator-mmc2-sdio-reset {
0016                 compatible = "regulator-fixed";
0017                 regulator-name = "regulator-mmc2-sdio-reset";
0018                 regulator-min-microvolt = <3300000>;
0019                 regulator-max-microvolt = <3300000>;
0020                 gpio = <&twl_gpio 2 GPIO_ACTIVE_HIGH>;
0021                 enable-active-high;
0022         };
0023 };
0024 
0025 &omap3_pmx_core {
0026         mmc2_pins: pinmux_mmc2_pins {
0027                 pinctrl-single,pins = <
0028                         OMAP3_CORE1_IOPAD(0x2158, PIN_INPUT_PULLUP | MUX_MODE0)         /* sdmmc2_clk.sdmmc2_clk */
0029                         OMAP3_CORE1_IOPAD(0x215a, PIN_INPUT_PULLUP | MUX_MODE0)         /* sdmmc2_cmd.sdmmc2_cmd */
0030                         OMAP3_CORE1_IOPAD(0x215c, PIN_INPUT_PULLUP | MUX_MODE0)         /* sdmmc2_dat0.sdmmc2_dat0 */
0031                         OMAP3_CORE1_IOPAD(0x215e, PIN_INPUT_PULLUP | MUX_MODE0)         /* sdmmc2_dat1.sdmmc2_dat1 */
0032                         OMAP3_CORE1_IOPAD(0x2160, PIN_INPUT_PULLUP | MUX_MODE0)         /* sdmmc2_dat2.sdmmc2_dat2 */
0033                         OMAP3_CORE1_IOPAD(0x2162, PIN_INPUT_PULLUP | MUX_MODE0)         /* sdmmc2_dat3.sdmmc2_dat3 */
0034                         OMAP3_CORE1_IOPAD(0x2164, PIN_OUTPUT | MUX_MODE1)               /* sdmmc2_dat4.sdmmc2_dir_dat0 */
0035                         OMAP3_CORE1_IOPAD(0x2166, PIN_OUTPUT | MUX_MODE1)               /* sdmmc2_dat5.sdmmc2_dir_dat1 */
0036                         OMAP3_CORE1_IOPAD(0x2168, PIN_OUTPUT | MUX_MODE1)               /* sdmmc2_dat6.sdmmc2_dir_cmd */
0037                         OMAP3_CORE1_IOPAD(0x216a, PIN_INPUT | MUX_MODE1)                /* sdmmc2_dat7.sdmmc2_clkin */
0038                 >;
0039         };
0040 };
0041 
0042 &mmc2 {
0043         pinctrl-names = "default";
0044         pinctrl-0 = <&mmc2_pins>;
0045         vmmc-supply = <&mmc2_sdio_reset>;
0046         non-removable;
0047         bus-width = <4>;
0048         cap-power-off-card;
0049 };
0050 
0051 &dss {
0052         status = "okay";
0053 
0054         pinctrl-names = "default";
0055         pinctrl-0 = <
0056                 &dss_dpi_pins_common
0057                 &dss_dpi_pins_cm_t35x
0058         >;
0059 };
0060