ARM: dts: socfpga: Enable QSPI support on VINING FPGA
authorMarek Vasut <marex@denx.de>
Tue, 9 May 2017 13:58:50 +0000 (08:58 -0500)
committerDinh Nguyen <dinguyen@kernel.org>
Fri, 23 Jun 2017 14:29:09 +0000 (09:29 -0500)
Enable the QSPI node and add the flash chips.

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
arch/arm/boot/dts/socfpga_cyclone5_vining_fpga.dts

index 89319804939718632e0f7f890c5e51d0b9298525..cb4bdbcf54eef4defc856ca85d4b10e2661e7075 100644 (file)
        };
 };
 
+&qspi {
+       status = "okay";
+
+       n25q128@0 {
+               #address-cells = <1>;
+               #size-cells = <1>;
+               compatible = "n25q128";
+               reg = <0>;              /* chip select */
+               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>;
+       };
+
+       n25q00@1 {
+               #address-cells = <1>;
+               #size-cells = <1>;
+               compatible = "n25q00";
+               reg = <1>;              /* chip select */
+               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>;
+       };
+};
+
 &usb0 {
        dr_mode = "host";
        status = "okay";