aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/WR512-3GN-8M.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/dts/WR512-3GN-8M.dts')
-rw-r--r--target/linux/ramips/dts/WR512-3GN-8M.dts6
1 files changed, 4 insertions, 2 deletions
diff --git a/target/linux/ramips/dts/WR512-3GN-8M.dts b/target/linux/ramips/dts/WR512-3GN-8M.dts
index 7e9a0c25ed..03583f99fe 100644
--- a/target/linux/ramips/dts/WR512-3GN-8M.dts
+++ b/target/linux/ramips/dts/WR512-3GN-8M.dts
@@ -2,6 +2,8 @@
#include "rt3050.dtsi"
+#include <dt-bindings/input/input.h>
+
/ {
compatible = "WR512-3GN", "ralink,rt3052-soc";
model = "WR512-3GN-like router";
@@ -76,13 +78,13 @@
reset_wps {
label = "reset_wps";
gpios = <&gpio0 10 1>;
- linux,code = <0x198>;
+ linux,code = <KEY_RESTART>;
};
mode {
label = "mode";
gpios = <&gpio0 7 1>;
- linux,code = <0x32>;
+ linux,code = <ABS_MT_WIDTH_MAJOR>;
};
};
};