From: Greg Ungerer <gerg@kernel.org>
To: Andrew Lunn <andrew@lunn.ch>
Cc: "netdev@vger.kernel.org" <netdev@vger.kernel.org>
Subject: Re: [PATCH net] net: dsa: mv88e6xxx: Set correct interface mode for CPU/DSA ports
Date: Wed, 29 May 2019 11:12:34 +1000 [thread overview]
Message-ID: <e7011587-8b09-acec-8640-96a34d20219a@kernel.org> (raw)
In-Reply-To: <20190528131705.GB18059@lunn.ch>
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
next prev parent reply other threads:[~2019-05-29 1:12 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-24 1:25 [PATCH net] net: dsa: mv88e6xxx: Set correct interface mode for CPU/DSA ports Greg Ungerer
2019-05-24 13:44 ` Andrew Lunn
2019-05-27 1:26 ` Greg Ungerer
2019-05-28 13:17 ` Andrew Lunn
2019-05-29 1:12 ` Greg Ungerer [this message]
-- strict thread matches above, loose matches on Subject: below --
2019-03-08 0:21 Andrew Lunn
2019-03-09 7:02 ` David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=e7011587-8b09-acec-8640-96a34d20219a@kernel.org \
--to=gerg@kernel.org \
--cc=andrew@lunn.ch \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).