treewide: dts: use keycode defines from input dt-binding
[openwrt/openwrt.git] / target / linux / ramips / dts / BC2.dts
index 5ae10a31a0f796813da37ffc1b5895b47c60e611..55cf8964f35e7937211e39730a032e1edff5693d 100644 (file)
@@ -2,6 +2,8 @@
 
 #include "rt3050.dtsi"
 
+#include <dt-bindings/input/input.h>
+
 / {
        compatible = "BC2", "ralink,rt3052-soc";
        model = "NexAira BC2";
@@ -56,7 +58,7 @@
                reset {
                        label = "reset";
                        gpios = <&gpio0 17 1>;
-                       linux,code = <0x198>;
+                       linux,code = <KEY_RESTART>;
                };
        };
 };