treewide: dts: use keycode defines from input dt-binding
[openwrt/openwrt.git] / target / linux / ramips / dts / SL-R7205.dts
index f5884fbecd82364f0715ef5105932850980b22a6..7b6dc990e227e0f0617872984071309c547223b0 100644 (file)
@@ -2,6 +2,8 @@
 
 #include "rt3050.dtsi"
 
+#include <dt-bindings/input/input.h>
+
 / {
        compatible = "SL-R7205", "ralink,rt3052-soc";
        model = "Skyline SL-R7205 Wireless 3G Router";
                reset {
                        label = "reset";
                        gpios = <&gpio0 10 1>;
-                       linux,code = <0x198>;
+                       linux,code = <KEY_RESTART>;
                };
 
                wps {
                        label = "wps";
                        gpios = <&gpio0 0 1>;
-                       linux,code = <0x211>;
+                       linux,code = <KEY_WPS_BUTTON>;
                };
        };
 };