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