]> git.baikalelectronics.ru Git - uboot.git/commit
mx6cuboxi: fixup dtb ethernet phy nodes before booting an OS
authorJosua Mayer <josua@solid-run.com>
Thu, 19 May 2022 09:31:59 +0000 (12:31 +0300)
committerStefano Babic <sbabic@denx.de>
Tue, 14 Jun 2022 19:25:26 +0000 (21:25 +0200)
commit7d3c907c8edb308f70c054daee860004d0afcf5d
tree758cd69f2a7187088148bac10b98644a049f6046
parent9c64e3958aef2c6ff8706a2250ac21baf6a4f44c
mx6cuboxi: fixup dtb ethernet phy nodes before booting an OS

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.

Signed-off-by: Josua Mayer <josua@solid-run.com>
board/solidrun/mx6cuboxi/mx6cuboxi.c
configs/mx6cuboxi_defconfig