ramips: update device tree source files
[openwrt/openwrt.git] / target / linux / ramips / dts / PSG1218.dtsi
index b3b58948d2ddfea43fd931734690539aa7db1cea..c24f5ff2bab8b245ddaf07d97c87d456ed0388a9 100644 (file)
@@ -1,8 +1,11 @@
 #include "mt7620a.dtsi"
 
+#include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/input/input.h>
 
 / {
+       compatible = "phicomm,psg1218", "ralink,mt7620a-soc";
+
        gpio-keys-polled {
                compatible = "gpio-keys-polled";
                #address-cells = <1>;
@@ -11,7 +14,7 @@
 
                reset {
                        label = "reset";
-                       gpios = <&gpio0 1 1>;
+                       gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_RESTART>;
                };
        };