The SDMMC2 interface hosts an eMMC. Replace the interface properties
that would only apply to SD cards—“broken-cd” and “disable-wp”—with
relevant ones: “non-removable”, “no-sd” and “no-sdio”.

Signed-off-by: Grzegorz Szymaszek <gszymas...@short.pl>
Cc: Patrice Chotard <patrice.chot...@foss.st.com>
Cc: Patrick Delaunay <patrick.delau...@foss.st.com>
---
 arch/arm/dts/stm32mp157c-odyssey-som.dtsi | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/arch/arm/dts/stm32mp157c-odyssey-som.dtsi 
b/arch/arm/dts/stm32mp157c-odyssey-som.dtsi
index 83ff2e7ce1..5c758b0f72 100644
--- a/arch/arm/dts/stm32mp157c-odyssey-som.dtsi
+++ b/arch/arm/dts/stm32mp157c-odyssey-som.dtsi
@@ -263,8 +263,9 @@
        pinctrl-0 = <&sdmmc2_b4_pins_a>;
        pinctrl-1 = <&sdmmc2_b4_od_pins_a>;
        pinctrl-2 = <&sdmmc2_b4_sleep_pins_a>;
-       broken-cd;
-       disable-wp;
+       non-removable;
+       no-sd;
+       no-sdio;
        st,neg-edge;
        bus-width = <4>;
        vmmc-supply = <&v3v3>;
-- 
2.30.2

Reply via email to