treewide: dts: use keycode defines from input dt-binding
[openwrt/staging/wigyori.git] / target / linux / ramips / dts / M4-4M.dts
index 0502714c3b0e8b031fd6b29ba276a83f033e53a9..79bea1952e23492ace48526d264c4ffca72f7bf7 100644 (file)
@@ -2,6 +2,8 @@
 
 #include "rt5350.dtsi"
 
+#include <dt-bindings/input/input.h>
+
 / {
        compatible = "M4", "ralink,rt5350-soc";
        model = "Poray M4";
@@ -24,7 +26,7 @@
                reset {
                        label = "reset";
                        gpios = <&gpio0 10 1>;
-                       linux,code = <0x198>;
+                       linux,code = <KEY_RESTART>;
                };
        };
 };