#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>;
};
};
};