arm: mvebu: enable the SD card slot on Armada XP DB board
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 21 Dec 2012 14:49:07 +0000 (15:49 +0100)
committerArnd Bergmann <arnd@arndb.de>
Thu, 28 Feb 2013 17:57:10 +0000 (18:57 +0100)
The Armada XP DB evaluation board has one SD card slot, directly
connected to the SDIO IP of the SoC, so we enable this
IP. Unfortunately, there are no GPIOs for card-detect and
write-protect.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
arch/arm/boot/dts/armada-xp-db.dts

index 8e53b25b55084ed3b8712156f21d357510be207c..c7035c5d0deeeeb435ee6d5e2dddf7422245299e 100644 (file)
                        phy = <&phy3>;
                        phy-mode = "sgmii";
                };
+
+               mvsdio@d00d4000 {
+                       pinctrl-0 = <&sdio_pins>;
+                       pinctrl-names = "default";
+                       status = "okay";
+                       /* No CD or WP GPIOs */
+               };
        };
 };