aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq
diff options
context:
space:
mode:
authorMathias Kresin <dev@kresin.me>2016-06-19 16:34:47 +0200
committerJohn Crispin <john@phrozen.org>2016-06-20 11:45:44 +0200
commit153b3f05d40aa558dfffdc617c0d0d285be26165 (patch)
treebd22d4baf1168b53bd02626d28a2c3841267229d /target/linux/lantiq
parent551c9c830027b7749895e3ba6b37004570b89e74 (diff)
downloadupstream-153b3f05d40aa558dfffdc617c0d0d285be26165.tar.gz
upstream-153b3f05d40aa558dfffdc617c0d0d285be26165.tar.bz2
upstream-153b3f05d40aa558dfffdc617c0d0d285be26165.zip
lantiq: BTHOMEHUBV5A - use the power event code for the restart button
The restart event code is used in LEDE to trigger a factory reset on long press as well. By using the power event code, the restart functionality can be used without being prone to trigger a factory reset. Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux/lantiq')
-rw-r--r--target/linux/lantiq/dts/BTHOMEHUBV5A.dts2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/lantiq/dts/BTHOMEHUBV5A.dts b/target/linux/lantiq/dts/BTHOMEHUBV5A.dts
index e62a18d9dc..2013b31063 100644
--- a/target/linux/lantiq/dts/BTHOMEHUBV5A.dts
+++ b/target/linux/lantiq/dts/BTHOMEHUBV5A.dts
@@ -158,7 +158,7 @@
restart {
label = "restart";
gpios = <&gpio 39 1>;
- linux,code = <0x198>;
+ linux,code = <0x74>;
};
};