]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
net: stmmac: dwmac-renesas-gbeth: Add support for RZ/G3L SoC
authorBiju Das <biju.das.jz@bp.renesas.com>
Sat, 31 Jan 2026 16:12:43 +0000 (16:12 +0000)
committerJakub Kicinski <kuba@kernel.org>
Tue, 3 Feb 2026 03:12:15 +0000 (19:12 -0800)
Compared to other Renesas GBETH stmmac glue drivers, RZ/G3L GBETH IP use
the version Synopsys DesignWare MAC (version 5.30). It has an extra clock
compared to RZ/V2H and has ptp_pps_o interrupts. Add support for RZ/G3L
GBETH by reusing device data of RZ/V2H and can be extended to add other
functionalities later.

Reviewed-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Link: https://patch.msgid.link/20260131161250.5047-3-biju.das.jz@bp.renesas.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/stmicro/stmmac/dwmac-renesas-gbeth.c

index be7f5eb2cdcf3e41c52db7bc8ff376a263afa58c..19f34e18bfef2c96a61d817b90f10a7896176c32 100644 (file)
@@ -214,6 +214,7 @@ static const struct renesas_gbeth_of_data renesas_gmac_of_data = {
 };
 
 static const struct of_device_id renesas_gbeth_match[] = {
+       { .compatible = "renesas,r9a08g046-gbeth", .data = &renesas_gbeth_of_data },
        { .compatible = "renesas,r9a09g077-gbeth", .data = &renesas_gmac_of_data },
        { .compatible = "renesas,rzv2h-gbeth", .data = &renesas_gbeth_of_data },
        { /* Sentinel */ }