ramips: update device tree source files
[openwrt/openwrt.git] / target / linux / ramips / dts / 3G-6200NL.dts
index 111fef314ff55566265c387c40eacd133f390275..c95c5bf2da8bd3185293ef8561ad5cf526569a16 100644 (file)
@@ -2,10 +2,11 @@
 
 #include "rt3050.dtsi"
 
+#include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/input/input.h>
 
 / {
-       compatible = "3G-6200NL", "ralink,rt3050-soc";
+       compatible = "edimax,3g-6200nl", "ralink,rt3050-soc";
        model = "Edimax 3g-6200nl";
 
        cfi@1f000000 {
 
                internet {
                        label = "3g-6200nl:green:internet";
-                       gpios = <&gpio0 9 1>;
+                       gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
                };
 
                wlan {
                        label = "3g-6200nl:green:wlan";
-                       gpios = <&gpio0 14 1>;
+                       gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
                };
        };
 
@@ -68,7 +69,7 @@
 
                reset {
                        label = "reset";
-                       gpios = <&gpio0 12 1>;
+                       gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_RESTART>;
                };
        };