From: Patrice Chotard Date: Mon, 6 Aug 2018 07:38:18 +0000 (+0200) Subject: ARM: dts: stm32: remove cd-inverted for stm32f746-disco X-Git-Tag: v2018.09-rc2~5 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=6effb56fbc6408d60e4952d62131f0904da70efd;p=oweals%2Fu-boot.git ARM: dts: stm32: remove cd-inverted for stm32f746-disco 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 Signed-off-by: Patrice Chotard --- diff --git a/arch/arm/dts/stm32f746-disco.dts b/arch/arm/dts/stm32f746-disco.dts index e47f762e54..7ef33d6381 100644 --- a/arch/arm/dts/stm32f746-disco.dts +++ b/arch/arm/dts/stm32f746-disco.dts @@ -48,6 +48,7 @@ /dts-v1/; #include "stm32f746.dtsi" #include +#include / { model = "STMicroelectronics STM32F746-DISCO board"; @@ -307,8 +308,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>;