ARM: dts: omap3-evm: Sync dts(i) files from Linux 5.1.5
authorDerald D. Woods <woods.technical@gmail.com>
Tue, 28 May 2019 02:19:38 +0000 (21:19 -0500)
committerTom Rini <trini@konsulko.com>
Sat, 13 Jul 2019 15:11:27 +0000 (11:11 -0400)
Signed-off-by: Derald D. Woods <woods.technical@gmail.com>
arch/arm/dts/omap3-evm-37xx.dts
arch/arm/dts/omap3-evm-common.dtsi
arch/arm/dts/omap3-evm-processor-common.dtsi

index 5a4ba0aea44711de976971991e91be063fc0ac46..a14303b09ae2178364f6a82521fe2a2c5624aa65 100644 (file)
                        label = "X-Loader";
                        reg = <0 0x80000>;
                };
-               partition@0x80000 {
+               partition@80000 {
                        label = "U-Boot";
                        reg = <0x80000 0x1c0000>;
                };
-               partition@0x1c0000 {
+               partition@1c0000 {
                        label = "Environment";
                        reg = <0x240000 0x40000>;
                };
-               partition@0x280000 {
+               partition@280000 {
                        label = "Kernel";
                        reg = <0x280000 0x500000>;
                };
-               partition@0x780000 {
+               partition@780000 {
                        label = "Filesystem";
                        reg = <0x780000 0x1f880000>;
                };
index ee64191e41ca187b60eda4e36dc7aeb641c34896..17c89df6ce6b14b897b2f3859db3d6637275853e 100644 (file)
 };
 
 &mmc2 {
+       interrupts-extended = <&intc 86 &omap3_pmx_core 0x12e>;
        vmmc-supply = <&wl12xx_vmmc>;
        non-removable;
        bus-width = <4>;
        wlcore: wlcore@2 {
                compatible = "ti,wl1271";
                reg = <2>;
-               interrupt-parent = <&gpio5>;
-               interrupts = <21 IRQ_TYPE_LEVEL_HIGH>; /* gpio 149 */
+               /* gpio_149 with uart1_rts pad as wakeirq */
+               interrupts-extended = <&gpio5 21 IRQ_TYPE_EDGE_RISING>,
+                                     <&omap3_pmx_core 0x14e>;
+               interrupt-names = "irq", "wakeup";
                ref-clock-frequency = <38400000>;
        };
 };
index ce7f42f9448cd6521d7f2d43595a1ab08161bf4f..b4109f48ec18509e881ea0c80a9a9ccab3dd25a9 100644 (file)
                        OMAP3_CORE1_IOPAD(0x215e, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_dat1.sdmmc2_dat1 */
                        OMAP3_CORE1_IOPAD(0x2160, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_dat2.sdmmc2_dat2 */
                        OMAP3_CORE1_IOPAD(0x2162, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_dat3.sdmmc2_dat3 */
+                       OMAP3_CORE1_IOPAD(0x2164, PIN_OUTPUT | MUX_MODE1)       /* sdmmc2_dat4.sdmmc2_dir_dat0 */
+                       OMAP3_CORE1_IOPAD(0x2166, PIN_OUTPUT | MUX_MODE1)       /* sdmmc2_dat5.sdmmc2_dir_dat1 */
+                       OMAP3_CORE1_IOPAD(0x2168, PIN_OUTPUT | MUX_MODE1)       /* sdmmc2_dat6.sdmmc2_dir_cmd */
+                       OMAP3_CORE1_IOPAD(0x216a, PIN_INPUT | MUX_MODE1)        /* sdmmc2_dat7.sdmmc2_clkin */
                >;
        };
 
                >;
        };
 
+       /*
+        * Note that gpio_150 pulled high with internal pull to prevent wlcore
+        * reset on return from off mode in idle.
+        */
        wl12xx_gpio: pinmux_wl12xx_gpio {
                pinctrl-single,pins = <
-                       OMAP3_CORE1_IOPAD(0x2180, PIN_OUTPUT | MUX_MODE4)               /* uart1_cts.gpio_150 */
+                       OMAP3_CORE1_IOPAD(0x2180, PIN_INPUT_PULLUP | MUX_MODE7)         /* uart1_cts.gpio_150 */
                        OMAP3_CORE1_IOPAD(0x217e, PIN_INPUT | MUX_MODE4)                /* uart1_rts.gpio_149 */
                >;
        };