ramips: update device tree source files
[openwrt/openwrt.git] / target / linux / ramips / dts / DUZUN-DM06.dts
index d40df4fb5c68f90281adc6101b5699a8be58b7a8..97625d875ee9fd5fdd5ed75bffbe6d19fb8f99f3 100644 (file)
@@ -2,10 +2,11 @@
 
 #include "mt7628an.dtsi"
 
+#include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/input/input.h>
 
 / {
-       compatible = "duzun,dm06-mt7628an", "mediatek,mt7628an-soc";
+       compatible = "duzun,dm06", "mediatek,mt7628an-soc";
        model = "DuZun DM06";
 
        memory@0 {
 
                reset {
                        label = "reset";
-                       gpios = <&gpio1 14 1>;
+                       gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_RESTART>;
                };
 
                wps {
                        label = "wps";
-                       gpios = <&gpio1 6 1>;
+                       gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_WPS_BUTTON>;
                };
        };