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>
This commit is contained in:
Mathias Kresin 2016-06-19 16:34:47 +02:00 committed by John Crispin
parent 551c9c8300
commit 153b3f05d4

View file

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