lantiq: td-w8970: fix reset button
authorJohn Crispin <blogic@openwrt.org>
Mon, 9 Feb 2015 12:14:32 +0000 (12:14 +0000)
committerJohn Crispin <blogic@openwrt.org>
Mon, 9 Feb 2015 12:14:32 +0000 (12:14 +0000)
For TP-LINK TD-W8970 button should work as "reset", not "BTN_1".

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44352 3c298f89-4303-0410-b956-a3cf2f4a3e73

target/linux/lantiq/dts/TDW8970.dts

index 51972a0..1b42d48 100644 (file)
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <100>;
-               power {
+               reset {
                        label = "reset";
                        gpios = <&gpio 0 1>;
-                       linux,code = <0x100>;
+                       linux,code = <0x198>;
                };
 
                wifi {