aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
Diffstat (limited to 'target')
-rw-r--r--target/linux/ramips/dts/mt7620a_asus_rt-ac51u.dts3
-rw-r--r--target/linux/ramips/dts/mt7620a_asus_rt-ac54u.dts3
-rwxr-xr-xtarget/linux/ramips/mt7620/base-files/etc/board.d/02_network3
3 files changed, 5 insertions, 4 deletions
diff --git a/target/linux/ramips/dts/mt7620a_asus_rt-ac51u.dts b/target/linux/ramips/dts/mt7620a_asus_rt-ac51u.dts
index 1dd0e5cfe0..eccbdee717 100644
--- a/target/linux/ramips/dts/mt7620a_asus_rt-ac51u.dts
+++ b/target/linux/ramips/dts/mt7620a_asus_rt-ac51u.dts
@@ -7,6 +7,7 @@
model = "Asus RT-AC51U";
aliases {
+ label-mac-device = &ethernet;
led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
@@ -37,7 +38,7 @@
};
&ethernet {
- mtd-mac-address = <&factory 0x22>;
+ mtd-mac-address = <&factory 0x28>;
};
&state_default {
diff --git a/target/linux/ramips/dts/mt7620a_asus_rt-ac54u.dts b/target/linux/ramips/dts/mt7620a_asus_rt-ac54u.dts
index 09e9b780de..f7e64994d8 100644
--- a/target/linux/ramips/dts/mt7620a_asus_rt-ac54u.dts
+++ b/target/linux/ramips/dts/mt7620a_asus_rt-ac54u.dts
@@ -8,6 +8,7 @@
model = "Asus RT-AC54U";
aliases {
+ label-mac-device = &ethernet;
led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
@@ -38,7 +39,7 @@
};
&ethernet {
- mtd-mac-address = <&factory 0x22>;
+ mtd-mac-address = <&factory 0x28>;
};
&state_default {
diff --git a/target/linux/ramips/mt7620/base-files/etc/board.d/02_network b/target/linux/ramips/mt7620/base-files/etc/board.d/02_network
index 417d3d0271..b780d48179 100755
--- a/target/linux/ramips/mt7620/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/mt7620/base-files/etc/board.d/02_network
@@ -273,8 +273,7 @@ ramips_setup_macs()
;;
asus,rt-ac51u|\
asus,rt-ac54u)
- wan_mac=$(mtd_get_mac_binary factory 0x28)
- label_mac=$wan_mac
+ lan_mac=$(mtd_get_mac_binary factory 0x22)
;;
dlink,dch-m225)
lan_mac=$(mtd_get_mac_ascii factory lanmac)