Skip to contentSkip to conversation

mx6cuboxi: fixup dtb ethernet phy nodes before booting an OS

PATCH Josua Mayer 2 participants 2 messages Jun 16, 2022 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Hi Stefano,

Thank you for applying this patchset.
This patch had a functional flaw that I was intending to address in v3.

Instead I have now followed up with a separate patch:
[PATCH] mx6cuboxi: fix board detection while patching device-tree phy nodes Please make sure this one is added too.

sincerely
Josua Mayer

Am 15.06.22 um 14:11 schrieb [email protected]:

Quoted 11 lines
Quoted 6 lines

SoM revision 1.9 has replaced the ar8035 phy address 0 with an adin1300 at address 1. Because early SoMs had a hardware flaw, the ar8035 can also appear at address 4 - making it a total of 3 phy nodes in the DTB. To avoid confusing Linux with probe errors, fixup the dtb to only enable the phy node that is detected at runtime.

Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic

#2 lore raw
Quoted 9 lines · Josua Mayer

Hi Stefano,

Thank you for applying this patchset.
This patch had a functional flaw that I was intending to address in v3.

Instead I have now followed up with a separate patch:
[PATCH] mx6cuboxi: fix board detection while patching device-tree phy nodes Please make sure this one is added too.

I'll pick up this, too.

Regards,
Stefano

Quoted 15 lines

sincerely
Josua Mayer

Am 15.06.22 um 14:11 schrieb [email protected]:

Quoted 11 lines
Quoted 6 lines

SoM revision 1.9 has replaced the ar8035 phy address 0 with an adin1300 at address 1. Because early SoMs had a hardware flaw, the ar8035 can also appear at address 4 - making it a total of 3 phy nodes in the DTB. To avoid confusing Linux with probe errors, fixup the dtb to only enable the phy node that is detected at runtime.

Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic