[PATCH 10/33] ARM: shmobile: bockw reference dts: Add SPI FLASH
Simon Horman
horms+renesas at verge.net.au
Tue Apr 22 18:25:38 PDT 2014
From: Geert Uytterhoeven <geert+renesas at linux-m68k.org>
Add Spansion s25fl008k SPI FLASH and MTD partition, based on bockw legacy
board code.
Signed-off-by: Geert Uytterhoeven <geert+renesas at linux-m68k.org>
Tested-by: Kuninori Morimoto <kuninori.morimoto.gx at renesas.com>
Signed-off-by: Simon Horman <horms+renesas at verge.net.au>
---
arch/arm/boot/dts/r8a7778-bockw-reference.dts | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/arch/arm/boot/dts/r8a7778-bockw-reference.dts b/arch/arm/boot/dts/r8a7778-bockw-reference.dts
index 06cda19..f76f6ec 100644
--- a/arch/arm/boot/dts/r8a7778-bockw-reference.dts
+++ b/arch/arm/boot/dts/r8a7778-bockw-reference.dts
@@ -109,4 +109,18 @@
pinctrl-0 = <&hspi0_pins>;
pinctrl-names = "default";
status = "okay";
+
+ flash: flash at 0 {
+ #address-cells = <1>;
+ #size-cells = <1>;
+ compatible = "spansion,s25fl008k";
+ reg = <0>;
+ spi-max-frequency = <104000000>;
+ m25p,fast-read;
+
+ partition at 0 {
+ label = "data(spi)";
+ reg = <0x00000000 0x00100000>;
+ };
+ };
};
--
1.8.5.2
More information about the linux-arm-kernel
mailing list