diff mbox series

arm64: dts: imx8mm-beacon: Fix ecspi2 pinmux

Message ID 20221202191037.167718-1-aford173@gmail.com
State Accepted
Commit 5225ba9db112ec4ed67da5e4d8b72e618573955e
Headers show
Series arm64: dts: imx8mm-beacon: Fix ecspi2 pinmux | expand

Commit Message

Adam Ford Dec. 2, 2022, 7:10 p.m. UTC
Early hardware did not support hardware handshaking on the UART, but
final production hardware did.  When the hardware was updated the chip
select was changed to facilitate hardware handshaking on UART3.  Fix the
ecspi2 pin mux to eliminate a pin conflict with UART3 and allow the
EEPROM to operate again.

Fixes: 4ce01ce36d77 ("arm64: dts: imx8mm-beacon: Enable RTS-CTS on UART3")
Signed-off-by: Adam Ford <aford173@gmail.com>

Comments

Shawn Guo Dec. 31, 2022, 12:44 p.m. UTC | #1
On Fri, Dec 02, 2022 at 01:10:37PM -0600, Adam Ford wrote:
> Early hardware did not support hardware handshaking on the UART, but
> final production hardware did.  When the hardware was updated the chip
> select was changed to facilitate hardware handshaking on UART3.  Fix the
> ecspi2 pin mux to eliminate a pin conflict with UART3 and allow the
> EEPROM to operate again.
> 
> Fixes: 4ce01ce36d77 ("arm64: dts: imx8mm-beacon: Enable RTS-CTS on UART3")
> Signed-off-by: Adam Ford <aford173@gmail.com>

Applied, thanks!
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/freescale/imx8mm-beacon-baseboard.dtsi b/arch/arm64/boot/dts/freescale/imx8mm-beacon-baseboard.dtsi
index 03266bd90a06..169f047fbca5 100644
--- a/arch/arm64/boot/dts/freescale/imx8mm-beacon-baseboard.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mm-beacon-baseboard.dtsi
@@ -120,7 +120,7 @@  &csi {
 &ecspi2 {
 	pinctrl-names = "default";
 	pinctrl-0 = <&pinctrl_espi2>;
-	cs-gpios = <&gpio5 9 GPIO_ACTIVE_LOW>;
+	cs-gpios = <&gpio5 13 GPIO_ACTIVE_LOW>;
 	status = "okay";
 
 	eeprom@0 {
@@ -316,7 +316,7 @@  pinctrl_espi2: espi2grp {
 			MX8MM_IOMUXC_ECSPI2_SCLK_ECSPI2_SCLK		0x82
 			MX8MM_IOMUXC_ECSPI2_MOSI_ECSPI2_MOSI		0x82
 			MX8MM_IOMUXC_ECSPI2_MISO_ECSPI2_MISO		0x82
-			MX8MM_IOMUXC_ECSPI1_SS0_GPIO5_IO9		0x41
+			MX8MM_IOMUXC_ECSPI2_SS0_GPIO5_IO13              0x41
 		>;
 	};