summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/freescale/imx8mq-evk.dts
diff options
context:
space:
mode:
authorHaibo Chen <haibo.chen@nxp.com>2021-08-20 12:29:50 +0300
committerShawn Guo <shawnguo@kernel.org>2021-10-04 06:25:31 +0300
commit04aa946d57b20c40e541fb4ba2bcb390a22f404c (patch)
tree544d4bfe8b1c65a3847254a17617b18f4f6e2c81 /arch/arm64/boot/dts/freescale/imx8mq-evk.dts
parentb2a4f4a302b83976ad0d2930abe0f38e6119a144 (diff)
downloadlinux-04aa946d57b20c40e541fb4ba2bcb390a22f404c.tar.xz
arm64: dts: imx8: change the spi-nor tx
Before commit 0e30f47232ab5 ("mtd: spi-nor: add support for DTR protocol"), for all PP command, it only support 1-1-1 mode, no matter the tx setting in dts. But after the upper commit, the logic change. It will choose the best mode(fastest mode) which flash device and spi-nor host controller both support. qspi and fspi host controller do not support read 1-4-4 mode. so need to set the tx to 1, let the common code finally select read 1-1-4 mode. Signed-off-by: Haibo Chen <haibo.chen@nxp.com> Fixes: 0e30f47232ab ("mtd: spi-nor: add support for DTR protocol") Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm64/boot/dts/freescale/imx8mq-evk.dts')
-rw-r--r--arch/arm64/boot/dts/freescale/imx8mq-evk.dts2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/freescale/imx8mq-evk.dts b/arch/arm64/boot/dts/freescale/imx8mq-evk.dts
index 49f9db971f3b..b83df77195ec 100644
--- a/arch/arm64/boot/dts/freescale/imx8mq-evk.dts
+++ b/arch/arm64/boot/dts/freescale/imx8mq-evk.dts
@@ -337,6 +337,8 @@
#size-cells = <1>;
compatible = "micron,n25q256a", "jedec,spi-nor";
spi-max-frequency = <29000000>;
+ spi-tx-bus-width = <1>;
+ spi-rx-bus-width = <4>;
};
};