[OpenWrt-Devel] [PATCH 1/3] ramips: mt7621: add LAN port mac address to rbm11g dts
Tobias Schramm
t.schramm at manjaro.org
Wed Apr 8 06:47:13 EDT 2020
This commit adds a mac address from the hard_config partition
to LAN port of rbm11g.
Signed-off-by: Tobias Schramm <t.schramm at manjaro.org>
---
target/linux/ramips/dts/mt7621_mikrotik_rbm11g.dts | 2 ++
1 file changed, 2 insertions(+)
diff --git a/target/linux/ramips/dts/mt7621_mikrotik_rbm11g.dts b/target/linux/ramips/dts/mt7621_mikrotik_rbm11g.dts
index bcfce33a16..554573f30e 100644
--- a/target/linux/ramips/dts/mt7621_mikrotik_rbm11g.dts
+++ b/target/linux/ramips/dts/mt7621_mikrotik_rbm11g.dts
@@ -149,6 +149,8 @@
port at 0 {
status = "okay";
label = "lan";
+ mtd-mac-address = <&hard_config 0x0010>;
+ mtd-mac-address-increment = <2>;
};
};
};
--
2.26.0
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list