From 153b3f05d40aa558dfffdc617c0d0d285be26165 Mon Sep 17 00:00:00 2001
From: Mathias Kresin <dev@kresin.me>
Date: Sun, 19 Jun 2016 16:34:47 +0200
Subject: 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>
---
 target/linux/lantiq/dts/BTHOMEHUBV5A.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'target')

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>;
 		};
 	};
 
-- 
cgit v1.2.3