ARM: dts: rmobile: Add rudimentary R8A7790 Stout DT
[oweals/u-boot.git] / arch / arm / dts / sun50i-h5-orangepi-pc2.dts
index 81594e622ef6495e4f3f12ee2d76782a8e854e57..780d59a0960cc9611dbec1c716e29d36e4552f69 100644 (file)
@@ -44,6 +44,8 @@
 
 #include "sun50i-h5.dtsi"
 
+#include <dt-bindings/gpio/gpio.h>
+
 / {
        model = "OrangePi PC 2";
        compatible = "xunlong,orangepi-pc-2", "allwinner,sun50i-h5";
@@ -79,7 +81,7 @@
        pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin>;
        vmmc-supply = <&reg_vcc3v3>;
        bus-width = <4>;
-       cd-gpios = <&pio 5 6 0>;
+       cd-gpios = <&pio 5 6 GPIO_ACTIVE_HIGH>;
        cd-inverted;
        status = "okay";
 };