ar71xx: add correct named default wireless led by using platform leds
authorMathias Kresin <dev@kresin.me>
Wed, 22 Mar 2017 20:59:49 +0000 (21:59 +0100)
committerMathias Kresin <dev@kresin.me>
Sat, 8 Apr 2017 12:30:00 +0000 (14:30 +0200)
commit1f5ea4eae46e46a87353a751637ccb5d5cd5f60b
treeb3d2a1ae16ecbd743491f5665e0b9218728d74f3
parentb06559e5b76adfbafb16965098994cd30e8ded9c
ar71xx: add correct named default wireless led by using platform leds

Instead of renaming the default wireless led attached to the wireless
chip, add a new led using the platform leds with the phy0tpt trigger
set in userspace.

When switching ar71xx to device tree, the same can be done by using the
build in GPIO controller and without adding new bindings.

Drop the now unused platform code.

Signed-off-by: Mathias Kresin <dev@kresin.me>
target/linux/ar71xx/base-files/etc/board.d/01_leds
target/linux/ar71xx/files/arch/mips/ath79/dev-ap9x-pci.c
target/linux/ar71xx/files/arch/mips/ath79/dev-ap9x-pci.h
target/linux/ar71xx/files/arch/mips/ath79/mach-wnr2000-v3.c
target/linux/ar71xx/files/arch/mips/ath79/mach-wnr2200.c