[PATCH 23/23] sam9x5ek DTS: enable SPI dataflash
Richard Genoud
richard.genoud at gmail.com
Tue Aug 14 09:49:37 EDT 2012
Signed-off-by: Richard Genoud <richard.genoud at gmail.com>
---
arch/arm/boot/dts/at91sam9x5ek.dtsi | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/arch/arm/boot/dts/at91sam9x5ek.dtsi b/arch/arm/boot/dts/at91sam9x5ek.dtsi
index e5000a7..c99f1cc 100644
--- a/arch/arm/boot/dts/at91sam9x5ek.dtsi
+++ b/arch/arm/boot/dts/at91sam9x5ek.dtsi
@@ -30,6 +30,16 @@
phy-mode = "rmii";
status = "okay";
};
+
+ spi0: spi at f0000000 {
+ status = "okay";
+ cs-gpios = <&pioA 14 0>;
+ m25p80 at 0 {
+ compatible = "atmel,at25df321a";
+ spi-max-frequency = <50000000>;
+ reg = <0>;
+ };
+ };
};
usb0: ohci at 00600000 {
--
1.7.2.5
More information about the linux-arm-kernel
mailing list