ramips: update device tree source files
[openwrt/staging/wigyori.git] / target / linux / ramips / dts / RE6500.dts
index f00bf7e5243788079eb546a96076de79e623efd9..b2b5a29238bca252414ee13aab39be2f9af9619d 100644 (file)
@@ -2,6 +2,7 @@
 
 #include "mt7621.dtsi"
 
+#include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/input/input.h>
 
 / {
 
                wifi {
                        label = "re6500:orange:wifi";
-                       gpios = <&gpio0 0 0>;
+                       gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>;
                };
 
                power {
                        label = "re6500:white:power";
-                       gpios = <&gpio0 9 0>;
+                       gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>;
                };
        };
 
 
                wps {
                        label = "wps";
-                       gpios = <&gpio0 10 1>;
+                       gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_WPS_BUTTON>;
                };
 
                reset {
                        label = "reset";
-                       gpios = <&gpio0 11 0>;
+                       gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>;
                        linux,code = <KEY_RESTART>;
                };
        };