diff mbox

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

Message ID 20150207153359.59123010@samsung
State Accepted
Headers show

Commit Message

Cezary Jackiewicz Feb. 7, 2015, 2:33 p.m. UTC
For TP-LINK TD-W8970 button should work as "reset", not "BTN_1".

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

Patch

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 {