]> git.itanic.dy.fi Git - linux-stable/commitdiff
ARM: dts: imx50-evk: Fix the chip select 1 IOMUX
authorFabio Estevam <festevam@gmail.com>
Thu, 5 Nov 2020 21:13:20 +0000 (18:13 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 24 Nov 2020 11:48:11 +0000 (12:48 +0100)
[ Upstream commit 33d0d843872c5ddbe28457a92fc6f2487315fb9f ]

The SPI chip selects are represented as:

cs-gpios = <&gpio4 11 GPIO_ACTIVE_LOW>, <&gpio4 13 GPIO_ACTIVE_LOW>;

, which means that they are used in GPIO function instead of native
SPI mode.

Fix the IOMUX for the chip select 1 to use GPIO4_13 instead of
the native CSPI_SSI function.

Fixes: c605cbf5e135 ("ARM: dts: imx: add device tree support for Freescale imx50evk board")
Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm/boot/dts/imx50-evk.dts

index 27d763c7a307d91e9efc282fb29c8e8e5de093c7..4dbd180e72ba6f6834667cd4f1c2e08e384043da 100644 (file)
@@ -66,7 +66,7 @@ MX50_PAD_CSPI_SCLK__CSPI_SCLK         0x00
                                MX50_PAD_CSPI_MISO__CSPI_MISO           0x00
                                MX50_PAD_CSPI_MOSI__CSPI_MOSI           0x00
                                MX50_PAD_CSPI_SS0__GPIO4_11             0xc4
-                               MX50_PAD_ECSPI1_MOSI__CSPI_SS1          0xf4
+                               MX50_PAD_ECSPI1_MOSI__GPIO4_13          0x84
                        >;
                };