treewide: dts: use keycode defines from input dt-binding
[openwrt/staging/florian.git] / target / linux / ramips / dts / RUT5XX.dts
index 85c26d96beede5cbe1df705ab4a5c9ef2cbdb0e1..76cf49bab2fe8afc3ca82a262ee66823cb8a711d 100644 (file)
@@ -2,6 +2,8 @@
 
 #include "rt3050.dtsi"
 
+#include <dt-bindings/input/input.h>
+
 / {
        compatible = "RUT5XX", "ralink,rt3050-soc";
        model = "Teltonika RUT5XX";
@@ -24,7 +26,7 @@
                reset {
                        label = "reset";
                        gpios = <&gpio0 10 1>;
-                       linux,code = <0x198>;
+                       linux,code = <KEY_RESTART>;
                };
        };
 };