Re: [PATCH net] net: ag71xx: let both QCA9550 MACs use MII, RGMII and SGMII

From: Paolo Abeni

Date: Thu Nov 12 2026 - 06:10:24 EST


On 11/6/26 23:16, Rosen Penev wrote:
The GE0_SGMII bit of the QCA955x ETH_CFG register selects which GMAC
gets the SerDes (QCA9558 datasheet, 10.8.1): when it is clear, GMAC0
connects as RGMII/MII and GMAC1 as SGMII, and when it is set, the other
way around. The driver only allows the second layout, with SGMII on
GMAC0 and RGMII/MII on GMAC1, but boards like the TP-Link Archer C7
use the first one, with GMAC0 on RGMII.

Allow MII, RGMII and SGMII on both MACs.

Tested on Archer C7 v2. RGMII on port 0 of the switch works.

Fixes: 0767ec042897 ("net: ag71xx: extend link validation to support other SoCs")
Signed-off-by: Rosen Penev <rosenp@xxxxxxxxx>
IMHO this is not net material.

Applying to net-next.

/P