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

Signed-off-by: Cezary Jackiewicz <cezary.jackiew...@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@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to