> thanks for your reply. You're right, both PHYs are 10/100.
> 
> I already added a fixed-link like this:
> 
>                       port@0 {
>                               reg = <0>;
>                               label = "cpu";
>                               ethernet = <&fec1>;
>                               phy-mode = "rmii";
>                               phy-handle = <&switch0phy0>;
>                                 fixed-link {
>                                         speed = <100>;
>                                         full-duplex;
>                                 };
>                       };
> 
> I hope you mean that with fixed-phy? But this doesn't changed anything.

You probably have multiple issues, and it is not going to work until
you have them all solved.

You can get access to the registers etc, using patches from:

https://github.com/vivien/linux.git dsa/debugfs

I've only seen the external MDIO bus on the 6390 used for C45 PHYs. So
there is a chance the driver code for C22 is broken?

      Andrew

Reply via email to