diff options
author | Mathias Kresin <dev@kresin.me> | 2016-06-19 16:34:47 +0200 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2016-06-20 11:45:44 +0200 |
commit | 153b3f05d40aa558dfffdc617c0d0d285be26165 (patch) | |
tree | bd22d4baf1168b53bd02626d28a2c3841267229d /target/linux/lantiq/dts | |
parent | 551c9c830027b7749895e3ba6b37004570b89e74 (diff) | |
download | openwrt-153b3f05d40aa558dfffdc617c0d0d285be26165.tar.gz openwrt-153b3f05d40aa558dfffdc617c0d0d285be26165.tar.bz2 openwrt-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/dts')
-rw-r--r-- | target/linux/lantiq/dts/BTHOMEHUBV5A.dts | 2 |
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>; }; }; |