ramips: update device tree source files
[openwrt/staging/chunkeey.git] / target / linux / ramips / dts / MicroWRT.dts
index 6f8179cc576276f0dcdf324fc4d7c401019368db..5a63e6842a34c520afa4f768f550d2f8c93dba69 100644 (file)
@@ -2,10 +2,11 @@
 
 #include "mt7620a.dtsi"
 
+#include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/input/input.h>
 
 / {
-       compatible = "microwrt", "ralink,mt7620a-soc";
+       compatible = "microduino,microwrt", "ralink,mt7620a-soc";
        model = "Microduino MicroWRT";
 
        chosen {
 
                reset {
                        label = "reset";
-                       gpios = <&gpio0 1 1>;
+                       gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_RESTART>;
                };
 
                wps {
                        label = "wps";
-                       gpios = <&gpio0 2 1>;
+                       gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_WPS_BUTTON>;
                };
        };