aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/RP-N53.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/dts/RP-N53.dts')
-rw-r--r--target/linux/ramips/dts/RP-N53.dts10
1 files changed, 6 insertions, 4 deletions
diff --git a/target/linux/ramips/dts/RP-N53.dts b/target/linux/ramips/dts/RP-N53.dts
index c661be3a28..514481b382 100644
--- a/target/linux/ramips/dts/RP-N53.dts
+++ b/target/linux/ramips/dts/RP-N53.dts
@@ -2,6 +2,8 @@
#include "mt7620a.dtsi"
+#include <dt-bindings/input/input.h>
+
/ {
compatible = "asus,rp-n53", "ralink,mt7620a-soc";
model = "Asus RP-N53";
@@ -15,25 +17,25 @@
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>;
};
};