From 1c9dc26ce95b7f190e9975d10543ff19e9a1987f Mon Sep 17 00:00:00 2001
From: John Crispin <john@openwrt.org>
Date: Mon, 9 Feb 2015 12:14:32 +0000
Subject: [PATCH] lantiq: td-w8970: fix reset button

For TP-LINK TD-W8970 button should work as "reset", not "BTN_1".

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>

SVN-Revision: 44352
---
 target/linux/lantiq/dts/TDW8970.dts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/target/linux/lantiq/dts/TDW8970.dts b/target/linux/lantiq/dts/TDW8970.dts
index 51972a07c8..1b42d48daf 100644
--- a/target/linux/lantiq/dts/TDW8970.dts
+++ b/target/linux/lantiq/dts/TDW8970.dts
@@ -204,10 +204,10 @@
 		#address-cells = <1>;
 		#size-cells = <0>;
 		poll-interval = <100>;
-		power {
+		reset {
 			label = "reset";
 			gpios = <&gpio 0 1>;
-			linux,code = <0x100>;
+			linux,code = <0x198>;
 		};
 
 		wifi {
-- 
GitLab