ar71xx: support LED in TP-Link TL-WR902AC RJ45 socket
authorPiotr Dymacz <pepe2k@gmail.com>
Wed, 5 Jul 2017 08:44:02 +0000 (10:44 +0200)
committerPiotr Dymacz <pepe2k@gmail.com>
Sun, 9 Jul 2017 21:44:20 +0000 (23:44 +0200)
commitbefc763ed142f1a415374a8d463c1fb6b4b43abf
treeabfb7d9f694463f8d35f101d1d1ea6d954971c5d
parent42c8bbb69b8563896422180b379a4642419e5dfc
ar71xx: support LED in TP-Link TL-WR902AC RJ45 socket

TP-Link TL-WR902AC has another one, tiny LED inside RJ45 socket which is
attached to GPIO15. Add support for it, use it as a "lan" LED and rename
old one to "internet". Also, fix uci option name for "lan" LED in system
configuration ("wan" -> "lan").

Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
target/linux/ar71xx/base-files/etc/board.d/01_leds
target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wr902ac-v1.c