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>
owl
Mathias Kresin 2016-06-19 16:34:47 +02:00 committed by John Crispin
parent 551c9c8300
commit 153b3f05d4
1 changed files with 1 additions and 1 deletions

View File

@ -158,7 +158,7 @@
restart {
label = "restart";
gpios = <&gpio 39 1>;
linux,code = <0x198>;
linux,code = <0x74>;
};
};