ramips: update device tree source files
[openwrt/openwrt.git] / target / linux / ramips / dts / MT7620a_V22SG.dts
index ea175120825e0b2ccc6bab55ff590247c4705cf8..25b3cc7a13d387924462797392df8c4ba2b55fee 100644 (file)
@@ -2,6 +2,7 @@
 
 #include "mt7620a.dtsi"
 
+#include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/input/input.h>
 
 / {
 
                reset {
                        label = "reset";
-                       gpios = <&gpio0 1 1>;
+                       gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_RESTART>;
                };
 
                aoss {
                        label = "aoss";
-                       gpios = <&gpio0 2 1>;
+                       gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_WPS_BUTTON>;
                };
        };