[PATCH net-next v4 0/2] net: stmmac: Add RK3572 support
Cunhao Lu via B4 Relay
devnull+1579567540.qq.com at kernel.org
Tue Nov 17 01:04:34 PST 2026
This is one of the subsystem submissions for RK3572 support.
This series adds the RK3572 GMAC bindings and support for both Ethernet
controllers in the Rockchip stmmac glue driver. It provides RGMII and
RMII mode and clock control, with MAC RGMII delays disabled.
The RK3572 SoC has eight CPU cores: two Cortex-A73 cores and six
Cortex-A53 cores. It also integrates an Arm Mali-G310V2 MC1 GPU.
The OK3572-C board provides two Gigabit Ethernet ports, three USB3 Type-A
ports, a Type-C dual-role port, eMMC, microSD, and UART.
Testing was performed with Debian 13 minimal and Linux 7.3 on the
OK3572-C with the FET3572-C module.
Passed functionality:
- Both Ethernet ports obtain IPv4 addresses and pass bidirectional file
transfers.
Stability:
- Ethernet error and drop counters do not increase during bidirectional
network tests.
AI assistance:
- Codex / DeepSeek V4.1 Flash were used for:
- Reviewing and adjusting code style to follow community conventions
- Automating tests
- Collecting data
Signed-off-by: Cunhao Lu <1579567540 at qq.com>
---
Changes in v4:
- Skip legacy delay properties and disable MAC RGMII delays on RK3572.
- Link to v3:
https://patch.msgid.link/20261116-add-board-ok3572-c-net-v3-0-a957fdcd9c7a@qq.com
Changes in v3:
- Deprecate tx_delay and rx_delay and disallow them for RK3572.
- Link to v2:
https://patch.msgid.link/20261111-add-board-ok3572-c-net-v2-0-304466394970@qq.com
Changes in v2:
- Split the original RK3572 support series by subsystem.
- Add rockchip,rk3572-gmac to the shared Synopsys compatible list in
snps,dwmac.yaml.
- Link to v1:
https://patch.msgid.link/20261022-add-board-ok3572-c-v1-0-0b0fd85a31ee@qq.com
---
Raw dmesg: see the v1 cover letter.
To: Andrew Lunn <andrew+netdev at lunn.ch>
To: "David S. Miller" <davem at davemloft.net>
To: Eric Dumazet <edumazet at kernel.org>
To: Jakub Kicinski <kuba at kernel.org>
To: Paolo Abeni <pabeni at redhat.com>
To: Rob Herring <robh at kernel.org>
To: Krzysztof Kozlowski <krzk+dt at kernel.org>
To: Conor Dooley <conor+dt at kernel.org>
To: Heiko Stuebner <heiko at sntech.de>
To: David Wu <david.wu at rock-chips.com>
To: Alexandre Torgue <alexandre.torgue at foss.st.com>
To: Giuseppe Cavallaro <peppe.cavallaro at st.com>
To: Jose Abreu <joabreu at synopsys.com>
To: Maxime Chevallier <maxime.chevallier at bootlin.com>
To: Maxime Coquelin <mcoquelin.stm32 at gmail.com>
Cc: netdev at vger.kernel.org
Cc: devicetree at vger.kernel.org
Cc: linux-arm-kernel at lists.infradead.org
Cc: linux-rockchip at lists.infradead.org
Cc: linux-kernel at vger.kernel.org
Cc: linux-stm32 at st-md-mailman.stormreply.com
---
Cunhao Lu (2):
dt-bindings: net: rockchip-dwmac: Add RK3572
net: stmmac: dwmac-rk: Add RK3572 support
.../devicetree/bindings/net/rockchip-dwmac.yaml | 15 ++++
.../devicetree/bindings/net/snps,dwmac.yaml | 1 +
drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c | 94 +++++++++++++++++-----
3 files changed, 91 insertions(+), 19 deletions(-)
---
base-commit: 067c5c24cef23d913b67eaaf71ae67e7169a6620
change-id: 20261111-add-board-ok3572-c-net-4d45887c575f
Best regards,
--
Cunhao Lu <1579567540 at qq.com>
More information about the Linux-rockchip
mailing list