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 <d...@kresin.me> --- target/linux/lantiq/dts/BTHOMEHUBV5A.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/lantiq/dts/BTHOMEHUBV5A.dts b/target/linux/lantiq/dts/BTHOMEHUBV5A.dts index e62a18d..2013b31 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>; }; }; -- 1.9.1 _______________________________________________ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/listinfo/lede-dev