filogic: add missing 2.5G PHY LEDs configuration for Zyxel EX5700
authorYan Cangang <nalanzeyu@gmail.com>
Mon, 5 Aug 2024 12:35:56 +0000 (12:35 +0000)
committerHauke Mehrtens <hauke@hauke-m.de>
Fri, 6 Sep 2024 20:17:45 +0000 (22:17 +0200)
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@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/16082
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
target/linux/mediatek/dts/mt7986a-zyxel-ex5700-telenor.dts

index 9e7449b17f629564774d1624ab6940635eda7712..51147c1d81f2600b043996a6a72e52f067e44c57 100644 (file)
        phy5: phy@5 {
                compatible = "ethernet-phy-ieee802.3-c45";
                reg = <5>;
+               mxl,led-config = <0x3f0 0x330 0x0 0x0>;
        };
 
        phy6: phy@6 {
                compatible = "ethernet-phy-ieee802.3-c45";
                reg = <6>;
+               mxl,led-config = <0x3f0 0x330 0x0 0x0>;
        };
 
        switch: switch@1f {