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)
commit8b4714527fbdc391a5c0ccf42a4357cb6069bb6c
tree8b84022daab74571cf882d0e7dc11fe76c1d72a4
parent542c7e47905c35dfe9d2ddabd48b0f7bb15a857d
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