>> 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 > Hi Andrew, after you helped me a lot with my other custom board this board is now up and running too.
I deleted the whole MDIO part from the device tree except the external MDIO part (mdio1) and set up the bridge. For both boards I haven't tested the fiber (serdes) channels but I will soon. When I'm running into problems with that, I will contact the mailing list again. Thanks, Benjamin