summaryrefslogtreecommitdiff
path: root/target/linux/lantiq/dts
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/dts
parent551c9c830027b7749895e3ba6b37004570b89e74 (diff)
downloadmtk-20170518-153b3f05d40aa558dfffdc617c0d0d285be26165.zip
mtk-20170518-153b3f05d40aa558dfffdc617c0d0d285be26165.tar.gz
mtk-20170518-153b3f05d40aa558dfffdc617c0d0d285be26165.tar.bz2
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/dts')
-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 e62a18d..2013b31 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>;
};
};