aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/AWM002-EVB-8M.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/dts/AWM002-EVB-8M.dts')
-rw-r--r--target/linux/ramips/dts/AWM002-EVB-8M.dts6
1 files changed, 4 insertions, 2 deletions
diff --git a/target/linux/ramips/dts/AWM002-EVB-8M.dts b/target/linux/ramips/dts/AWM002-EVB-8M.dts
index f2f91bb3d9..3c34c4aaaa 100644
--- a/target/linux/ramips/dts/AWM002-EVB-8M.dts
+++ b/target/linux/ramips/dts/AWM002-EVB-8M.dts
@@ -2,6 +2,8 @@
#include "AWM002-8M.dtsi"
+#include <dt-bindings/input/input.h>
+
/ {
model = "AsiaRF AWM002 EVB";
@@ -33,13 +35,13 @@
reset_wps {
label = "reset_wps";
gpios = <&gpio0 0 1>;
- linux,code = <0x198>;
+ linux,code = <KEY_RESTART>;
};
mode {
label = "mode";
gpios = <&gpio0 20 1>;
- linux,code = <0x32>;
+ linux,code = <ABS_MT_WIDTH_MAJOR>;
};
};
};