aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/AWM002-EVB-4M.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/dts/AWM002-EVB-4M.dts')
-rw-r--r--target/linux/ramips/dts/AWM002-EVB-4M.dts6
1 files changed, 4 insertions, 2 deletions
diff --git a/target/linux/ramips/dts/AWM002-EVB-4M.dts b/target/linux/ramips/dts/AWM002-EVB-4M.dts
index e125232557..f647a9658c 100644
--- a/target/linux/ramips/dts/AWM002-EVB-4M.dts
+++ b/target/linux/ramips/dts/AWM002-EVB-4M.dts
@@ -2,6 +2,8 @@
#include "AWM002-4M.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>;
};
};
};