]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: dts: stm32: remove cd-inverted for stm32f769-disco
authorPatrice Chotard <patrice.chotard@st.com>
Mon, 6 Aug 2018 07:38:17 +0000 (09:38 +0200)
committerTom Rini <trini@konsulko.com>
Mon, 13 Aug 2018 18:04:04 +0000 (14:04 -0400)
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@iki.fi>
Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
arch/arm/dts/stm32f769-disco.dts

index 59c9d31c213b07a96db030bb56f0509be87141f5..1e8ef742ceade6994ca5be12f20cdc35169dd983 100644 (file)
@@ -43,6 +43,7 @@
 /dts-v1/;
 #include "stm32f746.dtsi"
 #include <dt-bindings/memory/stm32-sdram.h>
+#include <dt-bindings/gpio/gpio.h>
 
 / {
        model = "STMicroelectronics STM32F769-DISCO board";
 
 &sdio2 {
        status = "okay";
-       cd-gpios = <&gpioi 15 0>;
-       cd-inverted;
+       cd-gpios = <&gpioi 15 GPIO_ACTIVE_LOW>;
        pinctrl-names = "default", "opendrain";
        pinctrl-0 = <&sdio_pins_b>;
        pinctrl-1 = <&sdio_pins_od_b>;