summaryrefslogtreecommitdiffstats
path: root/target/linux/mvebu/patches-3.8/022-arm_mvebu_enable_sd_card_slot_a370_rd.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/mvebu/patches-3.8/022-arm_mvebu_enable_sd_card_slot_a370_rd.patch')
-rw-r--r--target/linux/mvebu/patches-3.8/022-arm_mvebu_enable_sd_card_slot_a370_rd.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/target/linux/mvebu/patches-3.8/022-arm_mvebu_enable_sd_card_slot_a370_rd.patch b/target/linux/mvebu/patches-3.8/022-arm_mvebu_enable_sd_card_slot_a370_rd.patch
new file mode 100644
index 0000000000..0f7f808ab6
--- /dev/null
+++ b/target/linux/mvebu/patches-3.8/022-arm_mvebu_enable_sd_card_slot_a370_rd.patch
@@ -0,0 +1,32 @@
+From 883b6ab543ea3f893447307c0e757668ca1b5396 Mon Sep 17 00:00:00 2001
+From: Florian Fainelli <florian@openwrt.org>
+Date: Wed, 9 Jan 2013 20:50:04 +0100
+Subject: [PATCH] arm: mvebu: add SDIO support to Armada 370 Reference Design
+
+This patch enables the use of the SDIO controller on the Armada 370
+Reference Design board.
+
+Signed-off-by: Florian Fainelli <florian@openwrt.org>
+---
+ arch/arm/boot/dts/armada-370-rd.dts | 6 ++++++
+ 1 file changed, 6 insertions(+)
+
+diff --git a/arch/arm/boot/dts/armada-370-rd.dts b/arch/arm/boot/dts/armada-370-rd.dts
+index d62dfac..43f68c2 100644
+--- a/arch/arm/boot/dts/armada-370-rd.dts
++++ b/arch/arm/boot/dts/armada-370-rd.dts
+@@ -57,5 +57,11 @@
+ phy = <&phy1>;
+ phy-mode = "rgmii-id";
+ };
++
++ mvsdio@d00d4000 {
++ pinctrl-0 = <&sdio_pins1>;
++ pinctrl-names = "default";
++ status = "okay";
++ };
+ };
+ };
+--
+1.7.10.4
+