aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorSven Eckelmann <sven@narfation.org>2021-03-25 13:26:15 +0100
committerHauke Mehrtens <hauke@hauke-m.de>2021-03-29 21:41:16 +0200
commiteb98c88f66d6d419d47ab951c2624ed6b18b4088 (patch)
tree3b08b931cccfcf50b57727f731af8f406642130f /target
parent7bb8aded105792eaa24319a3c52b1f92d8c93860 (diff)
downloadupstream-eb98c88f66d6d419d47ab951c2624ed6b18b4088.tar.gz
upstream-eb98c88f66d6d419d47ab951c2624ed6b18b4088.tar.bz2
upstream-eb98c88f66d6d419d47ab951c2624ed6b18b4088.zip
mvebu: Fix mac addresses for GL.iNet GL-MV1000
The original GL.iNet firmware has two different mac addresses in the factory/art partition. The first one is for the WAN interface only and the second one is for both lan0 and lan1. But the original submission for OpenWrt didn't initialize the mac addresses of the LAN ports for the DSA device at all. The ethernet mac address was then used for all DSA ports. Fixes: 050c24f05c85 ("mvebu: add support for GL.iNet GL-MV1000") Signed-off-by: Sven Eckelmann <sven@narfation.org> (cherry picked from commit c20ac84803242e5a6451184009dabc36ba83b96e)
Diffstat (limited to 'target')
-rw-r--r--target/linux/mvebu/files/arch/arm64/boot/dts/marvell/armada-3720-gl-mv1000.dts4
1 files changed, 4 insertions, 0 deletions
diff --git a/target/linux/mvebu/files/arch/arm64/boot/dts/marvell/armada-3720-gl-mv1000.dts b/target/linux/mvebu/files/arch/arm64/boot/dts/marvell/armada-3720-gl-mv1000.dts
index 7c85ab4a9d..80b078cfaa 100644
--- a/target/linux/mvebu/files/arch/arm64/boot/dts/marvell/armada-3720-gl-mv1000.dts
+++ b/target/linux/mvebu/files/arch/arm64/boot/dts/marvell/armada-3720-gl-mv1000.dts
@@ -168,12 +168,16 @@
reg = <2>;
label = "lan0";
phy-handle = <&switch0phy1>;
+
+ mtd-mac-address = <&factory 0x6>;
};
port@3 {
reg = <3>;
label = "lan1";
phy-handle = <&switch0phy2>;
+
+ mtd-mac-address = <&factory 0x6>;
};
};