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