Skip to content

Commit dc90043

Browse files
jhovoldShawn Guo
authored andcommitted
arm64: dts: imx8mm-venice: fix spi2 pin configuration
Due to what looks like a copy-paste error, the ECSPI2_MISO pad is not muxed for SPI mode and causes reads from a slave-device connected to the SPI header to always return zero. Configure the ECSPI2_MISO pad for SPI mode on the gw71xx, gw72xx and gw73xx families of boards that got this wrong. Fixes: 6f30b27 ("arm64: dts: imx8mm: Add Gateworks i.MX 8M Mini Development Kits") Cc: stable@vger.kernel.org # 5.12 Cc: Tim Harvey <tharvey@gateworks.com> Signed-off-by: Johan Hovold <johan@kernel.org> Acked-by: Tim Harvey <tharvey@gateworks.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
1 parent 9b6d368 commit dc90043

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

arch/arm64/boot/dts/freescale/imx8mm-venice-gw71xx.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@
215215
fsl,pins = <
216216
MX8MM_IOMUXC_ECSPI2_SCLK_ECSPI2_SCLK 0xd6
217217
MX8MM_IOMUXC_ECSPI2_MOSI_ECSPI2_MOSI 0xd6
218-
MX8MM_IOMUXC_ECSPI2_SCLK_ECSPI2_SCLK 0xd6
218+
MX8MM_IOMUXC_ECSPI2_MISO_ECSPI2_MISO 0xd6
219219
MX8MM_IOMUXC_ECSPI2_SS0_GPIO5_IO13 0xd6
220220
>;
221221
};

arch/arm64/boot/dts/freescale/imx8mm-venice-gw72xx.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@
309309
fsl,pins = <
310310
MX8MM_IOMUXC_ECSPI2_SCLK_ECSPI2_SCLK 0xd6
311311
MX8MM_IOMUXC_ECSPI2_MOSI_ECSPI2_MOSI 0xd6
312-
MX8MM_IOMUXC_ECSPI2_SCLK_ECSPI2_SCLK 0xd6
312+
MX8MM_IOMUXC_ECSPI2_MISO_ECSPI2_MISO 0xd6
313313
MX8MM_IOMUXC_ECSPI2_SS0_GPIO5_IO13 0xd6
314314
>;
315315
};

arch/arm64/boot/dts/freescale/imx8mm-venice-gw73xx.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@
358358
fsl,pins = <
359359
MX8MM_IOMUXC_ECSPI2_SCLK_ECSPI2_SCLK 0xd6
360360
MX8MM_IOMUXC_ECSPI2_MOSI_ECSPI2_MOSI 0xd6
361-
MX8MM_IOMUXC_ECSPI2_SCLK_ECSPI2_SCLK 0xd6
361+
MX8MM_IOMUXC_ECSPI2_MISO_ECSPI2_MISO 0xd6
362362
MX8MM_IOMUXC_ECSPI2_SS0_GPIO5_IO13 0xd6
363363
>;
364364
};

0 commit comments

Comments
 (0)