From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Lunn Subject: Re: DSA support for Marvell 88e6065 switch Date: Mon, 19 Nov 2018 04:25:35 +0100 Message-ID: <20181119032535.GA15561@lunn.ch> References: <20181115195111.GA9946@amd> <20181115202618.GF32274@lunn.ch> <20181118180712.GA16507@amd> <20181118182053.GE7446@lunn.ch> <20181118201528.GA18518@amd> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: netdev@vger.kernel.org, f.fainelli@gmail.com, buytenh@marvell.com, buytenh@wantstofly.org, nico@marvell.com To: Pavel Machek Return-path: Received: from vps0.lunn.ch ([185.16.172.187]:39916 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726903AbeKSNru (ORCPT ); Mon, 19 Nov 2018 08:47:50 -0500 Content-Disposition: inline In-Reply-To: <20181118201528.GA18518@amd> Sender: netdev-owner@vger.kernel.org List-ID: > If I wanted it to work, what do I need to do? AFAICT phy autoprobing > should just attach it as soon as it is compiled in? Nope. It is a switch, not a PHY. Switches are never auto-probed because they are not guaranteed to have ID registers. You need to use the legacy device tree binding. Look in Documentation/devicetree/bindings/net/dsa/dsa.txt, section Deprecated Binding. You can get more examples if you checkout old kernels. Or kirkwood-rd88f6281.dtsi, the dsa { } node which is disabled. Andrew