Skip to content

Commit 9bf2e53

Browse files
aford173Shawn Guo
authored andcommitted
arm64: dts: imx8mn-beacon: Fix SPI CS pinmux
The final production baseboard had a different chip select than earlier prototype boards. When the newer board was released, the SPI stopped working because the wrong pin was used in the device tree and conflicted with the UART RTS. Fix the pinmux for production boards. Fixes: 36ca3c8 ("arm64: dts: imx: Add Beacon i.MX8M Nano development kit") Signed-off-by: Adam Ford <aford173@gmail.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
1 parent ca50d77 commit 9bf2e53

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

arch/arm64/boot/dts/freescale/imx8mn-beacon-baseboard.dtsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
&ecspi2 {
8282
pinctrl-names = "default";
8383
pinctrl-0 = <&pinctrl_espi2>;
84-
cs-gpios = <&gpio5 9 GPIO_ACTIVE_LOW>;
84+
cs-gpios = <&gpio5 13 GPIO_ACTIVE_LOW>;
8585
status = "okay";
8686

8787
eeprom@0 {
@@ -202,7 +202,7 @@
202202
MX8MN_IOMUXC_ECSPI2_SCLK_ECSPI2_SCLK 0x82
203203
MX8MN_IOMUXC_ECSPI2_MOSI_ECSPI2_MOSI 0x82
204204
MX8MN_IOMUXC_ECSPI2_MISO_ECSPI2_MISO 0x82
205-
MX8MN_IOMUXC_ECSPI1_SS0_GPIO5_IO9 0x41
205+
MX8MN_IOMUXC_ECSPI2_SS0_GPIO5_IO13 0x41
206206
>;
207207
};
208208

0 commit comments

Comments
 (0)