summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/r8a7791-henninger.dts
diff options
context:
space:
mode:
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>2014-05-06 00:45:31 +0200
committerSimon Horman <horms+renesas@verge.net.au>2014-05-11 02:25:55 +0200
commitf59838d448356feb4f0ce70785a49045d842c9c3 (patch)
treee8784380dac646b20a72a4af42a413346f9f243a /arch/arm/boot/dts/r8a7791-henninger.dts
parentARM: shmobile: henninger: add SDHI0/2 DT support (diff)
downloadlinux-f59838d448356feb4f0ce70785a49045d842c9c3.tar.xz
linux-f59838d448356feb4f0ce70785a49045d842c9c3.zip
ARM: shmobile: henninger: add QSPI DT support
Define the Henninger board dependent part of the QSPI device node. Add device nodes for Spansion S25FL512S SPI flash and MTD partitions on it. Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm/boot/dts/r8a7791-henninger.dts')
-rw-r--r--arch/arm/boot/dts/r8a7791-henninger.dts38
1 files changed, 38 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/r8a7791-henninger.dts b/arch/arm/boot/dts/r8a7791-henninger.dts
index 2e45c06dd96b..1d715a3a6bb5 100644
--- a/arch/arm/boot/dts/r8a7791-henninger.dts
+++ b/arch/arm/boot/dts/r8a7791-henninger.dts
@@ -109,6 +109,11 @@
renesas,groups = "sdhi2_data4", "sdhi2_ctrl";
renesas,function = "sdhi2";
};
+
+ qspi_pins: spi0 {
+ renesas,groups = "qspi_ctrl", "qspi_data4";
+ renesas,function = "qspi";
+ };
};
&scif0 {
@@ -158,3 +163,36 @@
cd-gpios = <&gpio6 22 GPIO_ACTIVE_LOW>;
status = "okay";
};
+
+&qspi {
+ pinctrl-0 = <&qspi_pins>;
+ pinctrl-names = "default";
+
+ status = "okay";
+
+ flash@0 {
+ #address-cells = <1>;
+ #size-cells = <1>;
+ compatible = "spansion,s25fl512s";
+ reg = <0>;
+ spi-max-frequency = <30000000>;
+ spi-tx-bus-width = <4>;
+ spi-rx-bus-width = <4>;
+ m25p,fast-read;
+
+ partition@0 {
+ label = "loader_prg";
+ reg = <0x00000000 0x00040000>;
+ read-only;
+ };
+ partition@40000 {
+ label = "user_prg";
+ reg = <0x00040000 0x00400000>;
+ read-only;
+ };
+ partition@440000 {
+ label = "flash_fs";
+ reg = <0x00440000 0x03bc0000>;
+ };
+ };
+};