Here's the third version of this patchset, taking the feedback from Heiko and Chen-Yu Tsai. Although this solution is a tad ugly as it hardcodes the register addresses, we believe it's the most robust approach. See: https://lore.kernel.org/netdev/CAGb2v67ZBR=XDFPeXQc429HNu_dbY__-KN50tvBW44fXMs78_w@xxxxxxxxxxxxxx/ This is tested on RK3566 EVB2 and seems to work well. Once the RK3568 devicetree lands upstream, we'll post patches to add network support for RK3566 and RK3568. Thanks! David Wu (2): net: stmmac: dwmac-rk: Check platform-specific ops net: stmmac: Add RK3566/RK3568 SoC support Ezequiel Garcia (2): net: stmmac: Don't set has_gmac if has_gmac4 is set dt-bindings: net: rockchip-dwmac: add rk3568 compatible string .../bindings/net/rockchip-dwmac.yaml | 30 ++-- .../net/ethernet/stmicro/stmmac/dwmac-rk.c | 158 +++++++++++++++++- 2 files changed, 173 insertions(+), 15 deletions(-) -- 2.30.0