[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20201120000050.GV1804098@lunn.ch>
Date: Fri, 20 Nov 2020 01:00:50 +0100
From: Andrew Lunn <andrew@...n.ch>
To: Tobias Waldekranz <tobias@...dekranz.com>
Cc: Maxime Chevallier <maxime.chevallier@...tlin.com>,
Russell King - ARM Linux admin <linux@...linux.org.uk>,
Vivien Didelot <vivien.didelot@...il.com>,
Florian Fainelli <f.fainelli@...il.com>,
Heiner Kallweit <hkallweit1@...il.com>,
"David S. Miller" <davem@...emloft.net>,
Antoine Tenart <atenart@...nel.org>,
Thomas Petazzoni <thomas.petazzoni@...tlin.com>,
netdev@...r.kernel.org, linux-arm-kernel@...ts.infradead.org
Subject: Re: net: phy: Dealing with 88e1543 dual-port mode
> E.g. at Westermo we make switches with M12/M12X connectors [1] that
> sometimes have a 1G PHY behind a 2-pair M12 connector (for complicated
> legacy reasons). In such cases we have to remove 1000-HD/FD from the
> advertised link modes. Being able to describe that in the DT with
> something like:
>
> ethernet-phy@0 {
> mdi = "2-pair";
> };
We already have a max-speed property which could be used to do this.
It will remove the 1000-HD/FD from the link mode if you set it to 100.
Andrew
Powered by blists - more mailing lists