1
0
Fork 0

ARM: dts: socfpga: sodia: enable qspi

Enable the qspi controller on sodia board and add the flash chip
(n25q512a).

Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
hifive-unleashed-5.1
Nobuhiro Iwamatsu 2017-02-10 11:21:33 -06:00 committed by Dinh Nguyen
parent 3486935377
commit b59902805f
1 changed files with 21 additions and 0 deletions

View File

@ -121,3 +121,24 @@
&usb1 {
status = "okay";
};
&qspi {
status = "okay";
flash0: n25q512a@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "n25q512a";
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>;
};
};