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