ramips: update device tree source files
[openwrt/openwrt.git] / target / linux / ramips / dts / DIR-860L-B1.dts
index e00bae9c6257b87e13139dee435a5c476de62340..5dfc1eeaefd57d5a81e019f13f6fd9d1630bc952 100644 (file)
@@ -2,6 +2,7 @@
 
 #include "mt7621.dtsi"
 
+#include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/input/input.h>
 
 / {
 
                power {
                        label = "dir-860l-b1:orange:power";
-                       gpios = <&gpio0 13 1>;
+                       gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
                };
 
                power2 {
                        label = "dir-860l-b1:green:power";
-                       gpios = <&gpio0 15 1>;
+                       gpios = <&gpio0 15 GPIO_ACTIVE_LOW>;
                };
 
                net {
                        label = "dir-860l-b1:orange:net";
-                       gpios = <&gpio0 14 1>;
+                       gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
                };
 
                net2 {
                        label = "dir-860l-b1:green:net";
-                       gpios = <&gpio0 16 1>;
+                       gpios = <&gpio0 16 GPIO_ACTIVE_LOW>;
                };
        };
 
 
                reset {
                        label = "reset";
-                       gpios = <&gpio0 7 1>;
+                       gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_RESTART>;
                };
 
                wps {
                        label = "wps";
-                       gpios = <&gpio0 18 1>;
+                       gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_WPS_BUTTON>;
                };
        };