treewide: dts: use keycode defines from input dt-binding
[openwrt/staging/lynxis/omap.git] / target / linux / ramips / dts / WIDORA-NEO.dts
index 406b5ca099ad6e7dc5f89c842d9fa39bc6c91e5b..f6b8f1d52c13270f132da0599fa5cae455f9da65 100644 (file)
@@ -2,6 +2,8 @@
 
 #include "mt7628an.dtsi"
 
+#include <dt-bindings/input/input.h>
+
 / {
        compatible = "mediatek,widora-neo", "mediatek,mt7628an-soc";
        model = "Widora-NEO";
@@ -34,7 +36,7 @@
                wps {
                        label = "reset";
                        gpios = <&gpio1 6 1>;
-                       linux,code = <0x211>;
+                       linux,code = <KEY_WPS_BUTTON>;
                };
        };