mediatek: enable NWA50AX Pro eth LEDs
authorDavid Bauer <mail@david-bauer.net>
Mon, 7 Aug 2023 23:04:16 +0000 (01:04 +0200)
committerDavid Bauer <mail@david-bauer.net>
Tue, 22 Aug 2023 11:39:29 +0000 (13:39 +0200)
Enable the ethernet LED's on the ZyXEL NWA50AX Pro to show link-state as
well as activity.

Both LED's are configured pulsing.

AMBER | 10/100
GREEN | 1000
A+G   | 2500

Signed-off-by: David Bauer <mail@david-bauer.net>
(cherry picked from commit 4c0fdad7eabe7a5b81a7a1bd7f38dcadbe4f471a)

target/linux/mediatek/dts/mt7981b-zyxel-nwa50ax-pro.dts

index 75dd84c9d7e564d94fcd2bbb104733cce265d311..0898525ab65b318d7d212a1cc7fefdd27ecbad7a 100644 (file)
@@ -83,6 +83,9 @@
        phy0: ethernet-phy@5 {
                reg = <5>;
                compatible = "ethernet-phy-ieee802.3-c45";
+
+               /* LED0: Amber ; LED1: nc ; LED2: nc ; LED3: Green */
+               mxl,led-config = <0x3b0 0x0 0x0 0x3c0>;
        };
 };