This series adds support for the Ethernet MACs integrated in the SpacemiT K1 SoC, which includes adding a k1_emac driver with MDIO and PHYLIB support for RGMII and RMII operation, enabling it in the k1 defconfig, and adding MAINTAINERS coverage on new directory.
The k1_emac driver in series draws upon Vivian Wang's work [1]. To make it simple and working, driver which using small ring-buffers operates primarily on polling and only implements basic functions. Tested on both Banana Pi F3 Ethernet ports with RTL8211F PHYs at 1000 Mbps full duplex, and tested command: dhcp, ping, tftp, etc. [1]: https://lore.kernel.org/all/[email protected]/ Signed-off-by: Zixian Zeng <[email protected]> --- Zixian Zeng (3): net: k1: add Ethernet MAC driver configs: k1: enable Ethernet support MAINTAINERS: spacemit: add K1 Ethernet driver board/spacemit/k1/MAINTAINERS | 1 + configs/spacemit_k1_defconfig | 6 + drivers/net/Kconfig | 1 + drivers/net/Makefile | 1 + drivers/net/spacemit/Kconfig | 15 + drivers/net/spacemit/Makefile | 3 + drivers/net/spacemit/k1_emac.c | 952 +++++++++++++++++++++++++++++++++++++++++ 7 files changed, 979 insertions(+) --- base-commit: a000f2af240eaa996cec92f8d44bad96fdf3f898 change-id: 20260926-b4-k1-emac-fa5f2b146f38 Best regards, -- Zixian Zeng <[email protected]>
