aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--target/linux/ramips/dts/mt7628an_wiznet_wizfi630s.dts2
-rwxr-xr-xtarget/linux/ramips/mt76x8/base-files/etc/board.d/02_network7
2 files changed, 6 insertions, 3 deletions
diff --git a/target/linux/ramips/dts/mt7628an_wiznet_wizfi630s.dts b/target/linux/ramips/dts/mt7628an_wiznet_wizfi630s.dts
index 684a70cffe..3bb1e06eb1 100644
--- a/target/linux/ramips/dts/mt7628an_wiznet_wizfi630s.dts
+++ b/target/linux/ramips/dts/mt7628an_wiznet_wizfi630s.dts
@@ -145,7 +145,7 @@
};
&ethernet {
- mtd-mac-address = <&factory 0x28>;
+ mtd-mac-address = <&factory 0x2e>;
};
&esw {
diff --git a/target/linux/ramips/mt76x8/base-files/etc/board.d/02_network b/target/linux/ramips/mt76x8/base-files/etc/board.d/02_network
index 83437ea364..3920afde95 100755
--- a/target/linux/ramips/mt76x8/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/mt76x8/base-files/etc/board.d/02_network
@@ -199,8 +199,7 @@ ramips_setup_macs()
;;
rakwireless,rak633|\
unielec,u7628-01-16m|\
- wavlink,wl-wn575a3|\
- wiznet,wizfi630s)
+ wavlink,wl-wn575a3)
wan_mac=$(macaddr_add "$(mtd_get_mac_binary factory 0x28)" 1)
;;
tplink,archer-c20-v4|\
@@ -225,6 +224,10 @@ ramips_setup_macs()
zbtlink,zbt-we1226)
wan_mac=$(macaddr_add "$(mtd_get_mac_binary factory 0x2e)" 1)
;;
+ wiznet,wizfi630s)
+ label_mac=$(mtd_get_mac_binary factory 0x4)
+ wan_mac=$(mtd_get_mac_binary factory 0x28)
+ ;;
xiaomi,mir4a-100m)
wan_mac=$(mtd_get_mac_binary factory 0x4)
;;