treewide: dts: use keycode defines from input dt-binding
[openwrt/openwrt.git] / target / linux / ramips / dts / RP-N53.dts
index c661be3a28ce3b509983284fd519709fc4a3f193..514481b38218f2433ae6f55b0460db38f1c3597a 100644 (file)
@@ -2,6 +2,8 @@
 
 #include "mt7620a.dtsi"
 
+#include <dt-bindings/input/input.h>
+
 / {
        compatible = "asus,rp-n53", "ralink,mt7620a-soc";
        model = "Asus RP-N53";
                touch {
                        label = "touch";
                        gpios = <&gpio1 0 1>;
-                       linux,code = <0x100>;
+                       linux,code = <BTN_0>;
                };
 
                wps {
                        label = "wps";
                        gpios = <&gpio1 1 1>;
-                       linux,code = <0x100>;
+                       linux,code = <BTN_0>;
                };
 
                reset {
                        label = "reset";
                        gpios = <&gpio1 2 1>;
-                       linux,code = <0x100>;
+                       linux,code = <BTN_0>;
                };
 
                audio {
                        label = "audio";
                        gpios = <&gpio1 3 0>;
-                       linux,code = <0x101>;
+                       linux,code = <BTN_1>;
                };
        };