summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKuldeep Singh <kuldeep.singh@nxp.com>2020-03-30 14:16:31 +0300
committerShawn Guo <shawnguo@kernel.org>2020-04-25 04:16:28 +0300
commit592a8191f05805bc10aa875509bec64d565df931 (patch)
treecbc7e9b8a4cbff6bf239a153b3fe3f9a900cd18e
parente0d8d4eaccc29959f20de8bef9f1bcce4e952dfc (diff)
downloadlinux-592a8191f05805bc10aa875509bec64d565df931.tar.xz
arm: dts: ls1021atwr: Add QSPI node properties
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>
-rw-r--r--arch/arm/boot/dts/ls1021a-twr.dts14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/ls1021a-twr.dts b/arch/arm/boot/dts/ls1021a-twr.dts
index 9b1fe99d55b1..5edf001f6138 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";
};