summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorGrzegorz Szymaszek <gszymaszek@short.pl>2021-04-10 21:35:21 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-07-25 14:36:13 +0200
commit34ec6702a2a19edb29247ead712c7a7dfe2873c2 (patch)
treee5f69bba45cd70213104162d7846bc3c67e85086 /arch
parent44f4e344f4f06cd2d9bffc566557a72927b6e9f0 (diff)
ARM: dts: stm32: fix stm32mp157c-odyssey card detect pin
[ Upstream commit 0171b07373cc8c2815ca5fa79a7308fdefa54ca4 ] The microSD card detect pin is physically connected to the MPU pin PI3. The Device Tree configuration of the card detect pin was wrong—it was set to pin PB7 instead. If such configuration was used, the kernel would hang on “Waiting for root device” when booting from a microSD card. Signed-off-by: Grzegorz Szymaszek <gszymaszek@short.pl> Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/boot/dts/stm32mp157c-odyssey.dts2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/stm32mp157c-odyssey.dts b/arch/arm/boot/dts/stm32mp157c-odyssey.dts
index a7ffec8f1516..be1dd5e9e744 100644
--- a/arch/arm/boot/dts/stm32mp157c-odyssey.dts
+++ b/arch/arm/boot/dts/stm32mp157c-odyssey.dts
@@ -64,7 +64,7 @@
pinctrl-0 = <&sdmmc1_b4_pins_a>;
pinctrl-1 = <&sdmmc1_b4_od_pins_a>;
pinctrl-2 = <&sdmmc1_b4_sleep_pins_a>;
- cd-gpios = <&gpiob 7 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
+ cd-gpios = <&gpioi 3 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
disable-wp;
st,neg-edge;
bus-width = <4>;