aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2013-02-01 11:38:28 +0100
committerArnd Bergmann <arnd@arndb.de>2013-02-28 18:57:16 +0100
commit564991205956d869db0e45dfabe23a31b596fa15 (patch)
treec09a6df7c81d4992a22a61c4978e0ab11a1dcfb5
parentARM: kirkwood: topkick: init mvsdio via DT (diff)
downloadlinux-dev-564991205956d869db0e45dfabe23a31b596fa15.tar.xz
linux-dev-564991205956d869db0e45dfabe23a31b596fa15.zip
arm: mvebu: enable the SD card slot on Armada 370 Reference Design board
The Armada 370 Reference Design board has one SD card slot, directly connected to the SDIO IP of the SoC, so we enable this IP. there are no GPIOs for card-detect and write-protect so we do not specify any. Signed-off-by: Florian Fainelli <florian@openwrt.org> Signed-off-by: Jason Cooper <jason@lakedaemon.net>
-rw-r--r--arch/arm/boot/dts/armada-370-rd.dts7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/armada-370-rd.dts b/arch/arm/boot/dts/armada-370-rd.dts
index d62dfac61924..f8e4855bc9a5 100644
--- a/arch/arm/boot/dts/armada-370-rd.dts
+++ b/arch/arm/boot/dts/armada-370-rd.dts
@@ -57,5 +57,12 @@
phy = <&phy1>;
phy-mode = "rgmii-id";
};
+
+ mvsdio@d00d4000 {
+ pinctrl-0 = <&sdio_pins1>;
+ pinctrl-names = "default";
+ status = "okay";
+ /* No CD or WP GPIOs */
+ };
};
};