diff mbox series

arm: dts: lx2160aqds: Enable FSPI node properties

Message ID 1581401016-19900-1-git-send-email-kuldeep.singh@nxp.com
State New
Headers show
Series arm: dts: lx2160aqds: Enable FSPI node properties | expand

Commit Message

Kuldeep Singh Feb. 11, 2020, 6:03 a.m. UTC
Align flexspi node properties with linux device-tree properties.

Signed-off-by: Kuldeep Singh <kuldeep.singh at nxp.com>
---
 arch/arm/dts/fsl-lx2160a-qds.dts | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
diff mbox series

Patch

diff --git a/arch/arm/dts/fsl-lx2160a-qds.dts b/arch/arm/dts/fsl-lx2160a-qds.dts
index 34df0f5..cffefae 100644
--- a/arch/arm/dts/fsl-lx2160a-qds.dts
+++ b/arch/arm/dts/fsl-lx2160a-qds.dts
@@ -13,6 +13,10 @@ 
 / {
 	model = "NXP Layerscape LX2160AQDS Board";
 	compatible = "fsl,lx2160aqds", "fsl,lx2160a";
+
+	aliases {
+		spi0 = &fspi;
+	};
 };
 
 &esdhc0 {
@@ -23,6 +27,26 @@ 
 	status = "okay";
 };
 
+&fspi {
+	status = "okay";
+
+	mt35xu512aba0: flash at 0 {
+		#address-cells = <1>;
+		#size-cells = <1>;
+		compatible = "jedec,spi-nor";
+		spi-max-frequency = <50000000>;
+		reg = <0>;
+	};
+
+	mt35xu512aba1: flash at 1 {
+		#address-cells = <1>;
+		#size-cells = <1>;
+		compatible = "jedec,spi-nor";
+		spi-max-frequency = <50000000>;
+		reg = <1>;
+	};
+};
+
 &i2c0 {
 	status = "okay";
 	u-boot,dm-pre-reloc;