From: Yann Gautier Date: Wed, 21 Sep 2022 16:03:34 +0000 (+0200) Subject: ARM: dts: stm32: add sdmmc cd-gpios for STM32MP135F-DK X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=ee9b7263a7d0d77198cec510e4a3e759dd85c65c;p=linux.git ARM: dts: stm32: add sdmmc cd-gpios for STM32MP135F-DK On STM32MP135F-DK, the SD card detect GPIO is GPIOH4. Signed-off-by: Yann Gautier Signed-off-by: Alexandre Torgue --- diff --git a/arch/arm/boot/dts/stm32mp135f-dk.dts b/arch/arm/boot/dts/stm32mp135f-dk.dts index de341d17e87d4..5cdd9e3756a8f 100644 --- a/arch/arm/boot/dts/stm32mp135f-dk.dts +++ b/arch/arm/boot/dts/stm32mp135f-dk.dts @@ -108,7 +108,7 @@ pinctrl-0 = <&sdmmc1_b4_pins_a &sdmmc1_clk_pins_a>; pinctrl-1 = <&sdmmc1_b4_od_pins_a &sdmmc1_clk_pins_a>; pinctrl-2 = <&sdmmc1_b4_sleep_pins_a>; - broken-cd; + cd-gpios = <&gpioh 4 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; disable-wp; st,neg-edge; bus-width = <4>;