summaryrefslogtreecommitdiff
path: root/target/linux/ramips/dts
diff options
context:
space:
mode:
authorMathias Kresin <dev@kresin.me>2016-11-27 09:47:51 +0100
committerMathias Kresin <dev@kresin.me>2016-11-27 15:34:23 +0100
commit18c64f41c7d84824a81bdcd730e1796d316355d1 (patch)
tree60bf2174ee8113ffd5931fcc4c8eea25d7ada57d /target/linux/ramips/dts
parent4780e7e994d549a375bbfba02faef9a2bb2a6ea8 (diff)
downloadmtk-20170518-18c64f41c7d84824a81bdcd730e1796d316355d1.zip
mtk-20170518-18c64f41c7d84824a81bdcd730e1796d316355d1.tar.gz
mtk-20170518-18c64f41c7d84824a81bdcd730e1796d316355d1.tar.bz2
treewide: fix button keys codes used in dts
Use keycodes that matches the intended use case based on the label. Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux/ramips/dts')
-rw-r--r--target/linux/ramips/dts/AWM002-EVB-4M.dts2
-rw-r--r--target/linux/ramips/dts/AWM002-EVB-8M.dts2
-rw-r--r--target/linux/ramips/dts/AWM003-EVB.dts2
-rw-r--r--target/linux/ramips/dts/UR-326N4G.dts2
-rw-r--r--target/linux/ramips/dts/UR-336UN.dts2
-rw-r--r--target/linux/ramips/dts/WR512-3GN-4M.dts2
-rw-r--r--target/linux/ramips/dts/WR512-3GN-8M.dts2
7 files changed, 7 insertions, 7 deletions
diff --git a/target/linux/ramips/dts/AWM002-EVB-4M.dts b/target/linux/ramips/dts/AWM002-EVB-4M.dts
index f647a96..101ea54 100644
--- a/target/linux/ramips/dts/AWM002-EVB-4M.dts
+++ b/target/linux/ramips/dts/AWM002-EVB-4M.dts
@@ -41,7 +41,7 @@
mode {
label = "mode";
gpios = <&gpio0 20 1>;
- linux,code = <ABS_MT_WIDTH_MAJOR>;
+ linux,code = <BTN_0>;
};
};
};
diff --git a/target/linux/ramips/dts/AWM002-EVB-8M.dts b/target/linux/ramips/dts/AWM002-EVB-8M.dts
index 3c34c4a..c9f1105 100644
--- a/target/linux/ramips/dts/AWM002-EVB-8M.dts
+++ b/target/linux/ramips/dts/AWM002-EVB-8M.dts
@@ -41,7 +41,7 @@
mode {
label = "mode";
gpios = <&gpio0 20 1>;
- linux,code = <ABS_MT_WIDTH_MAJOR>;
+ linux,code = <BTN_0>;
};
};
};
diff --git a/target/linux/ramips/dts/AWM003-EVB.dts b/target/linux/ramips/dts/AWM003-EVB.dts
index 9f8c2d2..b42d77e 100644
--- a/target/linux/ramips/dts/AWM003-EVB.dts
+++ b/target/linux/ramips/dts/AWM003-EVB.dts
@@ -47,7 +47,7 @@
mode {
label = "mode";
gpios = <&gpio0 20 1>;
- linux,code = <ABS_MT_WIDTH_MAJOR>;
+ linux,code = <BTN_0>;
};
};
};
diff --git a/target/linux/ramips/dts/UR-326N4G.dts b/target/linux/ramips/dts/UR-326N4G.dts
index 6ca1aa9..4246fa4 100644
--- a/target/linux/ramips/dts/UR-326N4G.dts
+++ b/target/linux/ramips/dts/UR-326N4G.dts
@@ -84,7 +84,7 @@
mode {
label = "mode";
gpios = <&gpio0 7 1>;
- linux,code = <ABS_MT_WIDTH_MAJOR>;
+ linux,code = <BTN_0>;
};
};
};
diff --git a/target/linux/ramips/dts/UR-336UN.dts b/target/linux/ramips/dts/UR-336UN.dts
index fa75304..67def7c 100644
--- a/target/linux/ramips/dts/UR-336UN.dts
+++ b/target/linux/ramips/dts/UR-336UN.dts
@@ -61,7 +61,7 @@
mode {
label = "mode";
gpios = <&gpio0 7 1>;
- linux,code = <ABS_MT_WIDTH_MAJOR>;
+ linux,code = <BTN_0>;
};
};
};
diff --git a/target/linux/ramips/dts/WR512-3GN-4M.dts b/target/linux/ramips/dts/WR512-3GN-4M.dts
index 09e4480..a9aa676 100644
--- a/target/linux/ramips/dts/WR512-3GN-4M.dts
+++ b/target/linux/ramips/dts/WR512-3GN-4M.dts
@@ -84,7 +84,7 @@
mode {
label = "mode";
gpios = <&gpio0 7 1>;
- linux,code = <ABS_MT_WIDTH_MAJOR>;
+ linux,code = <BTN_0>;
};
};
};
diff --git a/target/linux/ramips/dts/WR512-3GN-8M.dts b/target/linux/ramips/dts/WR512-3GN-8M.dts
index 03583f9..0ddc48f 100644
--- a/target/linux/ramips/dts/WR512-3GN-8M.dts
+++ b/target/linux/ramips/dts/WR512-3GN-8M.dts
@@ -84,7 +84,7 @@
mode {
label = "mode";
gpios = <&gpio0 7 1>;
- linux,code = <ABS_MT_WIDTH_MAJOR>;
+ linux,code = <BTN_0>;
};
};
};