Flash mt35xu512aba connected to FlexSPI controller supports
1-1-8 protocol.
Added flag spi-rx-bus-width and spi-tx-bus-width with values as
8 and 1 respectively for both flashes connected at CS0 and CS1.

Signed-off-by: Yogesh Gaur <yogeshnarayan.g...@nxp.com>
---
 arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts 
b/arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts
index 901ca346..817175a 100644
--- a/arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts
+++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts
@@ -42,6 +42,8 @@
                m25p,fast-read;
                spi-max-frequency = <20000000>;
                reg = <0>;
+               spi-rx-bus-width = <8>;
+               spi-tx-bus-width = <1>;
        };
 
        mt35xu512aba1: flash@1 {
@@ -51,6 +53,8 @@
                m25p,fast-read;
                spi-max-frequency = <20000000>;
                reg = <1>;
+               spi-rx-bus-width = <8>;
+               spi-tx-bus-width = <1>;
        };
 };
 
-- 
2.7.4

Reply via email to