treewide: dts: use keycode defines from input dt-binding
[openwrt/openwrt.git] / target / linux / ramips / dts / LINKIT7688.dts
index 09a8c987f7c34ce0230f602fec4a6bec40cbca0e..210d4d0b8d102bd0aeba3bffc96f9154375d9c72 100644 (file)
@@ -2,6 +2,8 @@
 
 #include "mt7628an.dtsi"
 
+#include <dt-bindings/input/input.h>
+
 / {
        compatible = "mediatek,linkit", "mediatek,mt7628an-soc";
        model = "MediaTek LinkIt Smart 7688";
@@ -44,7 +46,7 @@
                wps {
                        label = "reset";
                        gpios = <&gpio1 6 1>;
-                       linux,code = <0x211>;
+                       linux,code = <KEY_WPS_BUTTON>;
                };
        };