summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/imx6-logicpd-baseboard.dtsi
diff options
context:
space:
mode:
authorFabio Estevam <festevam@gmail.com>2020-09-13 19:29:13 +0300
committerShawn Guo <shawnguo@kernel.org>2020-09-22 05:13:41 +0300
commit55df2079eb6faa048a0d65306556e6d7423a5029 (patch)
tree1849651e3e955c165d0facb294cd12c3a4923fff /arch/arm/boot/dts/imx6-logicpd-baseboard.dtsi
parentdd1d4def682048cae8aafad0453c1e65e6596183 (diff)
downloadlinux-55df2079eb6faa048a0d65306556e6d7423a5029.tar.xz
ARM: dts: imx6q-logicpd: Use GPIO chipselect
Using the native SPI chipselect on i.MX6 is known to be problematic. Doing it on a imx6q-sabresd causes the SPI NOR probe to fail: [ 5.388704] spi-nor spi0.0: unrecognized JEDEC id bytes: 00 00 00 00 00 00 Use the GPIO chipselect to avoid such problem. Signed-off-by: Fabio Estevam <festevam@gmail.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm/boot/dts/imx6-logicpd-baseboard.dtsi')
-rw-r--r--arch/arm/boot/dts/imx6-logicpd-baseboard.dtsi3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/imx6-logicpd-baseboard.dtsi b/arch/arm/boot/dts/imx6-logicpd-baseboard.dtsi
index 9e027b9a5f91..665d63765cdc 100644
--- a/arch/arm/boot/dts/imx6-logicpd-baseboard.dtsi
+++ b/arch/arm/boot/dts/imx6-logicpd-baseboard.dtsi
@@ -212,6 +212,7 @@
&ecspi1 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_ecspi1>;
+ cs-gpios = <&gpio4 9 GPIO_ACTIVE_LOW>;
status = "disabled";
};
@@ -383,7 +384,7 @@
MX6QDL_PAD_KEY_COL0__ECSPI1_SCLK 0x100b1
MX6QDL_PAD_KEY_ROW0__ECSPI1_MOSI 0x100b1
MX6QDL_PAD_KEY_COL1__ECSPI1_MISO 0x100b1
- MX6QDL_PAD_KEY_ROW1__ECSPI1_SS0 0x100b1
+ MX6QDL_PAD_KEY_ROW1__GPIO4_IO09 0x1b0b0
>;
};