ARM: dts: stm32: Reinstate card detect behavior on ST boards
authorPatrick Delaunay <patrick.delaunay@st.com>
Fri, 19 Jun 2020 09:19:45 +0000 (11:19 +0200)
committerPatrick Delaunay <patrick.delaunay@st.com>
Fri, 19 Jun 2020 12:18:36 +0000 (14:18 +0200)
The cd-gpios with (GPIO_ACTIVE_LOW | GPIO_PULL_UP) gpio is thus far
unsupported, reinstate the old cd-gpios behavior until this handling
is fully implemented. This avoid potential issue for SDCard boot:
the card detect fails with floating gpio.

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi
arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi

index 3fedb6f..e13dade 100644 (file)
 
 &sdmmc1 {
        u-boot,dm-spl;
+       broken-cd;
+       /delete-property/ cd-gpios;
 };
 
 &sdmmc1_b4_pins_a {
index a07c585..b16dc28 100644 (file)
 
 &sdmmc1 {
        u-boot,dm-spl;
+       broken-cd;
+       /delete-property/ cd-gpios;
 };
 
 &sdmmc1_b4_pins_a {