Thread (1 message) 1 message, 1 author, 2012-01-30

[PATCH 3/3] ARM: at91: sam9g20 & sam9g45 add spi DT support

From: Grant Likely <hidden>
Date: 2012-01-30 18:58:14
Also in: linux-devicetree

On Mon, Jan 30, 2012 at 04:27:51PM +0100, Jean-Christophe PLAGNIOL-VILLARD wrote:
quoted hunk
at91sam9m10g45ek:
	add dataflash support
usb_a9g20:
	add mmc spi support

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <redacted>
Cc: devicetree-discuss at lists.ozlabs.org
---
diff --git a/arch/arm/boot/dts/usb_a9g20.dts b/arch/arm/boot/dts/usb_a9g20.dts
index e6c7970..1dfb7a9 100644
--- a/arch/arm/boot/dts/usb_a9g20.dts
+++ b/arch/arm/boot/dts/usb_a9g20.dts
@@ -84,6 +84,17 @@
 				status = "okay";
 			};
 
+			spi1: spi at fffcc000 {
+				status = "okay";
+				mmc-slot at 0 {
+					compatible = "mmc-spi-slot";
+					ncs-gpio = <&pioB 3 0>;
+					gpios = <&pioC 4 0   /* CD */
+						>;
Drop the above ncs-gpios line, but otherwise:

Acked-by: Grant Likely <redacted>
+					voltage-ranges = <3200 3400>;
+					spi-max-frequency = <20000000>;
+				};
+			};
 		};
 	};
 };
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help