treewide: dts: use keycode defines from input dt-binding
[openwrt/openwrt.git] / target / linux / ramips / dts / WNDR3700V5.dts
index 9d3d0d53968e40533d31cefa1d1d3008260aa558..f67c32030e5cc867828bb9be4ad561741dd41621 100644 (file)
@@ -2,6 +2,8 @@
 
 #include "mt7621.dtsi"
 
+#include <dt-bindings/input/input.h>
+
 / {
        compatible = "mediatek,mt7621-eval-board","ralink,mt7621-soc";
        model = "Netgear WNDR3700v5";
                wps {
                        label = "wndr3700v5:wps";
                        gpios = <&gpio0 7 0>;
-                       linux,code = <0x211>;
+                       linux,code = <KEY_WPS_BUTTON>;
                };
 
                wifi {
                        label = "wndr3700v5:wifi";
                        gpios = <&gpio0 8 0>;
-                       linux,code = <0xf7>;
+                       linux,code = <KEY_RFKILL>;
                };
 
                reset {
                        label = "wndr3700v5:reset";
                        gpios = <&gpio0 14 0>;
-                       linux,code = <0x198>;
+                       linux,code = <KEY_RESTART>;
                };
        };