From: Grzegorz Szymaszek Date: Sat, 10 Apr 2021 19:35:21 +0000 (+0200) Subject: ARM: dts: stm32: fix stm32mp157c-odyssey card detect pin X-Git-Tag: accepted/tizen/unified/20230118.172025~6845^2~34^2~14 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0171b07373cc8c2815ca5fa79a7308fdefa54ca4;p=platform%2Fkernel%2Flinux-rpi.git ARM: dts: stm32: fix stm32mp157c-odyssey card detect pin 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 Signed-off-by: Alexandre Torgue --- diff --git a/arch/arm/boot/dts/stm32mp157c-odyssey.dts b/arch/arm/boot/dts/stm32mp157c-odyssey.dts index a7ffec8..be1dd5e 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>;