arm64: dts: orange-pi-zero-plus2: fix sdcard detect
authorSergey Matyukevich <geomatsi@gmail.com>
Fri, 3 Nov 2017 19:58:54 +0000 (22:58 +0300)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Tue, 5 Dec 2017 09:14:02 +0000 (10:14 +0100)
The sdcard detect pin on orange-pi-zero-plus2 is pulled up.
Fix cd-gpio description to enable sdcard detect.

Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-zero-plus2.dts

index b6b7a56..a42fd79 100644 (file)
@@ -71,7 +71,7 @@
        pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin>;
        vmmc-supply = <&reg_vcc3v3>;
        bus-width = <4>;
-       cd-gpios = <&pio 5 6 GPIO_ACTIVE_HIGH>;
+       cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>;
        status = "okay";
 };