From: Mathias Kresin Date: Sun, 19 Jun 2016 14:34:47 +0000 (+0200) Subject: lantiq: BTHOMEHUBV5A - use the power event code for the restart button X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=153b3f05d40aa558dfffdc617c0d0d285be26165;p=openwrt%2Fstaging%2Fzorun.git 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 --- 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>; }; };