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>
Sun, 15 Sep 2024 00:03:25 +0000 (02:03 +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
(cherry picked from commit 3de653a0af35c2d6fbc0fd14909f362c6b977e4a)
Link: https://github.com/openwrt/openwrt/pull/16390
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
target/linux/mediatek/dts/mt7986a-zyxel-ex5700-telenor.dts

index a486f29fec8fe339fddc48feca883756acd2ca3e..cbfcb1cdb520578fb1735bcebbb3747f9c6691a1 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 {