net: ethernet: stmmac: dwmac-rk: Add gmac support for rk3588
authorDavid Wu <david.wu@rock-chips.com>
Tue, 30 Aug 2022 15:45:58 +0000 (17:45 +0200)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 1 Sep 2022 09:53:07 +0000 (11:53 +0200)
commit2f2b60a0ec2826e5a2b2a1ddf68994a868dccbc1
tree76b618143dbfabf0741b69c1ca72ba71c8dab12a
parent99c969a83d8275bb396f6209dff2aa4cedaeb644
net: ethernet: stmmac: dwmac-rk: Add gmac support for rk3588

Add constants and callback functions for the dwmac on RK3588 soc.
As can be seen, the base structure is the same, only registers
and the bits in them moved slightly.

Signed-off-by: David Wu <david.wu@rock-chips.com>
[rebase, squash fixes]
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c