treewide: dts: use keycode defines from input dt-binding
[openwrt/openwrt.git] / target / linux / ramips / dts / TEW-714TRU.dts
index 0e0f066518d1dee3268305c90612299fbaf60311..79b30d1bfdca31584fe628809ebd58803080dd6d 100644 (file)
@@ -2,6 +2,8 @@
 
 #include "rt5350.dtsi"
 
+#include <dt-bindings/input/input.h>
+
 / {
        compatible = "TEW-714TRU", "ralink,rt5350-soc";
        model = "TRENDnet TEW714TRU";
                 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>;
                 };
        };