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