openwrt/target/linux/ar71xx
Michal Cieslakiewicz 4fb6b8c553 ar71xx: WNR2200: remove redundant GPIO for WLAN LED
Without this patch, an extra entry appears for AR9287 GPIO
that duplicates WLAN LED but in fact drives nothing:

gpiochip1: GPIOs 502-511, ath9k-phy0:
 gpio-502 (                    |netgear:blue:wlan   ) out hi
 gpio-503 (                    |netgear:amber:test  ) out hi
 gpio-504 (                    |netgear:green:power ) out lo
 gpio-505 (                    |rfkill              ) in  hi
 gpio-507 (                    |wps                 ) in  hi
 gpio-508 (                    |reset               ) in  hi
 gpio-510 (                    |ath9k-phy0          ) out hi <===!

The pin pointed above is default LED GPIO (8) for AR9287.
For WNR2200 it is not connected anywhere - pin 0 drives blue WLAN
LED instead - but initialization code is missing that information.

This fix calls ap9x_pci_setup_wmac_led_pin() function at device
setup, forcing WLAN LED pin to be 0 and removing redundant entry.

Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
2019-08-30 23:20:09 +02:00
..
base-files ar71xx: really fix Mikrotik board detection 2019-08-01 12:11:59 +02:00
files ar71xx: WNR2200: remove redundant GPIO for WLAN LED 2019-08-30 23:20:09 +02:00
generic ar71xx: add support for Gainstrong MiniBox V3.2 2018-11-15 19:49:51 +01:00
image ar71xx: Add "info" partition for TP-Link Archer C7 v5 2019-04-08 18:37:04 +02:00
mikrotik treewide: use wpad-basic for not small flash targets 2018-10-16 15:07:41 +01:00
nand treewide: use wpad-basic for not small flash targets 2018-10-16 15:07:41 +01:00
patches-4.14 ar71xx: update qca-usb-quirks patch 2019-07-28 23:25:03 +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