ARM: dts: am335x-evm: add SD card hotplug support
authorBalaji T K <balajitk@ti.com>
Mon, 3 Mar 2014 14:50:19 +0000 (20:20 +0530)
committerTony Lindgren <tony@atomide.com>
Wed, 5 Mar 2014 19:53:36 +0000 (11:53 -0800)
Add card detect gpio for SD card slot

Signed-off-by: Balaji T K <balajitk@ti.com>
Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/am335x-evm.dts

index 07d61bb8d481bec0f9b78f5796a7ea2c44b7546e..28ae040e7c3d90b9094afc8c6543cf4749ffe5b0 100644 (file)
                >;
        };
 
+       mmc1_pins: pinmux_mmc1_pins {
+               pinctrl-single,pins = <
+                       0x160 (PIN_INPUT | MUX_MODE7) /* spi0_cs1.gpio0_6 */
+               >;
+       };
+
        lcd_pins_s0: lcd_pins_s0 {
                pinctrl-single,pins = <
                        0x20 0x01       /* gpmc_ad8.lcd_data16, OUTPUT | MODE1 */
        status = "okay";
        vmmc-supply = <&vmmc_reg>;
        bus-width = <4>;
+       pinctrl-names = "default";
+       pinctrl-0 = <&mmc1_pins>;
+       cd-gpios = <&gpio0 6 GPIO_ACTIVE_HIGH>;
 };
 
 &sham {