treewide: dts: use keycode defines from input dt-binding
[openwrt/staging/wigyori.git] / target / linux / ramips / dts / MZK-EX300NP.dts
index 4c87f90c56733438bfc85fb5b3a2c573bab4a8c5..569d0a951cbe41b38261e7e67894a468190406f3 100644 (file)
@@ -2,6 +2,8 @@
 
 #include "mt7620a.dtsi"
 
+#include <dt-bindings/input/input.h>
+
 / {
        compatible = "ralink,mt7620a-soc";
        model = "Planex MZK-EX300NP";
                reset {
                        label = "reset";
                        gpios = <&gpio0 1 1>;
-                       linux,code = <0x198>;
+                       linux,code = <KEY_RESTART>;
                };
 
                wps {
                        label = "wps";
                        gpios = <&gpio1 3 0>;
-                       linux,code = <0xf7>;
+                       linux,code = <KEY_RFKILL>;
                };
        };
 };