treewide: dts: use keycode defines from input dt-binding
[openwrt/staging/lynxis/omap.git] / target / linux / ramips / dts / CF-WR800N.dts
index 913f142f3528490ca59cbfada1990a9c5e566e1c..6ce4b27301fb19b021f4fd0553b6b8f461d914f6 100644 (file)
@@ -2,6 +2,8 @@
 
 #include "mt7620n.dtsi"
 
+#include <dt-bindings/input/input.h>
+
 / {
        compatible = "cf-wr800n", "ralink,mt7620n-soc";
        model = "Comfast CF-WR800N";
@@ -38,7 +40,7 @@
                reset {
                        label = "reset";
                        gpios = <&gpio0 2 1>;
-                       linux,code = <0x198>;
+                       linux,code = <KEY_RESTART>;
                };
        };
 };