[PATCH] arm: dts: ls1021atwr: Add QSPI node properties

From: Kuldeep Singh
Date: Mon Mar 30 2020 - 07:17:19 EST


LS1021A-TWR has one micron "n25q128a13" flash of size 16M.
Add QSPI node properties for it.

Signed-off-by: Kuldeep Singh <kuldeep.singh@xxxxxxx>
---
arch/arm/boot/dts/ls1021a-twr.dts | 14 ++++++++++++++
1 file changed, 14 insertions(+)

diff --git a/arch/arm/boot/dts/ls1021a-twr.dts b/arch/arm/boot/dts/ls1021a-twr.dts
index 9b1fe99..5edf001 100644
--- a/arch/arm/boot/dts/ls1021a-twr.dts
+++ b/arch/arm/boot/dts/ls1021a-twr.dts
@@ -242,6 +242,20 @@
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";
};
--
2.7.4