[Linux-stm32] [PATCH] ARM: dts: stm32: set stm32mp157c-odyssey MMC1 detection to polling

Simon Doppler dopsi at dopsi.ch
Fri Apr 30 09:14:30 UTC 2021


The SDMMC1_CD net is not routed on the Seeed STM32MP157C-SoM
(see https://files.seeedstudio.com/wiki/Seeed-NPi-STM32MP157C/Hardware/Seeed%20SoM%20-%20STM32MP157C%20v1.0_191212.pdf)

Signed-off-by: Simon Doppler <dopsi at dopsi.ch>
---
 arch/arm/boot/dts/stm32mp157c-odyssey.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/stm32mp157c-odyssey.dts b/arch/arm/boot/dts/stm32mp157c-odyssey.dts
index a7ffec8f1516..1ef94b0d3067 100644
--- a/arch/arm/boot/dts/stm32mp157c-odyssey.dts
+++ b/arch/arm/boot/dts/stm32mp157c-odyssey.dts
@@ -64,7 +64,7 @@ &sdmmc1 {
 	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)>;
+	broken-cd;
 	disable-wp;
 	st,neg-edge;
 	bus-width = <4>;
--
2.25.1





More information about the Linux-stm32 mailing list