[U-Boot] [PATCH v4 9/9] ARM: dts: stm32: remove cd-inverted for stm32f746-disco

Patrice Chotard patrice.chotard at st.com
Wed Jul 25 15:49:12 UTC 2018


As cd-inverted property is no more used by arm_pl180_mmci driver,
remove it. Update cd-gpios active level accordingly.

Reported-by: Tuomas Tynkkynen <tuomas.tynkkynen at iki.fi>
Signed-off-by: Patrice Chotard <patrice.chotard at st.com>
---

Changes in v4: None
Changes in v3: None
Changes in v2: None

 arch/arm/dts/stm32f746-disco.dts | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/arch/arm/dts/stm32f746-disco.dts b/arch/arm/dts/stm32f746-disco.dts
index e47f762e54dc..187c94b99bfa 100644
--- a/arch/arm/dts/stm32f746-disco.dts
+++ b/arch/arm/dts/stm32f746-disco.dts
@@ -307,8 +307,7 @@
 
 &sdio {
 	status = "okay";
-	cd-gpios = <&gpioc 13 0>;
-	cd-inverted;
+	cd-gpios = <&gpioc 13 GPIO_ACTIVE_LOW>;
 	pinctrl-names = "default", "opendrain";
 	pinctrl-0 = <&sdio_pins>;
 	pinctrl-1 = <&sdio_pins_od>;
-- 
1.9.1



More information about the U-Boot mailing list