Thread (34 messages) flat view 34 messages, 5 authors, 17d ago

Re: [PATCH v2 03/10] phy: rockchip: naneng-combphy: add SGMII MAC selection for RK3568

From: Andrew Lunn <andrew@lunn.ch>
Date: 2026-08-01 20:59:17
Also in: linux-arm-kernel, linux-devicetree, linux-phy, linux-renesas-soc, linux-rockchip, lkml

On Sat, Aug 01, 2026 at 10:22:27PM +0800, Coia Prant wrote:
On RK3568, the SGMII interface can be routed to either GMAC0 or
GMAC1 via the GRF register pipe_sgmii_mac_sel.

Add support for this selection by introducing
the "rockchip,sgmii-mac-sel" DT property.

The hardware reset value is GMAC1 (1). If the property is set to 0,
the driver routes SGMII to GMAC0; if set to 1 (or omitted), it
remains at GMAC1.

This is necessary for boards such as the Ariaboard Photonicat, which
uses the SGMII interface connected to GMAC0.
If SGMII is not selected, what MII is used? RGMII?

Can this setting be implied from phy-mode?

	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