aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/dts
diff options
context:
space:
mode:
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2016-04-29 11:35:05 +0000
committerJo-Philipp Wich <jo@mein.io>2016-05-10 10:43:12 +0200
commitb529387d8cf04148b882b7edf9cd5daac6f28088 (patch)
treeed8bece39a3a9318eeb253477e6ab3c0cfd792c1 /target/linux/lantiq/dts
parent62492693223057ef1affe5da3de0ed4c4bf9645b (diff)
downloadupstream-b529387d8cf04148b882b7edf9cd5daac6f28088.tar.gz
upstream-b529387d8cf04148b882b7edf9cd5daac6f28088.tar.bz2
upstream-b529387d8cf04148b882b7edf9cd5daac6f28088.zip
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
Diffstat (limited to 'target/linux/lantiq/dts')
-rw-r--r--target/linux/lantiq/dts/VG3503J.dtsi8
1 files changed, 8 insertions, 0 deletions
diff --git a/target/linux/lantiq/dts/VG3503J.dtsi b/target/linux/lantiq/dts/VG3503J.dtsi
index a45e90b599..780d838206 100644
--- a/target/linux/lantiq/dts/VG3503J.dtsi
+++ b/target/linux/lantiq/dts/VG3503J.dtsi
@@ -153,10 +153,18 @@
phy11: ethernet-phy@11 {
reg = <0x11>;
compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
+ lantiq,led0h = <0x42>;
+ lantiq,led0l = <0x10>;
+ lantiq,led2h = <0x20>;
+ lantiq,led2l = <0x00>;
};
phy13: ethernet-phy@13 {
reg = <0x13>;
compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
+ lantiq,led0h = <0x42>;
+ lantiq,led0l = <0x10>;
+ lantiq,led2h = <0x20>;
+ lantiq,led2l = <0x00>;
};
};
};