summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/socfpga_cyclone5_socrates.dts
diff options
context:
space:
mode:
authorSteffen Trumtrar <s.trumtrar@pengutronix.de>2016-10-18 07:43:03 +0000
committerDinh Nguyen <dinguyen@opensource.altera.com>2016-10-18 22:18:14 -0500
commitc96f5919e6b0d132aa9afe9f1adc872fc107d5bb (patch)
tree71b2f8dddcdc7d017e7282c6edaac5bbc9d8e41c /arch/arm/boot/dts/socfpga_cyclone5_socrates.dts
parentc6deff00b90496d5453d471277a8b469dc3e150d (diff)
ARM: dts: socfpga: socrates: enable qspi
Enable the qspi controller on the socrates and add the flash chip. Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de> Signed-off-by: Dinh Nguyen <dinguyen@opensource.altera.com>
Diffstat (limited to 'arch/arm/boot/dts/socfpga_cyclone5_socrates.dts')
-rw-r--r--arch/arm/boot/dts/socfpga_cyclone5_socrates.dts19
1 files changed, 19 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/socfpga_cyclone5_socrates.dts b/arch/arm/boot/dts/socfpga_cyclone5_socrates.dts
index d79853775061..c3d52f27b21e 100644
--- a/arch/arm/boot/dts/socfpga_cyclone5_socrates.dts
+++ b/arch/arm/boot/dts/socfpga_cyclone5_socrates.dts
@@ -80,3 +80,22 @@
&mmc {
status = "okay";
};
+
+&qspi {
+ status = "okay";
+
+ flash: flash@0 {
+ #address-cells = <1>;
+ #size-cells = <1>;
+ compatible = "n25q256a";
+ reg = <0>;
+ spi-max-frequency = <100000000>;
+ m25p,fast-read;
+ cdns,read-delay = <4>;
+ cdns,tshsl-ns = <50>;
+ cdns,tsd2d-ns = <50>;
+ cdns,tchsh-ns = <4>;
+ cdns,tslch-ns = <4>;
+ status = "okay";
+ };
+};