treewide: dts: use keycode defines from input dt-binding
[openwrt/openwrt.git] / target / linux / ramips / dts / MPRA2.dts
index 84f5dda3a63dc703427e49f00970a0cc1d51a9df..72ee8768b6bd20ae5dc8e1542742253818e1078b 100644 (file)
@@ -2,6 +2,8 @@
 
 #include "rt5350.dtsi"
 
+#include <dt-bindings/input/input.h>
+
 / {
        compatible = "MPRA2", "ralink,rt5350-soc";
        model = "HAME MPR-A2";
@@ -29,7 +31,7 @@
                wps {
                        label = "reset";
                        gpios = <&gpio0 0 1>;
-                       linux,code = <0x198>;
+                       linux,code = <KEY_RESTART>;
                };
        };