summaryrefslogtreecommitdiffstats
path: root/target/linux/mvebu/patches-3.8/022-arm_mvebu_enable_sd_card_slot_a370_rd.patch
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2013-01-15 19:55:40 +0000
committerFlorian Fainelli <florian@openwrt.org>2013-01-15 19:55:40 +0000
commitc53a3470347db3b258d2fc83874c5e49b384e54d (patch)
treed9a07561a14f43ee0bcb50837a13c09a42158583 /target/linux/mvebu/patches-3.8/022-arm_mvebu_enable_sd_card_slot_a370_rd.patch
parent58f8c5d87af45f75ae5be795e05b0f442a7e5803 (diff)
downloadmaster-31e0f0ae-c53a3470347db3b258d2fc83874c5e49b384e54d.tar.gz
master-31e0f0ae-c53a3470347db3b258d2fc83874c5e49b384e54d.tar.bz2
master-31e0f0ae-c53a3470347db3b258d2fc83874c5e49b384e54d.zip
mvebu: add support for the Marvell Armada 370 Reference Design board
Keep the patches in sync with the upstream developments. Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 35179
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
+