ramips: update device tree source files
[openwrt/staging/wigyori.git] / target / linux / ramips / dts / 3G-6200NL.dts
index 7ef7618f6843490af97457a836eea3c8d82d0761..c95c5bf2da8bd3185293ef8561ad5cf526569a16 100644 (file)
@@ -2,8 +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 {
        gpio-leds {
                compatible = "gpio-leds";
 
+               internet {
+                       label = "3g-6200nl:green:internet";
+                       gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
+               };
+
                wlan {
-                       label = "3g-6200nl:amber:wlan";
-                       gpios = <&gpio0 14 1>;
+                       label = "3g-6200nl:green:wlan";
+                       gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
                };
        };
 
                #size-cells = <0>;
                poll-interval = <20>;
 
-               wps {
-                       label = "wps";
-                       gpios = <&gpio0 12 1>;
-                       linux,code = <0x211>;
+               reset {
+                       label = "reset";
+                       gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
+                       linux,code = <KEY_RESTART>;
                };
        };
 };