Przeglądaj źródła

mediatek: enable NWA50AX Pro eth LEDs

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 <[email protected]>
David Bauer 2 lat temu
rodzic
commit
4c0fdad7ea

+ 3 - 0
target/linux/mediatek/dts/mt7981b-zyxel-nwa50ax-pro.dts

@@ -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>;
 	};
 };