[PATCH 2/2] board: fsl: lx2160ardb: add dts fixup function for RevC and newer

Peng Fan peng.fan at oss.nxp.com
Sat Jun 3 09:35:18 CEST 2023



On 5/31/2023 11:02 PM, Ioana Ciornei wrote:
> From: Florin Chiculita<florinlaurentiu.chiculita at nxp.com>
> 
> 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<florinlaurentiu.chiculita at nxp.com>
> Signed-off-by: Ioana Ciornei<ioana.ciornei at nxp.com>

Reviewed-by: Peng Fan <peng.fan at nxp.com>


More information about the U-Boot mailing list