lkml.org 
[lkml]   [2019]   [Feb]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] net: dsa: add missing phy address offset
Date
On Wed, Feb 20, 2019 at 08:31:22PM +0100, Andrew Lunn wrote:
> On Wed, Feb 20, 2019 at 11:27:16AM -0800, Florian Fainelli wrote:
> > On 2/20/19 10:15 AM, Marcel Reichmuth wrote:
> >
> > You are supposed to describe the port to PHY mapping using the binding,
> > so for instance:
> >
> > ports {
> > port@0 {
> > reg = <0>;
> > phy-handle = <&phy1>;
> > };
> >
> > };
> >
> > mdio {
> > phy1: phy@1 {
> > reg = <1>;
> > };
> > };
> >
> > etc. is not that working for you?
>
>
> The Espressobin does exactly this:
>
> arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts
>
> It also uses the 6341.
>
Thank you very much for your hints. Yes that works indeed too. I
just assumed it was intended to work automatically with the
built-in phys as it does with the other switches I am using.

\
 
 \ /
  Last update: 2019-02-21 08:54    [W:0.049 / U:0.072 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site