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