treewide: dts: use keycode defines from input dt-binding
[openwrt/staging/lynxis/omap.git] / target / linux / ramips / dts / WF-2881.dts
index 050bc2e7ccb7ef6511726fa4684273197bdfec9f..2cad0ec344528e572406aca42a9531cd4a82bbad 100644 (file)
@@ -2,6 +2,8 @@
 
 #include "mt7621.dtsi"
 
+#include <dt-bindings/input/input.h>
+
 / {
        compatible = "mediatek,mt7621-eval-board", "mediatek,mt7621-soc";
        model = "NETIS WF-2881";
@@ -71,7 +73,7 @@
                reset {
                        label = "reset";
                        gpios = <&gpio0 12 1>;
-                       linux,code = <0x198>;
+                       linux,code = <KEY_RESTART>;
                };
        };
 };