[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1a87fb7e-dfea-f5f5-904b-25204ef24f91@eks-engel.de>
Date: Thu, 13 Jun 2019 07:40:31 +0200
From: Benjamin Beckmeyer <beb@...-engel.de>
To: Andrew Lunn <andrew@...n.ch>
CC: <netdev@...r.kernel.org>
Subject: Re: DSA setup IMX6ULL and Marvell 88E6390 with 2 Ethernet Phys - CPU
Port is not working
>> 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
Powered by blists - more mailing lists