treewide: dts: use keycode defines from input dt-binding
[openwrt/staging/yousong.git] / target / linux / ramips / dts / PBR-D1.dts
index 30477a0ddfe07206e2b26c333e14b5b28f1ad0e7..da32c8dff92a36d628939400351552a29a3a1027 100644 (file)
@@ -2,6 +2,8 @@
 
 #include "mt7628an.dtsi"
 
+#include <dt-bindings/input/input.h>
+
 / {
        compatible = "mediatek,pbr-d1", "mediatek,mt7628an-soc";
        model = "PBR-D1";
@@ -44,7 +46,7 @@
                wps {
                        label = "reset";
                        gpios = <&gpio1 38 1>;
-                       linux,code = <0x211>;
+                       linux,code = <KEY_WPS_BUTTON>;
                };
        };