mediatek: fix label mac for Keenetic KN-(3711/3811/3911)

Keenetic devices always use the WAN port MAC address as
the MAC address printed on the label.

Signed-off-by: Maxim Anisimov <maxim.anisimov.ua@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/21635
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
Maxim Anisimov 2026-01-22 11:00:35 +03:00 committed by Hauke Mehrtens
parent ef10679153
commit 5c195add76
3 changed files with 5 additions and 5 deletions

View file

@ -9,7 +9,7 @@
compatible = "keenetic,kn-3711", "mediatek,mt7981";
aliases {
label-mac-device = &gmac0;
label-mac-device = &gmac1;
led-boot = &power_led;
led-failsafe = &power_led;
led-running = &power_led;
@ -117,7 +117,7 @@
};
};
mac@1 {
gmac1: mac@1 {
compatible = "mediatek,eth-mac";
reg = <1>;
phy-mode = "gmii";

View file

@ -9,7 +9,7 @@
compatible = "keenetic,kn-3811", "mediatek,mt7981";
aliases {
label-mac-device = &gmac0;
label-mac-device = &gmac1;
led-boot = &power_led;
led-failsafe = &power_led;
led-running = &power_led;

View file

@ -9,7 +9,7 @@
compatible = "keenetic,kn-3911", "mediatek,mt7981";
aliases {
label-mac-device = &gmac0;
label-mac-device = &gmac1;
led-boot = &status_led;
led-failsafe = &status_led;
led-running = &status_led;
@ -94,7 +94,7 @@
pinctrl-names = "default";
pinctrl-0 = <&mdio_pins>;
gmac0: mac@0 {
mac@0 {
compatible = "mediatek,eth-mac";
reg = <0>;
phy-mode = "2500base-x";