From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D6F2F36A343 for ; Tue, 12 May 2026 12:39:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=156.67.10.101 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778589555; cv=none; b=VFfaCbu/7eeE4JVHifr76W0FoVgCN68/GBZNauXWeKLWPxz9EfNL9UiN7Y5PKbc3p6Jxi+n3kMOS+2eXQDmhdSZl5zpdJY7t+78MAhbnf275YmiymYwnloFmS6BWnqLeOuSuFpPpTOlCv1EZDM3pYbkx/3KoQRue8SAuS+c/ZG0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778589555; c=relaxed/simple; bh=Rz/65pv7HQA4lh+u2l05XrHxcptLoi7N+HXifJUf99c=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=uf1y8vbPBHgB21/FJNUHjOKSBTEqyVtVQndd5nvR60cFUrcp5mEhKoReF8RswRXn4ISEQOLDI1XdUfXHvBy7fGzxEXw81yFkrrHDiahyLPeGJNoodeEXALzfRmxMFiXL76uqklP4FDqXNnB1L2rgMSyC36obpnL3FqAB1dfq/pg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch; spf=pass smtp.mailfrom=lunn.ch; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b=uKwpfeBp; arc=none smtp.client-ip=156.67.10.101 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lunn.ch Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b="uKwpfeBp" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=XcA6QnZVPpX6xEnYNB4CQPVgtp66izVY9T2pg47uM/Y=; b=uKwpfeBprf6rfhJBkMALS+HxNq 2zj4pNcygN0kOndGAC1N3LBFLwLcM4tQrZZ3y8EgTqFVteRm/qS//azjttnzNZTgNaILfykqQIT6R 4yxQb3FjwRZ+7kpxTXyEp3cQQXLu5v4qSJHYErLz807izAYobJhnanVNzREgh5zXsXVk=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1wMmO8-002Xmq-0y; Tue, 12 May 2026 14:39:04 +0200 Date: Tue, 12 May 2026 14:39:04 +0200 From: Andrew Lunn To: Tiju Jacob Cc: netdev@vger.kernel.org, Vivien Didelot , Florian Fainelli , Vladimir Oltean Subject: Re: mv88e6xxx: 88E6320 =?utf-8?Q?external_?= =?utf-8?Q?PHY_on_MDC=5FPHY=2FMDIO=5FPHY_-_=28GPIO_7=2F8=29_?= =?utf-8?B?4oCU?= is mdio-gpio the right approach? Message-ID: <1b509630-5c2e-4763-af07-28cd165678fa@lunn.ch> References: Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Tue, May 12, 2026 at 07:32:19AM -0400, Tiju Jacob wrote: > Hi All, > > We have an 88E6320 (marvell,mv88e6085) with an 88E1512 PHY on Port 5. > > The PHY's MDIO is wired to the switch's MDC_PHY/MDIO_PHY pins (52/53 > =GPIO 7/8), which are separate physical pins from MDC_CPU/MDIO_CPU > (54/55) used by the CPU. GPIO 7/8 read HIGH as inputs confirming the > PHY is alive. > > We tested exhaustively at runtime: marvell,mv88e6xxx-mdio-external, marvell,mv88e6xxx-mdio-external is for the 6390 family and newer. It is not relevant for the 6320. The 6320 has one MDIO bus, covering both the internal and external devices. What address do you have the 88E1512 PHY strapped to? You need to avoid the internal devices. Ideally you want it on address 5, but it can be other addresses. Andrew