On 13. 04. 21 14:44, Andrew Lunn wrote:
On Tue, Apr 13, 2021 at 09:09:37AM +0200, Michal Vokáč wrote:
On 12. 04. 21 16:14, Andrew Lunn wrote:
The FEC does not have PHY and is connected to the switch at RGMII level.
Adding the fixed-link { speed = <1000>; full-duplex; }; subnode to FEC
does not help.

If the FEC does not have a PHY, it should not have a
phy-handle. Instead, you need a fixed-link.

What is currently happening is that both the switch and the FEC are
trying to connect to the same PHY. Probably the switch does its
connection first and succeeds. When the FEC tries to connect, the PHY
is in use, so an error is returned.

By providing a fixed-link, instead of a phy-handle, a simulated PHY is
generated, which the FEC can connect to.

That was it, thanks a lot Andrew! I will send a patch ASAP.

Michal

Reply via email to