lantiq: td-w8970: fix reset button
authorJohn Crispin <john@openwrt.org>
Mon, 9 Feb 2015 12:14:32 +0000 (12:14 +0000)
committerJohn Crispin <john@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>
SVN-Revision: 44352

target/linux/lantiq/dts/TDW8970.dts

index 51972a07c8ae1b0671b5061c2ef584262f9d6e97..1b42d48daf3b64dc217c810a18e2cbfc31085a61 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 {