aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/UR-336UN.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/dts/UR-336UN.dts')
-rw-r--r--target/linux/ramips/dts/UR-336UN.dts6
1 files changed, 4 insertions, 2 deletions
diff --git a/target/linux/ramips/dts/UR-336UN.dts b/target/linux/ramips/dts/UR-336UN.dts
index e0325a7c56..fa753047e8 100644
--- a/target/linux/ramips/dts/UR-336UN.dts
+++ b/target/linux/ramips/dts/UR-336UN.dts
@@ -2,6 +2,8 @@
#include "rt3050.dtsi"
+#include <dt-bindings/input/input.h>
+
/ {
compatible = "UR-336UN", "ralink,rt3052-soc";
model = "UPVEL UR-336UN";
@@ -53,13 +55,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>;
};
};
};