diff mbox

[3/3] ARM: at91: usb-a9g20: dt: add mmc-spi support

Message ID 1353696332-12741-3-git-send-email-plagnioj@jcrosoft.com (mailing list archive)
State New, archived
Headers show

Commit Message

Jean-Christophe PLAGNIOL-VILLARD Nov. 23, 2012, 6:45 p.m. UTC
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
---
 arch/arm/boot/dts/usb_a9g20.dts |   16 ++++++++++++++++
 1 file changed, 16 insertions(+)
diff mbox

Patch

diff --git a/arch/arm/boot/dts/usb_a9g20.dts b/arch/arm/boot/dts/usb_a9g20.dts
index 2dacb16c..503f604 100644
--- a/arch/arm/boot/dts/usb_a9g20.dts
+++ b/arch/arm/boot/dts/usb_a9g20.dts
@@ -21,6 +21,22 @@ 
 		reg = <0x20000000 0x4000000>;
 	};
 
+	ahb {
+		apb {
+			spi1: spi@fffcc000 {
+				cs-gpios = <&pioB 3 0>;
+				status = "okay";
+
+				mmc-slot@0 {
+					compatible = "mmc-spi-slot";
+					reg = <0>;
+					gpios = <&pioC 4 0>;	/* CD */
+					spi-max-frequency = <25000000>;
+				};
+			};
+		};
+	};
+
 	i2c@0 {
 		rv3029c2@56 {
 			compatible = "rv3029c2";