Thread (26 messages) 26 messages, 4 authors, 17d ago

Re: [PATCH 3/3] net: stmmac: dwmac-socfpga: Add mac-mode DT property support

From: Maxime Chevallier <maxime.chevallier@bootlin.com>
Date: 2026-06-30 14:05:08
Also in: linux-arm-kernel, linux-devicetree, lkml

On 6/30/26 16:02, Andrew Lunn wrote:
On Tue, Jun 30, 2026 at 06:31:08AM -0700, muhammad.nazim.amirul.nazle.asmade@altera.com wrote:
quoted
From: Nazim Amirul <redacted>

Russell King's commit de696c63c1dc ("net: stmmac: socfpga: convert to
use phy_interface") replaced mac_interface with phy_interface in
socfpga_get_plat_phymode(), noting that no upstream DTS files set the
"mac-mode" property, making the two values identical.

The Agilex5 SoCDK TSN Config2 board is an exception: its gmac1 TSN
port uses GMII internally in the MAC while the PHY-side interface is
RGMII, so mac-mode and phy-mode differ.
Maybe you need to represent the hardware block which magically
converts GMII to RGMII in DT?
Yeah that's what we have on CycloneV, and we force the INTF_SEL to GMII if that
HW block is present. I wonder if there's the same on agileX5 ?
	 Andrew
  
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help