net: stmmac: Add RK3566/RK3568 SoC support
authorDavid Wu <david.wu@rock-chips.com>
Mon, 17 May 2021 15:40:37 +0000 (12:40 -0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 17 May 2021 22:34:43 +0000 (15:34 -0700)
commit3bb3d6b1c1957e88bfc5e77a4557f7e6ba761fe3
tree340b1f91fe2ea48c24911dc409ace6a588ebac65
parentf9da1c9d7fb5e26272a060089c19823f748aab73
net: stmmac: Add RK3566/RK3568 SoC support

Add constants and callback functions for the dwmac present
on RK3566/RK3568 SoCs.

RK3568 has two MACs, and RK3566 just one, but it's otherwise
the same IP core.

Signed-off-by: David Wu <david.wu@rock-chips.com>
[Ezequiel: Separate rk3566-gmac support]
Signed-off-by: Ezequiel Garcia <ezequiel@collabora.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c