]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
ARM: dts: stm32: fix stm32mp157c-odyssey card detect pin
authorGrzegorz Szymaszek <gszymaszek@short.pl>
Sat, 10 Apr 2021 19:35:21 +0000 (21:35 +0200)
committerAlexandre Torgue <alexandre.torgue@foss.st.com>
Tue, 1 Jun 2021 09:20:19 +0000 (11:20 +0200)
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>
arch/arm/boot/dts/stm32mp157c-odyssey.dts

index a7ffec8f151649e3160c8f9e58f800c26083e75a..be1dd5e9e7443f642afd0a22b5f894a37afe9e37 100644 (file)
@@ -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>;