From: Simon Glass Date: Tue, 4 Jul 2017 19:31:28 +0000 (-0600) Subject: dm: sunxi: Linksprite_pcDuino3: Correct polarity of MMC card detect X-Git-Tag: v2017.09-rc2~136^2~5 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=8620f384098bcc33bbde74b41f37c364552f30c4;p=u-boot dm: sunxi: Linksprite_pcDuino3: Correct polarity of MMC card detect This is shown as active high in the schematics[1], so fix it. [1] https://patchwork.ozlabs.org/patch/777890/ Signed-off-by: Simon Glass Reported-by: Maxime Ripard --- diff --git a/arch/arm/dts/sun7i-a20-pcduino3.dts b/arch/arm/dts/sun7i-a20-pcduino3.dts index 1a8b39be1d..37b1e0ee9b 100644 --- a/arch/arm/dts/sun7i-a20-pcduino3.dts +++ b/arch/arm/dts/sun7i-a20-pcduino3.dts @@ -164,7 +164,7 @@ pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_reference_design>; vmmc-supply = <®_vcc3v3>; bus-width = <4>; - cd-gpios = <&pio 7 1 GPIO_ACTIVE_HIGH>; /* PH1 */ + cd-gpios = <&pio 7 1 GPIO_ACTIVE_LOW>; /* PH1 */ cd-inverted; status = "okay"; };