]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
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 3fedb6f1e1ddcf527eb538801674f4b0cb90f11b..e13dade4633537d309b0f752fb0fe28903f2d7d9 100644 (file)
 
 &sdmmc1 {
        u-boot,dm-spl;
+       broken-cd;
+       /delete-property/ cd-gpios;
 };
 
 &sdmmc1_b4_pins_a {
index a07c5854154cee55613164dfa2ef1b010ac0e370..b16dc28d47a5daf635f80c22da3a83d46d654737 100644 (file)
 
 &sdmmc1 {
        u-boot,dm-spl;
+       broken-cd;
+       /delete-property/ cd-gpios;
 };
 
 &sdmmc1_b4_pins_a {