]> Git Repo - linux.git/commitdiff
arm64: dts: orange-pi-zero-plus2: fix sdcard detect
authorSergey Matyukevich <[email protected]>
Fri, 3 Nov 2017 19:58:54 +0000 (22:58 +0300)
committerMaxime Ripard <[email protected]>
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 <[email protected]>
Signed-off-by: Maxime Ripard <[email protected]>
arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-zero-plus2.dts

index b6b7a561df8c91d90c57bd2d36cbaba37283bb02..a42fd79a62a30695221375b9a18d0209c29d73dd 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";
 };
 
This page took 0.061936 seconds and 4 git commands to generate.