openwrt/target/linux/ar71xx
Michal Cieslakiewicz 7ac6044632 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:31 +02:00
..
base-files ar71xx: Fix network setup for TP-Link Archer C25 v1 2019-05-19 12:24:28 +02:00
files ar71xx: WNR2200: remove redundant GPIO for WLAN LED 2019-08-30 23:20:31 +02:00
generic ar71xx/generic: enable Zyxel NBG6616 in kernel config again 2018-08-27 21:39:40 +02:00
image ar71xx: Fix IMAGE_SIZE for TP-Link Archer C7 v5 2019-04-11 22:54:45 +02:00
mikrotik ar71xx: reorganize kernel configuration 2018-01-13 19:54:45 +01:00
nand ar71xx: reorganize kernel configuration 2018-01-13 19:54:45 +01:00
patches-4.9 kernel: bump 4.9 to 4.9.190 2019-08-28 13:10:08 +02:00
tiny ar71xx: create new ar71xx/tiny subtarget for 4MB flash devices 2018-01-13 19:54:45 +01:00
config-4.9 ar71xx:add support for E750G v8 2018-07-30 14:02:41 +02:00
Makefile ar71xx: create new ar71xx/tiny subtarget for 4MB flash devices 2018-01-13 19:54:45 +01:00
modules.mk ar71xx: add LED driver NU801 2015-12-11 15:04:57 +00:00