Adds support for RT3883 and related families to mtk_eth_soc. It is similar enough to MT7628 that it can be added alongside the branches for MT7628. Tested on ASUS RT-N56U, RT3662F, an RT3883 family chip. Not tested on the other chips added in the patch series, those patches are RFT. If there are no testers for this, I will remove it in later revisions. Related OpenWrt PR: https://github.com/openwrt/openwrt/pull/26849 MDIO, the PPE and reset recovery are not supported yet. RT305x also needs a driver for its embedded switch, which is not upstream. The rt3883.dtsi ethernet node will be submitted separately to the MIPS tree. Ho Jie Feng (13): net: ethernet: mtk_eth_soc: reset PDMA TX completion index on ring setup net: ethernet: mtk_eth_soc: move PDMA TX ring registers to the register map net: ethernet: mtk_eth_soc: add a per-SoC TX done interrupt mask net: ethernet: mtk_eth_soc: complete PDMA TX on the right MAC dt-bindings: net: mediatek,net: fix the ralink,rt5350-eth constraints dt-bindings: net: mediatek,net: add ralink,rt3883-eth net: ethernet: mtk_eth_soc: use BIT_ULL() for the required clocks net: ethernet: mtk_eth_soc: add RT3883 support net: ethernet: mtk_eth_soc: allow building for RT5350 dt-bindings: net: mediatek,net: add ralink,rt2880-eth net: ethernet: mtk_eth_soc: add RT2880 support dt-bindings: net: mediatek,net: add ralink,rt3050-eth net: ethernet: mtk_eth_soc: add RT305x support .../devicetree/bindings/net/mediatek,net.yaml | 67 ++- drivers/net/ethernet/mediatek/Kconfig | 3 +- drivers/net/ethernet/mediatek/mtk_eth_soc.c | 383 +++++++++++++++--- drivers/net/ethernet/mediatek/mtk_eth_soc.h | 75 +++- 4 files changed, 466 insertions(+), 62 deletions(-) base-commit: d5cf954cebe4f175dfd834e1dc471a3aa203ec7d
-- 2.53.0