ramips: update device tree source files
[openwrt/staging/wigyori.git] / target / linux / ramips / dts / ATP-52B.dts
index 7e872985dd21ce2685a53d1936a4708af72f59be..ca62a443c8796c2a216b125bd6e56641614a050f 100644 (file)
@@ -2,10 +2,11 @@
 
 #include "rt3050.dtsi"
 
+#include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/input/input.h>
 
 / {
-       compatible = "ATP-52B", "ralink,rt3052-soc";
+       compatible = "argus,atp-52b", "ralink,rt3052-soc";
        model = "Argus ATP-52B";
 
        cfi@1f000000 {
 
                run {
                        label = "atp-52b:green:run";
-                       gpios = <&gpio0 9 1>;
+                       gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
                };
 
                net {
                        label = "atp-52b:amber:net";
-                       gpios = <&gpio0 13 1>;
+                       gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
                };
        };
 
 
                wps {
                        label = "wps";
-                       gpios = <&gpio0 0 1>;
+                       gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_WPS_BUTTON>;
                };
 
                reset {
                        label = "reset";
-                       gpios = <&gpio0 10 1>;
+                       gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_RESTART>;
                };
        };