[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <e7011587-8b09-acec-8640-96a34d20219a@kernel.org>
Date: Wed, 29 May 2019 11:12:34 +1000
From: Greg Ungerer <gerg@...nel.org>
To: Andrew Lunn <andrew@...n.ch>
Cc: "netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: Re: [PATCH net] net: dsa: mv88e6xxx: Set correct interface mode for
CPU/DSA ports
Hi Andrew,
On 28/5/19 11:17 pm, Andrew Lunn wrote:
>> My hardware has the CPU port on 9, and it is SGMII. The existing working
>> devicetree setup I used is:
>>
>> port@9 {
>> reg = <9>;
>> label = "cpu";
>> ethernet = <ð0>;
>> fixed-link {
>> speed = <1000>;
>> full-duplex;
>> };
>> };
>
> Hi Greg
>
> You might need to set the phy-mode to SGMII. I'm surprised you are
> using SGMII, not 1000Base-X. Do you have a PHY connected?
No, no PHY connected. Direct Armada 380 to 6390 switch with SGMII.
Adding
phy-mode = "sgmii";
to that port fixes it.
Thanks!
Greg
Powered by blists - more mailing lists