Skip to contentSkip to conversation

Fixed-link PHY question

DISCUSSION Gary Thomas 1 participant 2 messages Jun 17, 2010

lore
Share & tools
lore
#0 lore raw

I'm working with 2.6.33.3 on a MPC8358. I'm trying to get it to talk to a Marvell (DSA) switch which uses special drivers and addressing to act like a PHY. I have this working fine on some older (2.6.28) systems by using a fixed-link PHY descriptor in my device tree (using the TSEC on 8347).

The GETH driver calls 'of_phy_connect_fixed_link' which always gives me this error:
PHY 0:01 not found
net eth1: Could not attach to PHY

How can I get the GETH driver to just accept the pseudo PHY connection specified by
fixed-link = <1 1 1000 0 0>;

Thanks

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
#1 lore raw
Quoted 6 lines · Gary Thomas

I'm working with 2.6.33.3 on a MPC8358. I'm trying to get it to talk to a Marvell (DSA) switch which uses special drivers and addressing to act like a PHY. I have this working fine on some older (2.6.28) systems by using a fixed-link PHY descriptor in my device tree (using the TSEC on 8347).

Quoted 8 lines

The GETH driver calls 'of_phy_connect_fixed_link' which always gives me this error:
PHY 0:01 not found
net eth1: Could not attach to PHY

How can I get the GETH driver to just accept the pseudo PHY connection specified by
fixed-link = <1 1 1000 0 0>;

Figured it out - my ethernet node in the device tree has to be called 'ethernet' for the fixed PHY emulation to see the fixed-link properties.

Seems rather limited, but I don't have time to change it.

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------