aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts
diff options
context:
space:
mode:
authorLiu Yu <f78fk@live.com>2021-06-08 09:50:02 +0800
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2021-06-12 11:01:43 +0200
commite422a3af6987f3b1d1955a432d344eb65f6152ba (patch)
tree52788fffaa7d33266199484a1a9c574b441e7a99 /target/linux/ramips/dts
parent0794a784e905e14f673fee6120e86be67bb4862d (diff)
downloadupstream-e422a3af6987f3b1d1955a432d344eb65f6152ba.tar.gz
upstream-e422a3af6987f3b1d1955a432d344eb65f6152ba.tar.bz2
upstream-e422a3af6987f3b1d1955a432d344eb65f6152ba.zip
ramips: fix Ethernet random MAC address for HILINK HLK-7628N
Set the ethernet address from flash. MAC addresses as verified by OEM firmware: use interface source 2g wlan0 factory 0x04 (label) LAN eth0.1 factory 0x28 (label+1) WAN eth0.2 factory 0x2e (label+2) Fixes: 671c9d16e382 ("ramips: add support for HILINK HLK-7628N") Signed-off-by: Liu Yu <f78fk@live.com> [drop old MAC address setup from 02_network, cut out state_default changes, face-lift commit message, add Fixes:] Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de> (cherry picked from commit ae9c5cd37bf5c08452f314b54afa963a00bdde30)
Diffstat (limited to 'target/linux/ramips/dts')
-rw-r--r--target/linux/ramips/dts/mt7628an_hilink_hlk-7628n.dts4
1 files changed, 4 insertions, 0 deletions
diff --git a/target/linux/ramips/dts/mt7628an_hilink_hlk-7628n.dts b/target/linux/ramips/dts/mt7628an_hilink_hlk-7628n.dts
index 69987b3566..f5106a5080 100644
--- a/target/linux/ramips/dts/mt7628an_hilink_hlk-7628n.dts
+++ b/target/linux/ramips/dts/mt7628an_hilink_hlk-7628n.dts
@@ -80,6 +80,10 @@
};
};
+&ethernet {
+ mtd-mac-address = <&factory 0x28>;
+};
+
&wmac {
status = "okay";
};