treewide: dts: use keycode defines from input dt-binding
[openwrt/staging/lynxis/omap.git] / target / linux / ramips / dts / WMR-300.dts
index 02fbdc598a5a7c037dabd40052a809d01a56fbc0..faa867b723d4941ca8cdc53c362164feecb9998b 100644 (file)
@@ -2,6 +2,8 @@
 
 #include "mt7620n.dtsi"
 
+#include <dt-bindings/input/input.h>
+
 / {
        compatible = "buffalo,wmr-300", "ralink,mt7620n-soc";
        model = "Buffalo WMR-300";
                reset {
                        label = "reset";
                        gpios = <&gpio0 1 1>;
-                       linux,code = <0x198>;
+                       linux,code = <KEY_RESTART>;
                };
 
                aoss {
                        label = "aoss";
                        gpios = <&gpio0 2 1>;
-                       linux,code = <0x211>;
+                       linux,code = <KEY_WPS_BUTTON>;
                };
        };
 };