bcm53xx: add BCM53573 Ethernet fix sent upstream for v6.6
authorRafał Miłecki <rafal@milecki.pl>
Sun, 23 Jul 2023 20:41:18 +0000 (22:41 +0200)
committerRafał Miłecki <rafal@milecki.pl>
Sat, 29 Jul 2023 19:00:07 +0000 (21:00 +0200)
commit4ceaf439a56a856f664a5edbbcad2d8f08d0f6c3
treed8fff5dbf0268549c8832a55185144e48c7f08b5
parent47054075e2a8d37a4f83d27572c4b97b08b8cb5c
bcm53xx: add BCM53573 Ethernet fix sent upstream for v6.6

It seems that DSA-based b53 driver never worked with BCM53573 SoCs and
BCM53125.

In case of swconfig-based b53 this fixes a regression. Switching bgmac
from using mdiobus_register() to of_mdiobus_register() resulted in MDIO
device (BCM53125) having of_node set (see of_mdiobus_register_phy()).
That made downstream b53 driver read invalid data from DT and broke
Ethernet support.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
(cherry picked from commit 79fd3e62b4910731c13692b2daa2083e0f95c023)
target/linux/bcm53xx/patches-5.4/131-ARM-dts-BCM53573-Fix-Tenda-AC9-switch-CPU-port.patch [new file with mode: 0644]