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