On 6/3/2023 3:35 PM, Peng Fan (OSS) wrote:


On 5/31/2023 11:02 PM, Ioana Ciornei wrote:
From: Florin Chiculita<[email protected]>

Since the new RevC LX2160A-RDB board has its 10G Aquantia PHYs at
different MDIO bus addresses, we must update both the kernel DTS and
u-boot's DTS (in case of DM_ETH) in case the board is indeed RevC or
newer. Use the newly introduced get_board_rev() function to trigger a
fixup of the kernel DTS to properly match the actual PHY addresses.
All this is encapsulated in the fdt_fixup_board_phy_revc() function
which will be used in the next patch.

Use the newly fdt_fixup_board_phy_revc() function introduced to
update both kernel's DTS and u-boot's DTS.

Signed-off-by: Florin Chiculita<[email protected]>
Signed-off-by: Ioana Ciornei<[email protected]>

Reviewed-by: Peng Fan <[email protected]>

There is a build issue with this patch, I did a local minor fix

Regards,
Peng.


Reply via email to