[PATCH] arm: dts: lx2160aqds: Enable FSPI node properties

Kuldeep Singh kuldeep.singh at nxp.com
Tue Feb 11 07:03:36 CET 2020


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 --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;
-- 
2.7.4



More information about the U-Boot mailing list