treewide: dts: use keycode defines from input dt-binding
[openwrt/openwrt.git] / target / linux / ramips / dts / ZBT-WG2626.dts
index b599d7b49bdd61f4fe0f9e880099b6c7f4628379..e926514f7b2a3ab5c43aa00c4651b3bef0a04220 100644 (file)
@@ -2,6 +2,8 @@
 
 #include "mt7621.dtsi"
 
+#include <dt-bindings/input/input.h>
+
 / {
        compatible = "mediatek,mt7621-eval-board", "mediatek,mt7621-soc";
        model = "ZBT-WG2626";
@@ -30,7 +32,7 @@
                reset {
                        label = "reset";
                        gpios = <&gpio0 18 1>;
-                       linux,code = <0x198>;
+                       linux,code = <KEY_RESTART>;
                };
        };