#include "rt3050.dtsi"
+#include <dt-bindings/input/input.h>
+
/ {
compatible = "WNCE2001", "ralink,rt3052-soc";
model = "Netgear WNCE2001";
reset {
label = "reset";
gpios = <&gpio0 10 1>;
- linux,code = <0x198>;
+ linux,code = <KEY_RESTART>;
};
wps {
label = "wps";
gpios = <&gpio0 0 1>;
- linux,code = <0x211>;
+ linux,code = <KEY_WPS_BUTTON>;
};
rt {
label = "rt";
gpios = <&gpio0 11 1>;
- linux,code = <0x100>;
+ linux,code = <BTN_0>;
};
ap {
label = "ap";
gpios = <&gpio0 7 1>;
- linux,code = <0x101>;
+ linux,code = <BTN_1>;
};
};
};