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