[openwrt/openwrt] mediatek: enable NWA50AX Pro eth LEDs
LEDE Commits
lede-commits at lists.infradead.org
Tue Aug 22 04:40:51 PDT 2023
blocktrron pushed a commit to openwrt/openwrt.git, branch openwrt-23.05:
https://git.openwrt.org/99d9519bacb5e7013271358e0d5358c196507040
commit 99d9519bacb5e7013271358e0d5358c196507040
Author: David Bauer <mail at david-bauer.net>
AuthorDate: Tue Aug 8 01:04:16 2023 +0200
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 <mail at david-bauer.net>
(cherry picked from commit 4c0fdad7eabe7a5b81a7a1bd7f38dcadbe4f471a)
---
target/linux/mediatek/dts/mt7981b-zyxel-nwa50ax-pro.dts | 3 +++
1 file changed, 3 insertions(+)
diff --git a/target/linux/mediatek/dts/mt7981b-zyxel-nwa50ax-pro.dts b/target/linux/mediatek/dts/mt7981b-zyxel-nwa50ax-pro.dts
index 75dd84c9d7..0898525ab6 100644
--- a/target/linux/mediatek/dts/mt7981b-zyxel-nwa50ax-pro.dts
+++ b/target/linux/mediatek/dts/mt7981b-zyxel-nwa50ax-pro.dts
@@ -83,6 +83,9 @@
phy0: ethernet-phy at 5 {
reg = <5>;
compatible = "ethernet-phy-ieee802.3-c45";
+
+ /* LED0: Amber ; LED1: nc ; LED2: nc ; LED3: Green */
+ mxl,led-config = <0x3b0 0x0 0x0 0x3c0>;
};
};
More information about the lede-commits
mailing list