aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@linux-m68k.org>2014-02-04 10:24:04 -0500
committerSimon Horman <horms+renesas@verge.net.au>2014-02-06 06:36:12 -0500
commite02ee513eed4bb780848a5cedbd4b39afb395d3e (patch)
tree15cb9e7cab13b7578a727eb12ff85945f276f1cf
parent4d5b59cde5b900a1f4a3a07a7a7b709dac1938f9 (diff)
ARM: shmobile: koelsch dts: Add QSPI nodes
Add pinctrl and SPI devices for QSPI on Koelsch. Add Spansion s25fl512s SPI FLASH and MTD partitions. Signed-off-by: Geert Uytterhoeven <geert+renesas@linux-m68k.org> Acked-by: Magnus Damm <damm@opensource.se> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
-rw-r--r--arch/arm/boot/dts/r8a7791-koelsch.dts36
1 files changed, 36 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/r8a7791-koelsch.dts b/arch/arm/boot/dts/r8a7791-koelsch.dts
index 74f098596b5c..d4b9bba38685 100644
--- a/arch/arm/boot/dts/r8a7791-koelsch.dts
+++ b/arch/arm/boot/dts/r8a7791-koelsch.dts
@@ -121,8 +121,44 @@
121 renesas,groups = "scif1_data_d"; 121 renesas,groups = "scif1_data_d";
122 renesas,function = "scif1"; 122 renesas,function = "scif1";
123 }; 123 };
124
125 qspi_pins: spi {
126 renesas,groups = "qspi_ctrl", "qspi_data4";
127 renesas,function = "qspi";
128 };
124}; 129};
125 130
126&sata0 { 131&sata0 {
127 status = "okay"; 132 status = "okay";
128}; 133};
134
135&spi {
136 pinctrl-0 = <&qspi_pins>;
137 pinctrl-names = "default";
138
139 status = "okay";
140
141 flash: flash@0 {
142 #address-cells = <1>;
143 #size-cells = <1>;
144 compatible = "spansion,s25fl512s";
145 reg = <0>;
146 spi-max-frequency = <30000000>;
147 m25p,fast-read;
148
149 partition@0 {
150 label = "loader";
151 reg = <0x00000000 0x00080000>;
152 read-only;
153 };
154 partition@80000 {
155 label = "bootenv";
156 reg = <0x00080000 0x00080000>;
157 read-only;
158 };
159 partition@100000 {
160 label = "data";
161 reg = <0x00100000 0x03f00000>;
162 };
163 };
164};