
28 Jul
2022
28 Jul
'22
1:41 p.m.
On Thu, Jul 28, 2022 at 10:05:40AM +0300, Josua Mayer wrote:
The i.MX6 Cubox-i and HummingBoards can have different PHYs at varying addresses. U-Boot needs to auto-detect which phy is actually present, and at which address it is responding.
Auto-detection from multiple phy nodes specified in device-tree does not currently work correct. As a work-around merge all three possible phys into one node with the special address 0xffffffff which indicates to the generic phy driver to probe all addresses. Also fixup this fake address before booting Linux, *if* booting with U-Boot's internal dtb.
Signed-off-by: Josua Mayer josua@solid-run.com Fixes: d0399a46e7cd
Tested-by: Tom Rini trini@konsulko.com
--
Tom