You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
5 years ago
..
base-files ar71xx: really fix Mikrotik board detection 5 years ago
files ar71xx: WNR2200: remove redundant GPIO for WLAN LED 5 years ago
generic ar71xx: add support for Gainstrong MiniBox V3.2 6 years ago
image ar71xx: Add "info" partition for TP-Link Archer C7 v5 5 years ago
mikrotik treewide: use wpad-basic for not small flash targets 6 years ago
nand treewide: use wpad-basic for not small flash targets 6 years ago
patches-4.14 ar71xx: update qca-usb-quirks patch 5 years ago
tiny ar71xx: move OCEDO Koala to generic and use dynamic partitioning 6 years ago
Makefile treewide: use wpad-basic for not small flash targets 6 years ago
config-4.14 ar71xx: add support for Gainstrong MiniBox V3.2 6 years ago
modules.mk ar71xx: add LED driver NU801 9 years ago