diff mbox series

[3/3] arm64: dts: frwy-ls1046a: add support for micron nor flash

Message ID 20190527120619.30546-4-pramod.kumar_1@nxp.com (mailing list archive)
State Superseded
Headers show
Series arm64: dts: nxp: add ls1046a frwy board support | expand

Commit Message

Pramod Kumar May 27, 2019, 12:04 p.m. UTC
add micron nor flash support for ls1046a frwy board.

Signed-off-by: Ashish Kumar <ashish.kumar@nxp.com>
Signed-off-by: Pramod Kumar <pramod.kumar_1@nxp.com>
---
 .../boot/dts/freescale/fsl-ls1046a-frwy.dts    | 18 +++++++++++++++++-
 1 file changed, 17 insertions(+), 1 deletion(-)
diff mbox series

Patch

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 {