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

Andrew Lunn andrew at lunn.ch
Sat Aug 1 13:58:39 PDT 2026


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



More information about the linux-phy mailing list