treewide: dts: use keycode defines from input dt-binding
[openwrt/openwrt.git] / target / linux / ramips / dts / ZBT-WE826.dts
index 75c99a7fdc54cd5f16488a96bc87d7deb6ab2b77..1eb03189d1fedc9a8b971cd1796b9b22f146b6e1 100644 (file)
@@ -2,6 +2,8 @@
 
 #include "mt7620a.dtsi"
 
+#include <dt-bindings/input/input.h>
+
 / {
        compatible = "zbtlink,zbt-we826", "ralink,mt7620a-soc";
        model = "ZBT-WE826";
@@ -34,7 +36,7 @@
                reset {
                        label = "reset";
                        gpios = <&gpio0 1 1>;
-                       linux,code = <0x198>;
+                       linux,code = <KEY_RESTART>;
                };
        };
 };