ramips: update device tree source files
[openwrt/openwrt.git] / target / linux / ramips / dts / AIR3GII.dts
index e9c1434734c76913e9a5fc52bddd1cc329887dd5..042037559afbe8b8d81288acf945918567840e8b 100644 (file)
@@ -2,10 +2,11 @@
 
 #include "rt5350.dtsi"
 
+#include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/input/input.h>
 
 / {
-       compatible = "AIR3GII", "ralink,rt5350-soc";
+       compatible = "airlive,air3gii", "ralink,rt5350-soc";
        model = "AirLive Air3GII";
 
        gpio-leds {
 
                wlan {
                        label = "air3gii:green:wlan";
-                       gpios = <&gpio0 8 0>;
+                       gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
                };
 
                mobile {
                        label = "air3gii:green:mobile";
-                       gpios = <&gpio0 9 1>;
+                       gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
                };
        };
 
@@ -30,7 +31,7 @@
 
                wps {
                        label = "wps";
-                       gpios = <&gpio0 7 1>;
+                       gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_WPS_BUTTON>;
                };
        };