lantiq: BTHOMEHUBV5A: don't power off with restart button

The restart button is currently assigned to KEY_POWER power script but
an easily accessible button immediately powering off the device is
undesirable. Switch to using new KEY_POWER2 reboot script with 5 second
seen delay.

Fixes: FS#1965
Signed-off-by: Alan Swanson <reiver@improbability.net>
Signed-off-by: Petr Štetiar <ynezz@true.cz> [long line wrap]
openwrt-19.07
Alan Swanson 2019-05-29 11:40:21 +01:00 committed by Petr Štetiar
parent 5422fed787
commit e7bd254ed9
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@
restart { restart {
label = "restart"; label = "restart";
gpios = <&gpio 39 GPIO_ACTIVE_LOW>; gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
linux,code = <KEY_POWER>; linux,code = <KEY_POWER2>;
}; };
}; };