summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@linux-m68k.org>2014-03-14 14:06:41 +0400
committerSimon Horman <horms+renesas@verge.net.au>2014-04-14 06:31:14 +0400
commit6d879a097acaeaa9deba6d4949b466886b18652e (patch)
tree9079b8595cfe72267938f731e0ce6cce25ccda41
parent7709c33b391e217d73b38853a7914a3a3e285cbc (diff)
downloadlinux-6d879a097acaeaa9deba6d4949b466886b18652e.tar.xz
ARM: shmobile: bockw reference dts: Add SPI FLASH
Add Spansion s25fl008k SPI FLASH and MTD partition, based on bockw legacy board code. Signed-off-by: Geert Uytterhoeven <geert+renesas@linux-m68k.org> Tested-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
-rw-r--r--arch/arm/boot/dts/r8a7778-bockw-reference.dts14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/r8a7778-bockw-reference.dts b/arch/arm/boot/dts/r8a7778-bockw-reference.dts
index 06cda19dac6a..f76f6ec01e19 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@0 {
+ #address-cells = <1>;
+ #size-cells = <1>;
+ compatible = "spansion,s25fl008k";
+ reg = <0>;
+ spi-max-frequency = <104000000>;
+ m25p,fast-read;
+
+ partition@0 {
+ label = "data(spi)";
+ reg = <0x00000000 0x00100000>;
+ };
+ };
};