ARM: dts: socfpga: Enable QSPI on the Cyclone5 sockit

Enable the QSPI node and add the flash chip.

Signed-off-by: Dinh Nguyen <dinguyen@opensource.altera.com>
---
v3: Use n25q00 for the compatible entry for the flash part and
    tested on SoCKit
v2: Remove partition entries for the SoCKIT
This commit is contained in:
Dinh Nguyen 2016-10-19 14:55:54 -05:00 committed by Dinh Nguyen
parent 1df99da895
commit 466e90ca21
1 changed files with 21 additions and 0 deletions

View File

@ -175,6 +175,27 @@ &mmc0 {
status = "okay";
};
&qspi {
status = "okay";
flash: flash@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "n25q00";
reg = <0>;
spi-max-frequency = <100000000>;
m25p,fast-read;
cdns,page-size = <256>;
cdns,block-size = <16>;
cdns,read-delay = <4>;
cdns,tshsl-ns = <50>;
cdns,tsd2d-ns = <50>;
cdns,tchsh-ns = <4>;
cdns,tslch-ns = <4>;
};
};
&usb1 {
status = "okay";
};