[openwrt/openwrt] filogic: add missing 2.5G PHY LEDs configuration for Zyxel EX5700

LEDE Commits lede-commits at lists.infradead.org
Fri Sep 6 13:19:27 PDT 2024


hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/3de653a0af35c2d6fbc0fd14909f362c6b977e4a

commit 3de653a0af35c2d6fbc0fd14909f362c6b977e4a
Author: Yan Cangang <nalanzeyu at gmail.com>
AuthorDate: Mon Aug 5 12:35:56 2024 +0000

    filogic: add missing 2.5G PHY LEDs configuration for Zyxel EX5700
    
    configure 2.5G PHY LEDs to:
    
    2500/1000: green with blink on TX/RX
    100/10: green+yellow with blink on TX/RX
    
    which is similar to other 1G PHY LEDs, which are:
    
    1000: green with blink on TX/RX
    100/10: green+yellow with blink on TX/RX
    
    Fixes: 6cc14bf66aa ("filogic: support Telenor branded ZyXEL EX5700")
    
    Signed-off-by: Yan Cangang <nalanzeyu at gmail.com>
    Link: https://github.com/openwrt/openwrt/pull/16082
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 target/linux/mediatek/dts/mt7986a-zyxel-ex5700-telenor.dts | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/target/linux/mediatek/dts/mt7986a-zyxel-ex5700-telenor.dts b/target/linux/mediatek/dts/mt7986a-zyxel-ex5700-telenor.dts
index 9e7449b17f..51147c1d81 100644
--- a/target/linux/mediatek/dts/mt7986a-zyxel-ex5700-telenor.dts
+++ b/target/linux/mediatek/dts/mt7986a-zyxel-ex5700-telenor.dts
@@ -158,11 +158,13 @@
 	phy5: phy at 5 {
 		compatible = "ethernet-phy-ieee802.3-c45";
 		reg = <5>;
+		mxl,led-config = <0x3f0 0x330 0x0 0x0>;
 	};
 
 	phy6: phy at 6 {
 		compatible = "ethernet-phy-ieee802.3-c45";
 		reg = <6>;
+		mxl,led-config = <0x3f0 0x330 0x0 0x0>;
 	};
 
 	switch: switch at 1f {




More information about the lede-commits mailing list