treewide: dts: use keycode defines from input dt-binding
[openwrt/staging/lynxis/omap.git] / target / linux / ramips / dts / W306R_V20.dts
index 79ae23dd632969f5103243cb17315361945b75bc..ff5ca59ad6df2a61037863fc00eaf55532c719d3 100644 (file)
@@ -2,6 +2,8 @@
 
 #include "rt3050.dtsi"
 
+#include <dt-bindings/input/input.h>
+
 / {
        compatible = "W306R_V20", "ralink,rt3052-soc";
        model = "Tenda W306R V2.0";
@@ -61,7 +63,7 @@
                reset {
                        label = "RESET/WPS";
                        gpios = <&gpio0 10 1>;
-                       linux,code = <0x198>;
+                       linux,code = <KEY_RESTART>;
                };
        };
 };