apm821xx: redo WAN green and yellow LEDs
authorChristian Lamparter <chunkeey@googlemail.com>
Mon, 7 Nov 2016 17:10:09 +0000 (18:10 +0100)
committerJohn Crispin <john@phrozen.org>
Tue, 8 Nov 2016 10:17:10 +0000 (11:17 +0100)
commitb5638bb64e790350ca0203e7cff60a10766dae20
treefe2425efc7af09f2501dcabe7439e7a46692c614
parent524d7a7cdeb12b2061dfadf91e12f3355d908f19
apm821xx: redo WAN green and yellow LEDs

Because the WAN port is handled by the internal AR8327N switch, the
device should use swconfig_leds trigger to handle the link activity
of the WAN LED. This has the added bonus that the WAN LED will now
go dark if there's no ethernet cable connected to the WAN port.

Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
target/linux/apm821xx/base-files/etc/board.d/01_leds
target/linux/apm821xx/nand/config-default