
On Thu, Jun 10, 2021 at 03:39:35PM +0300, Camelia Groza wrote:
From: Camelia Groza camelia.groza@nxp.com
The T2080RDB boards revision D and up have updated Aquantia PHYs on the two 10Gbps copper ports connected to MAC1 and MAC2 (from AQ1202 to AQR113C). The second PHY connected to MAC2 is located at a different address on the MDIO bus compared to revision C boards. Device tree fixups are required for both Linux and u-boot to set the correct PHY address for the new board revisions.
The first patch in the series implements a callback that detects the board revision based on the CPLD registers.
The second patch updates the PHY addresses in u-boot for the legacy, non-DM, driver implementation.
I'd much rather see DM_ETH migration completed and non-DM_ETH code removed while someone is actively here again. Thanks!