ramips: replace remaining instances of ralink, port-map
[openwrt/openwrt.git] / target / linux / ramips / dts / 3G-6200N.dts
index cd2ba51d1ac1e7d01cee7b7f3da10b6cd4a532de..502020e5d1b24bae51491549cf6da65f78e4ae3c 100644 (file)
@@ -2,6 +2,8 @@
 
 #include "rt3050.dtsi"
 
+#include <dt-bindings/input/input.h>
+
 / {
        compatible = "3G-6200N", "ralink,rt3050-soc";
        model = "Edimax 3g-6200n";
                #size-cells = <0>;
                poll-interval = <20>;
 
-               wps {
-                       label = "wps";
+               reset {
+                       label = "reset";
                        gpios = <&gpio0 12 1>;
-                       linux,code = <0x211>;
+                       linux,code = <KEY_RESTART>;
                };
 
-               wlanswitch {
+               rfkill {
                        label = "wlanswitch";
                        gpios = <&gpio0 13 1>;
-                       linux,code = <0x100>;
+                       linux,code = <KEY_RFKILL>;
                };
        };
 };