lantiq: use the same functionality for all ethernet phys led
authorJohn Crispin <john@openwrt.org>
Fri, 29 Apr 2016 11:35:05 +0000 (11:35 +0000)
committerJohn Crispin <john@openwrt.org>
Fri, 29 Apr 2016 11:35:05 +0000 (11:35 +0000)
commit4ef801187c19ddccb494af6cf278db17c4d86b74
tree657c4dca4c6e1fee84389da5a41a0ed42c34ee5b
parent775d5571a6b624a37497788ffd7a60ce1485d123
lantiq: use the same functionality for all ethernet phys led

The VGV7510KW22 has the leds for LAN1-3 connected to pin1 of the phys
and the led for LAN4 connect to pin0 of the phy. This results with the
current configuration in a fast flashing LAN4 led as soon as a network
cable is connected. Something similar was reported on the forum[1] for
the VGV7519 as well.

Since it isn't predicable to which pin a (single) phy led is connected,
use the (default) pin1 functionality

    Constant On: 10/100/1000MBit
    Blink Fast: None
    Blink Slow: None
    Pulse: TX/RX

for all ethernet phy leds.

After checking pictures of all vr9 boards, it looks like only the VG3503J
has more than one led connected per phy. Using the phy led device tree
bindings to assign the functionality to the "additional" leds, the
VG3503J phy leds should behave as before.

Signed-off-by: Mathias Kresin <openwrt@kresin.me>
[1] https://forum.openwrt.org/viewtopic.php?pid=321523

SVN-Revision: 49270
target/linux/lantiq/dts/VG3503J.dtsi
target/linux/lantiq/patches-4.4/0023-NET-PHY-adds-driver-for-lantiq-PHY11G.patch