diff mbox series

[v2] arm: dts: lx2160aqds: Add FSPI node properties

Message ID 1583147359-6446-1-git-send-email-kuldeep.singh@nxp.com
State Accepted
Commit 4c1a52294f23e97c492bddff8987cd7290f6907c
Headers show
Series [v2] arm: dts: lx2160aqds: Add FSPI node properties | expand

Commit Message

Kuldeep Singh March 2, 2020, 11:09 a.m. UTC
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.

Signed-off-by: Kuldeep Singh <kuldeep.singh at nxp.com>
---
v2: Update flash nodes as per compatibles

 arch/arm/dts/fsl-lx2160a-qds.dts | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

Comments

Priyanka Jain (OSS) March 30, 2020, 12:30 p.m. UTC | #1
>-----Original Message-----
>From: U-Boot <u-boot-bounces at lists.denx.de> On Behalf Of Kuldeep Singh
>Sent: Monday, March 2, 2020 4:39 PM
>To: u-boot at lists.denx.de
>Cc: Priyanka Jain <priyanka.jain at nxp.com>; Kuldeep Singh
><kuldeep.singh at nxp.com>
>Subject: [Patch v2] 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.
>
>Signed-off-by: Kuldeep Singh <kuldeep.singh at nxp.com>
>---
Applied to u-boot-fsl-qoriq. Waiting upstream

Thanks
Priyanka
diff mbox series

Patch

diff --git a/arch/arm/dts/fsl-lx2160a-qds.dts b/arch/arm/dts/fsl-lx2160a-qds.dts
index 34df0f5..33bedae 100644
--- a/arch/arm/dts/fsl-lx2160a-qds.dts
+++ b/arch/arm/dts/fsl-lx2160a-qds.dts
@@ -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";
 };