Skip to contentSkip to conversation

arm: dts: lx2160aqds: Add FSPI node properties

PATCH New Kuldeep Singh 2 participants 2 messages Mar 2, 2020 – Mar 30, 2020 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 arm: dts: lx2160aqds: Add FSPI node properties

lx2160a-qds has 2 micron "mt35xu512aba" flashes of size 64M each connected on A0 and B1 i.e on CS0 and CS3. Since flashes are connected on different buses, only one flash can be probed at a time.

Add fspi node properties aligned with LX2160A-RDB fspi properties.

---
v2: Update flash nodes as per compatibles

 arch/arm/dts/fsl-lx2160a-qds.dts | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
arch/arm/dts/fsl-lx2160a-qds.dts +15 -0
index 34df0f5..33bedae 100644
@@ -13,6 +13,9 @@
 / {
 	model = "NXP Layerscape LX2160AQDS Board";
 	compatible = "fsl,lx2160aqds", "fsl,lx2160a";
+	aliases {
+		spi0 = &fspi;
+	};
 };
 
 &esdhc0 {
@@ -46,6 +49,18 @@
 	};
 };
 
+&fspi {
+	status = "okay";
+
+	mt35xu512aba0: flash at 0 {
+		#address-cells = <1>;
+		#size-cells = <1>;
+		compatible = "jedec,spi-nor";
+		spi-max-frequency = <50000000>;
+		reg = <0>;
+	};
+};
+
 &sata0 {
 	status = "okay";
 };
Signature · 1 line
2.7.4
#1 lore raw

PATCH v2 1/1 arm: dts: lx2160aqds: Add FSPI node properties

Quoted 8 lines

-----Original Message-----
From: U-Boot <[email protected]> On Behalf Of Kuldeep Singh
Sent: Monday, March 2, 2020 4:39 PM
To: u-boot at lists.denx.de
Cc: Priyanka Jain <[email protected]>; Kuldeep Singh <[email protected]>
Subject: [Patch v2] arm: dts: lx2160aqds: Add FSPI node properties

Quoted 8 lines

lx2160a-qds has 2 micron "mt35xu512aba" flashes of size 64M each connected on A0 and B1 i.e on CS0 and CS3. Since flashes are connected on different buses, only one flash can be probed at a time.

Add fspi node properties aligned with LX2160A-RDB fspi properties.

---

Applied to u-boot-fsl-qoriq. Waiting upstream

Thanks
Priyanka