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

Peng Fan peng.fan at oss.nxp.com
Thu Jun 15 11:03:07 CEST 2023



On 6/3/2023 3:35 PM, Peng Fan (OSS) wrote:
> 
> 
> 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>

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

Regards,
Peng.




More information about the U-Boot mailing list