net: phy: mxl-gpy: add 2.5G for MXL86211C

The MXL86211C also supports 2.5G via 2500BASEX, switch the config init
to indicate support for that mode. Datasheet checks indicate that the
2.5G speed indication is the same between GPY211 & MXL86211C.

The same should be true for MXL86252 & MXL86282, those are not modified
for a lack of testing hardware.

With this change 2.5G negotiates correctly with a Mikrotik
CRS310-8G+2S+IN.

Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Rouven Czerwinski <rouven.czerwinski@linaro.org>
Link: https://patch.msgid.link/20260924-mainline-rouven-mxl2g5-v2-1-fc8367a4c3ad@linaro.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
Rouven Czerwinski 2026-09-24 12:48:18 +02:00 committed by Jakub Kicinski
parent 3c21842f99
commit 83cfac9d70

View File

@ -1405,7 +1405,7 @@ static struct phy_driver gpy_drivers[] = {
PHY_ID_MATCH_MODEL(PHY_ID_MXL86211C),
.name = "Maxlinear Ethernet MxL86211C",
.get_features = genphy_c45_pma_read_abilities,
.config_init = gpy_config_init,
.config_init = gpy21x_config_init,
.probe = gpy_probe,
.inband_caps = gpy_inband_caps,
.config_inband = gpy_config_inband,