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>
This commit is contained in:
Steffen Trumtrar 2016-10-18 07:43:03 +00:00 committed by Dinh Nguyen
parent c6deff00b9
commit c96f5919e6

View File

@ -80,3 +80,22 @@
&mmc { &mmc {
status = "okay"; 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";
};
};