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]
master
Alan Swanson 6 years ago committed by Petr Štetiar
parent 5422fed787
commit e7bd254ed9
  1. 2
      target/linux/lantiq/files-4.14/arch/mips/boot/dts/BTHOMEHUBV5A.dts

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

Loading…
Cancel
Save