diff mbox

arm: mvebu: enable the SD card slot on Armada 370 Reference Design board

Message ID 1359715108-13982-1-git-send-email-florian@openwrt.org (mailing list archive)
State New, archived
Headers show

Commit Message

Florian Fainelli Feb. 1, 2013, 10:38 a.m. UTC
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>
---
Jason,

This is against your mvebu/dt branch

 arch/arm/boot/dts/armada-370-rd.dts |    7 +++++++
 1 file changed, 7 insertions(+)

Comments

Jason Cooper Feb. 16, 2013, 4:29 p.m. UTC | #1
On Fri, Feb 01, 2013 at 11:38:28AM +0100, Florian Fainelli wrote:
> 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>
> ---
> Jason,
> 
> This is against your mvebu/dt branch
> 
>  arch/arm/boot/dts/armada-370-rd.dts |    7 +++++++
>  1 file changed, 7 insertions(+)

Applied to mvebu/dt

thx,

Jason.
diff mbox

Patch

diff --git a/arch/arm/boot/dts/armada-370-rd.dts b/arch/arm/boot/dts/armada-370-rd.dts
index d62dfac..f8e4855 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 */
+		};
 	};
 };