]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
net: stmmac: dwmac-socfpga: Add xgmac support for Agilex5
authorMun Yew Tham <mun.yew.tham@altera.com>
Thu, 24 Jul 2025 15:40:51 +0000 (08:40 -0700)
committerJakub Kicinski <kuba@kernel.org>
Fri, 25 Jul 2025 23:55:38 +0000 (16:55 -0700)
Add support for Agilex5 compatible value.

Signed-off-by: Mun Yew Tham <mun.yew.tham@altera.com>
Signed-off-by: Matthew Gerlach <matthew.gerlach@altera.com>
Link: https://patch.msgid.link/20250724154052.205706-5-matthew.gerlach@altera.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/stmicro/stmmac/dwmac-socfpga.c

index 72b50f6d72f4d52b4e33eb70b4ab0420cea723a4..01dd0cf0923cab07d2b273fe84b9d40e2296084d 100644 (file)
@@ -515,6 +515,7 @@ static const struct socfpga_dwmac_ops socfpga_gen10_ops = {
 static const struct of_device_id socfpga_dwmac_match[] = {
        { .compatible = "altr,socfpga-stmmac", .data = &socfpga_gen5_ops },
        { .compatible = "altr,socfpga-stmmac-a10-s10", .data = &socfpga_gen10_ops },
+       { .compatible = "altr,socfpga-stmmac-agilex5", .data = &socfpga_gen10_ops },
        { }
 };
 MODULE_DEVICE_TABLE(of, socfpga_dwmac_match);