[PATCH 3/5] ARM: at91: dt: usb-a9263: add dataflash support

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Sun May 26 11:33:39 EDT 2013


Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
Cc: Nicolas Ferre <nicolas.ferre at atmel.com>
Cc: gregory hermant <gregory.hermant at calao-systems.com>
---
 arch/arm/boot/dts/usb_a9263.dts |   10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/arch/arm/boot/dts/usb_a9263.dts b/arch/arm/boot/dts/usb_a9263.dts
index e7eb9ae..290e603 100644
--- a/arch/arm/boot/dts/usb_a9263.dts
+++ b/arch/arm/boot/dts/usb_a9263.dts
@@ -47,6 +47,16 @@
 				status = "okay";
 			};
 
+			spi0: spi at fffa4000 {
+				cs-gpios = <&pioB 15 GPIO_ACTIVE_HIGH>;
+				status = "okay";
+				mtd_dataflash at 0 {
+					compatible = "atmel,at45", "atmel,dataflash";
+					reg = <0>;
+					spi-max-frequency = <15000000>;
+				};
+			};
+
 			shdwc at fffffd10 {
 				atmel,wakeup-counter = <10>;
 				atmel,wakeup-rtt-timer;
-- 
1.7.10.4




More information about the linux-arm-kernel mailing list