diff mbox series

[v3,3/3] arm: dts: lx2160a: Use flexspi in octal I/O mode

Message ID 1584190436-8772-4-git-send-email-kuldeep.singh@nxp.com
State Accepted
Commit bd294e43dc8233a875088bbf4dc89ceb43f5b777
Headers show
Series Enable octal read support for mt35xu* flashes | expand

Commit Message

Kuldeep Singh March 14, 2020, 12:53 p.m. UTC
Configure RX and TX bus-width values to use flexspi in octal I/O mode.
If bus-widths are not specified, then single I/O mode is set by default.

Signed-off-by: Kuldeep Singh <kuldeep.singh at nxp.com>
---
v3: Reword commit message.
v2: No change.

 arch/arm/dts/fsl-lx2160a-qds.dts | 2 ++
 arch/arm/dts/fsl-lx2160a-rdb.dts | 4 ++++
 2 files changed, 6 insertions(+)

Comments

Priyanka Jain (OSS) March 30, 2020, 12:34 p.m. UTC | #1
>-----Original Message-----
>From: U-Boot <u-boot-bounces at lists.denx.de> On Behalf Of Kuldeep Singh
>Sent: Saturday, March 14, 2020 6:24 PM
>To: Priyanka Jain <priyanka.jain at nxp.com>; Jagan Teki
><jagan at amarulasolutions.com>; Vignesh R <vigneshr at ti.com>; u-
>boot at lists.denx.de
>Cc: Kuldeep Singh <kuldeep.singh at nxp.com>
>Subject: [Patch v3 3/3] arm: dts: lx2160a: Use flexspi in octal I/O mode
>
>Configure RX and TX bus-width values to use flexspi in octal I/O mode.
>If bus-widths are not specified, then single I/O mode is set by default.
>
>Signed-off-by: Kuldeep Singh <kuldeep.singh at nxp.com>
>---
2/3, 3/3 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 33bedae..592fd59 100644
--- a/arch/arm/dts/fsl-lx2160a-qds.dts
+++ b/arch/arm/dts/fsl-lx2160a-qds.dts
@@ -58,6 +58,8 @@ 
 		compatible = "jedec,spi-nor";
 		spi-max-frequency = <50000000>;
 		reg = <0>;
+		spi-rx-bus-width = <8>;
+		spi-tx-bus-width = <1>;
 	};
 };
 
diff --git a/arch/arm/dts/fsl-lx2160a-rdb.dts b/arch/arm/dts/fsl-lx2160a-rdb.dts
index e542c69..87617ca 100644
--- a/arch/arm/dts/fsl-lx2160a-rdb.dts
+++ b/arch/arm/dts/fsl-lx2160a-rdb.dts
@@ -39,6 +39,8 @@ 
 		compatible = "jedec,spi-nor";
 		spi-max-frequency = <50000000>;
 		reg = <0>;
+		spi-rx-bus-width = <8>;
+		spi-tx-bus-width = <1>;
 	};
 
 	mt35xu512aba1: flash at 1 {
@@ -47,6 +49,8 @@ 
 		compatible = "jedec,spi-nor";
 		spi-max-frequency = <50000000>;
 		reg = <1>;
+		spi-rx-bus-width = <8>;
+		spi-tx-bus-width = <1>;
 	};
 };