forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-11-06 9df731a176aab8e03b984b681b1bea01ccff6644
kernel/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c
....@@ -469,6 +469,14 @@
469469 plat->pmt = 1;
470470 }
471471
472
+ if (of_device_is_compatible(np, "snps,dwmac-3.40a")) {
473
+ plat->has_gmac = 1;
474
+ plat->enh_desc = 1;
475
+ plat->tx_coe = 1;
476
+ plat->bugged_jumbo = 1;
477
+ plat->pmt = 1;
478
+ }
479
+
472480 if (of_device_is_compatible(np, "snps,dwmac-4.00") ||
473481 of_device_is_compatible(np, "snps,dwmac-4.10a") ||
474482 of_device_is_compatible(np, "snps,dwmac-4.20a")) {