From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexandre Belloni Subject: Re: [PATCH net-next v2 5/7] MIPS: mscc: Add switch to ocelot Date: Fri, 27 Apr 2018 09:40:58 +0200 Message-ID: <20180427074058.GW4813@piout.net> References: <20180426195931.5393-1-alexandre.belloni@bootlin.com> <20180426195931.5393-6-alexandre.belloni@bootlin.com> <20180426205113.GD23481@lunn.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: "David S . Miller" , Allan Nielsen , razvan.stefanescu@nxp.com, po.liu@nxp.com, Thomas Petazzoni , Florian Fainelli , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mips@linux-mips.org, James Hogan To: Andrew Lunn Return-path: Content-Disposition: inline In-Reply-To: <20180426205113.GD23481@lunn.ch> Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org On 26/04/2018 22:51:13+0200, Andrew Lunn wrote: > > + > > + mdio0: mdio@107009c { > > + #address-cells = <1>; > > + #size-cells = <0>; > > + compatible = "mscc,ocelot-miim"; > > + reg = <0x107009c 0x36>, <0x10700f0 0x8>; > > + interrupts = <14>; > > + status = "disabled"; > > + > > + phy0: ethernet-phy@0 { > > + reg = <0>; > > + }; > > + phy1: ethernet-phy@1 { > > + reg = <1>; > > + }; > > + phy2: ethernet-phy@2 { > > + reg = <2>; > > + }; > > + phy3: ethernet-phy@3 { > > + reg = <3>; > > + }; > > Hi Alexandre > > These are internal PHYs? Is there an option to use external PHYs for > the ports which have internal PHYs? > > I'm just wondering if they should be linked together by default. Or a > comment added to the commit message about why they are not linked > together here. > They are dual media ports so they are not necessarily using the integrated PHY but can use SerDEs1G lanes. I'll add that to the commit message. -- Alexandre Belloni, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering https://bootlin.com