openwrt/target/linux/ar71xx
Lech Perczak 21454a772b ar71xx: fix reset key for TP-Link TL-WR802N V1/V2
During porting support for this router to ath79 target
it was discovered that GPIO mapping was incorrect (GPIO11 active high).
Correct mapping for both V1 and V2 is GPIO12 active low.

Default configuration from GPL source for V2 explicitly states this, and
this was confirmed experimentally on ath79 by looking on
/sys/kernel/debug/gpio. Correctness of this was also validated for V1 by
cross-flashing vendor firmware for V1 on V2 hardware, in which reset
button also worked.

Fix it.

Signed-off-by: Lech Perczak <lech.perczak@gmail.com>
[slightly adjust commit title]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
(cherry picked from commit f841e70640)
2020-06-01 16:58:06 +02:00
..
base-files ar71xx: remove hard-coded folder name from Mikrotik RB upgrade 2020-05-12 17:48:02 +02:00
files ar71xx: fix reset key for TP-Link TL-WR802N V1/V2 2020-06-01 16:58:06 +02:00
generic ar71xx: add support for Gainstrong MiniBox V3.2 2018-11-15 19:49:51 +01:00
image ar71xx: fix splitting firmware partition for TL-WR902AC v1 2020-05-30 00:36:59 +02:00
mikrotik ar71xx: enable mikrotik platform driver 2020-05-12 12:43:38 +02:00
nand treewide: use wpad-basic for not small flash targets 2018-10-16 15:07:41 +01:00
patches-4.14 kernel: bump 4.14 to 4.14.178 2020-05-04 21:05:21 +02:00
tiny ar71xx: move OCEDO Koala to generic and use dynamic partitioning 2018-10-29 11:21:23 +01:00
config-4.14 ar71xx: add support for Gainstrong MiniBox V3.2 2018-11-15 19:49:51 +01:00
Makefile treewide: use wpad-basic for not small flash targets 2018-10-16 15:07:41 +01:00
modules.mk ar71xx: add LED driver NU801 2015-12-11 15:04:57 +00:00