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:37:27 +0000 (13:37 +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>
target/linux/mediatek/dts/mt7981b-zyxel-nwa50ax-pro.dts

index 6ca7ba040a18a3da4694e6133f13008b4d0bbae3..6b50dde4e2ac7fee02bfde4aecd2c27ae641972f 100644 (file)
@@ -84,6 +84,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>;
        };
 };