]> git.dujemihanovic.xyz Git - u-boot.git/commit
mx6cuboxi: Fix Ethernet after DT sync with Linux
authorJosua Mayer <josua@solid-run.com>
Sat, 30 Mar 2024 21:35:55 +0000 (18:35 -0300)
committerFabio Estevam <festevam@gmail.com>
Fri, 5 Apr 2024 12:38:12 +0000 (09:38 -0300)
commit6970f4a6cdaa4dacc3441b2e9b2cdd1254967fee
tree7bc63b04c8242f93caa66c93636bb420523d6a00
parent3952365515c32cd8b3990afb9bd77a4f4cba4159
mx6cuboxi: Fix Ethernet after DT sync with Linux

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.

Signed-off-by: Josua Mayer <josua@solid-run.com>
[fabio: Added the changes to imx6qdl-sr-som-u-boot.dtsi.]
Signed-off-by: Fabio Estevam <festevam@gmail.com>
Tested-by: Christian Gmeiner <cgmeiner@igalia.com>
Tested-by: Christian Gmeiner <cgmeiner@igalia.com>
arch/arm/dts/imx6qdl-hummingboard2-emmc-som-v15-u-boot.dtsi
arch/arm/dts/imx6qdl-sr-som-u-boot.dtsi [new file with mode: 0644]