treewide: dts: use keycode defines from input dt-binding
[openwrt/staging/mkresin.git] / target / linux / ramips / dts / SK-WB8.dts
index 1fed89e11e40ae6a9275b7ae578682b2f4ebf47f..b50de555dc7aef3c7bdfac030c148e0cfa608396 100644 (file)
@@ -2,6 +2,8 @@
 
 #include "mt7621.dtsi"
 
+#include <dt-bindings/input/input.h>
+
 / {
        compatible = "mediatek,mt7621-eval-board", "mediatek,mt7621-soc";
        model = "SamKnows Whitebox 8";
                wps {
                        label = "wps";
                        gpios = <&gpio1 11 1>;
-                       linux,code = <0x211>;
+                       linux,code = <KEY_WPS_BUTTON>;
                };
                reset {
                        label = "reset";
                        gpios = <&gpio1 9 1>;
-                       linux,code = <0x198>;
+                       linux,code = <KEY_RESTART>;
                };
        };
 };