[OpenWrt-Devel] [PATCH] lantiq: td-w8970: fix reset button

Cezary Jackiewicz cezary.jackiewicz at gmail.com
Sat Feb 7 09:33:59 EST 2015


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

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

diff --git a/target/linux/lantiq/dts/TDW8970.dts b/target/linux/lantiq/dts/TDW8970.dts
index 51972a0..1b42d48 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 {



-- 
Pozdrawiam,
 Cezary Jackiewicz
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list