aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/dts/FRITZ7360SL.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/lantiq/dts/FRITZ7360SL.dts
parent4780e7e994d549a375bbfba02faef9a2bb2a6ea8 (diff)
downloadupstream-18c64f41c7d84824a81bdcd730e1796d316355d1.tar.gz
upstream-18c64f41c7d84824a81bdcd730e1796d316355d1.tar.bz2
upstream-18c64f41c7d84824a81bdcd730e1796d316355d1.zip
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/lantiq/dts/FRITZ7360SL.dts')
-rw-r--r--target/linux/lantiq/dts/FRITZ7360SL.dts6
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/lantiq/dts/FRITZ7360SL.dts b/target/linux/lantiq/dts/FRITZ7360SL.dts
index 796458a6a5..2a90a7f8c2 100644
--- a/target/linux/lantiq/dts/FRITZ7360SL.dts
+++ b/target/linux/lantiq/dts/FRITZ7360SL.dts
@@ -116,14 +116,14 @@
#size-cells = <0>;
poll-interval = <100>;
dect {
- label = "power";
+ label = "dect";
gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
- linux,code = <BTN_2>;
+ linux,code = <KEY_PHONE>;
};
wifi {
label = "wifi";
gpios = <&gpio 29 GPIO_ACTIVE_HIGH>;
- linux,code = <BTN_1>;
+ linux,code = <KEY_WLAN>;
};
};