ARM: sunxi: DT: convert DTs to use common GPIOs includes
[firefly-linux-kernel-4.4.55.git] / arch / arm / boot / dts / sun5i-a13-hsg-h702.dts
index ca6b6dd30e4741f1df53158612ce3dff6b1c2539..bccc1bcaa8688235b0e01787abd78ef7ef8cc73f 100644 (file)
@@ -49,6 +49,8 @@
 #include "sun5i-a13.dtsi"
 #include "sunxi-common-regulators.dtsi"
 
+#include <dt-bindings/gpio/gpio.h>
+
 / {
        model = "HSG H702";
        compatible = "hsg,h702", "allwinner,sun5i-a13";
@@ -59,7 +61,7 @@
                        pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_h702>;
                        vmmc-supply = <&reg_vcc3v3>;
                        bus-width = <4>;
-                       cd-gpios = <&pio 6 0 0>; /* PG0 */
+                       cd-gpios = <&pio 6 0 GPIO_ACTIVE_HIGH>; /* PG0 */
                        cd-inverted;
                        status = "okay";
                };