aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/mt7621_mikrotik_routerboard-m11g.dts
diff options
context:
space:
mode:
authorThibaut VARÈNE <hacks@slashdirt.org>2020-04-20 14:35:57 +0200
committerKoen Vandeputte <koen.vandeputte@ncentric.com>2020-05-08 15:17:18 +0200
commit5e50515fa6b3e2ddfd7ffb478b2111dc589dfd4e (patch)
treedd99f834a399d7d361dfbe927678c237288fb4ce /target/linux/ramips/dts/mt7621_mikrotik_routerboard-m11g.dts
parent9242d691ec847e20b68a2dcfca3ae3a7f6674be2 (diff)
downloadupstream-5e50515fa6b3e2ddfd7ffb478b2111dc589dfd4e.tar.gz
upstream-5e50515fa6b3e2ddfd7ffb478b2111dc589dfd4e.tar.bz2
upstream-5e50515fa6b3e2ddfd7ffb478b2111dc589dfd4e.zip
ramips/mt7621: mikrotik: don't use mtd-mac-address in DTS
As evidenced here[1] the device MAC address can be stored at a random offset in the hard_config partition. Rely on sysfs to update the MAC address correctly. Adjust config so that WAN is base MAC and LAN is base MAC +1 to better match label and vendor OS. [1] https://github.com/openwrt/openwrt/pull/2850#issuecomment-610809021 Signed-off-by: Thibaut VARÈNE <hacks@slashdirt.org>
Diffstat (limited to 'target/linux/ramips/dts/mt7621_mikrotik_routerboard-m11g.dts')
-rw-r--r--target/linux/ramips/dts/mt7621_mikrotik_routerboard-m11g.dts5
1 files changed, 0 insertions, 5 deletions
diff --git a/target/linux/ramips/dts/mt7621_mikrotik_routerboard-m11g.dts b/target/linux/ramips/dts/mt7621_mikrotik_routerboard-m11g.dts
index 128b8a2816..d7c4a45798 100644
--- a/target/linux/ramips/dts/mt7621_mikrotik_routerboard-m11g.dts
+++ b/target/linux/ramips/dts/mt7621_mikrotik_routerboard-m11g.dts
@@ -134,11 +134,6 @@
};
};
-&gmac0 {
- mtd-mac-address = <&hard_config 0x0010>;
- mtd-mac-address-increment = <1>;
-};
-
&switch0 {
ports {
port@0 {