add micron nor flash support for ls1046a frwy board.
Signed-off-by: Ashish Kumar <[email protected]>
Signed-off-by: Pramod Kumar <[email protected]>
---
.../boot/dts/freescale/fsl-ls1046a-frwy.dts | 18 +++++++++++++++++-
1 file changed, 17 insertions(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1046a-frwy.dts b/arch/arm64/boot/dts/freescale/fsl-ls1046a-frwy.dts
index cda49988d8b8..0f626c986a9a 100644
--- a/arch/arm64/boot/dts/freescale/fsl-ls1046a-frwy.dts
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a-frwy.dts
@@ -2,7 +2,7 @@
/*
* Device Tree Include file for Freescale Layerscape-1046A family SoC.
*
- * Copyright 2019 NXP.
+ * Copyright 2019 NXP
*
*/
@@ -113,6 +113,22 @@
};
+&qspi {
+ num-cs = <1>;
+ bus-num = <0>;
+ status = "okay";
+
+ qflash0: 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>;
+ };
+};
+
#include "fsl-ls1046-post.dtsi"
&fman0 {
--
2.17.1