ARM: dts: am335x-evmsk: Fix mmc1 support
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Mon, 23 Dec 2013 09:28:35 +0000 (11:28 +0200)
committerTony Lindgren <tony@atomide.com>
Thu, 13 Feb 2014 22:45:54 +0000 (14:45 -0800)
Add pinctrl section and cd-gpio to mmc1. Without these the SD card is not
working on EVM-SK board.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/am335x-evmsk.dts

index 50abe53f68870adadc3fa67e3763a0604df1c1de..486880b7483134c88f8638a6e7fb4cc98518e7e3 100644 (file)
                >;
        };
 
+       mmc1_pins: pinmux_mmc1_pins {
+               pinctrl-single,pins = <
+                       0x160 (PIN_INPUT | MUX_MODE7) /* spi0_cs1.gpio0_6 */
+               >;
+       };
+
        mcasp1_pins: mcasp1_pins {
                pinctrl-single,pins = <
                        0x10c (PIN_INPUT_PULLDOWN | MUX_MODE4) /* mii1_crs.mcasp1_aclkx */
        status = "okay";
        vmmc-supply = <&vmmc_reg>;
        bus-width = <4>;
+       pinctrl-names = "default";
+       pinctrl-0 = <&mmc1_pins>;
+       cd-gpios = <&gpio0 6 GPIO_ACTIVE_HIGH>;
 };
 
 &sham {