aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/AWM003-EVB.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/dts/AWM003-EVB.dts')
-rw-r--r--target/linux/ramips/dts/AWM003-EVB.dts6
1 files changed, 4 insertions, 2 deletions
diff --git a/target/linux/ramips/dts/AWM003-EVB.dts b/target/linux/ramips/dts/AWM003-EVB.dts
index 13e6964ccc..9f8c2d266b 100644
--- a/target/linux/ramips/dts/AWM003-EVB.dts
+++ b/target/linux/ramips/dts/AWM003-EVB.dts
@@ -2,6 +2,8 @@
#include "AWM002-8M.dtsi"
+#include <dt-bindings/input/input.h>
+
/ {
compatible = "AWM003", "ralink,rt5350-soc";
model = "AsiaRF AWM003 EVB";
@@ -39,13 +41,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>;
};
};
};