arm: dts: ls1021atwr: Add QSPI node properties
authorKuldeep Singh <kuldeep.singh@nxp.com>
Mon, 30 Mar 2020 11:16:31 +0000 (16:46 +0530)
committerShawn Guo <shawnguo@kernel.org>
Sat, 25 Apr 2020 01:16:28 +0000 (09:16 +0800)
LS1021A-TWR has one micron "n25q128a13" flash of size 16M.
Add QSPI node properties for it.

Signed-off-by: Kuldeep Singh <kuldeep.singh@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/ls1021a-twr.dts

index 9b1fe99..5edf001 100644 (file)
         status = "okay";
 };
 
+&qspi {
+       status = "okay";
+
+       n25q128a130: flash@0 {
+               compatible = "jedec,spi-nor";
+               #address-cells = <1>;
+               #size-cells = <1>;
+               spi-max-frequency = <50000000>;
+               reg = <0>;
+               spi-rx-bus-width = <4>;
+               spi-tx-bus-width = <4>;
+       };
+};
+
 &sai1 {
        status = "okay";
 };