ARM: dts: stm32: Reinstate card detect behavior on DHSOM
authorMarek Vasut <marex@denx.de>
Thu, 18 Jun 2020 18:35:17 +0000 (20:35 +0200)
committerPatrick Delaunay <patrick.delaunay@st.com>
Fri, 19 Jun 2020 07:43:59 +0000 (09:43 +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 permits the DHSOM to boot from SD again,
without this patch the card detect fails.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Patrick Delaunay <patrick.delaunay@st.com>
Cc: Patrice Chotard <patrice.chotard@st.com>
Reviewed-by: Patrick Delaunay <patrick.delaunay@st.com>
arch/arm/dts/stm32mp15xx-dhcom-u-boot.dtsi

index 75d75266e858cd179dfd88848845cdfd9300021b..df63ad4a2417f75b9314c24735ac9b50ef36f301 100644 (file)
 
 &sdmmc1 {
        u-boot,dm-spl;
+       broken-cd;
+       /delete-property/ cd-gpios;
+       /delete-property/ disable-wp;
 };
 
 &sdmmc1_b4_pins_a {