realtek: Skip auto-MAC assignment for devices with MACs in DT
authorSven Eckelmann <[email protected]>
Mon, 29 Sep 2025 16:30:12 +0000 (18:30 +0200)
committerHauke Mehrtens <[email protected]>
Sun, 12 Oct 2025 13:52:13 +0000 (15:52 +0200)
commit3f7776a260a6c72832e3413eb3339f4c6f02b00b
tree412d080e0ad9f8810e509cde9e6a96a2dd40c971
parent18e1929401bed72a6e4f7b9b4ccee81cc67a47d6
realtek: Skip auto-MAC assignment for devices with MACs in DT

If the devicetree contains the appropriate nodes to configure the MAC
addresses for each physical DSA port, then these MAC addresses must be used
in OpenWrt and not some automatically generated ones. Otherwise the device
often ends up with addresses which are locally administered and not
matching any expected port-to-MAC scheme.

Devices which only get the MAC address for eth0 must still auto-generate
these MAC addresses until the devicetree was updated to also include the
correct ones.

Signed-off-by: Sven Eckelmann <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20241
Signed-off-by: Hauke Mehrtens <[email protected]>
target/linux/realtek/base-files/etc/board.d/02_network