aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
Diffstat (limited to 'target')
-rw-r--r--target/linux/ramips/dts/mt7621_edimax_rg21s.dts3
-rwxr-xr-xtarget/linux/ramips/mt7621/base-files/etc/board.d/02_network1
2 files changed, 3 insertions, 1 deletions
diff --git a/target/linux/ramips/dts/mt7621_edimax_rg21s.dts b/target/linux/ramips/dts/mt7621_edimax_rg21s.dts
index be38beef12..f1adf38e3e 100644
--- a/target/linux/ramips/dts/mt7621_edimax_rg21s.dts
+++ b/target/linux/ramips/dts/mt7621_edimax_rg21s.dts
@@ -15,6 +15,7 @@
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
+ label-mac-device = &ethernet;
};
chosen {
@@ -125,6 +126,8 @@
};
&ethernet {
+ mtd-mac-address = <&factory 0x4>;
+
mediatek,portmap = "wllll";
port@5 {
status = "disabled";
diff --git a/target/linux/ramips/mt7621/base-files/etc/board.d/02_network b/target/linux/ramips/mt7621/base-files/etc/board.d/02_network
index aad9a60bfe..5c6b5659cb 100755
--- a/target/linux/ramips/mt7621/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/mt7621/base-files/etc/board.d/02_network
@@ -201,7 +201,6 @@ ramips_setup_macs()
edimax,rg21s)
lan_mac=$(mtd_get_mac_ascii u-boot-env ethaddr)
wan_mac=$(mtd_get_mac_ascii u-boot-env wanaddr)
- label_mac=$(mtd_get_mac_binary factory 0x4)
;;
hiwifi,hc5962)
lan_mac=$(mtd_get_mac_ascii bdinfo "Vfac_mac ")