Skip to content

Commit ffda5c6

Browse files
Rubuschkuba-moo
authored andcommitted
net: stmmac: add support for dwmac 3.72a
The dwmac 3.72a is an ip version that can be found on Intel/Altera Arria10 SoCs. Going by the hardware features "snps,multicast-filter-bins" and "snps,perfect-filter-entries" shall be supported. Thus add a compatibility flag, and extend coverage of the driver for the 3.72a. Signed-off-by: Lothar Rubusch <[email protected]> Reviewed-by: Andrew Lunn <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
1 parent 7a4ea5d commit ffda5c6

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

drivers/net/ethernet/stmicro/stmmac/dwmac-generic.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ static const struct of_device_id dwmac_generic_match[] = {
5656
{ .compatible = "snps,dwmac-3.610"},
5757
{ .compatible = "snps,dwmac-3.70a"},
5858
{ .compatible = "snps,dwmac-3.710"},
59+
{ .compatible = "snps,dwmac-3.72a"},
5960
{ .compatible = "snps,dwmac-4.00"},
6061
{ .compatible = "snps,dwmac-4.10a"},
6162
{ .compatible = "snps,dwmac"},

drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -522,6 +522,7 @@ stmmac_probe_config_dt(struct platform_device *pdev, u8 *mac)
522522
if (of_device_is_compatible(np, "st,spear600-gmac") ||
523523
of_device_is_compatible(np, "snps,dwmac-3.50a") ||
524524
of_device_is_compatible(np, "snps,dwmac-3.70a") ||
525+
of_device_is_compatible(np, "snps,dwmac-3.72a") ||
525526
of_device_is_compatible(np, "snps,dwmac")) {
526527
/* Note that the max-frame-size parameter as defined in the
527528
* ePAPR v1.1 spec is defined as max-frame-size, it's

0 commit comments

Comments
 (0)