Re: [PATCH net-next 0/4] Add DWMAC glue driver for Motorcomm YT6801
From: Mingcong Bai
Date: Wed Oct 15 2025 - 04:59:26 EST
Hi Yao,
在 2025/10/15 00:47, Yao Zi 写道:
This series adds glue driver for Motorcomm YT6801 PCIe ethernet
controller, which is considered mostly compatible with DWMAC-4 IP by
inspecting the register layout[1]. It integrates a Motorcomm YT8531S PHY
(confirmed by reading PHY ID) and GMII is used to connect the PHY to
MAC[2].
The initialization logic of the MAC is mostly based on previous upstream
effort for the controller[3] and the Deepin-maintained downstream Linux
driver[4] licensed under GPL-2.0 according to its SPDX headers. However,
this series is a completely re-write of the previous patch series,
utilizing the existing DWMAC4 driver and introducing a glue driver only.
This series only aims to add basic networking functions for the
controller, features like WoL, RSS and LED control are omitted for now.
Testing is done on Loongson 3A5000 machine. Through a local GbE switch,
it reaches 871Mbps (TX)/942Mbps (RX) on average,
We (along with Xi Ruoyao and Runhua He) tested this patchset against v6.18-rc1 on the following platforms featuring YT6801:
- Loongson XA61201 (LoongArch, Loongson 3A6000-HV)
- Loongson AC612A0_V1.1 (LoongArch, Loongson 3C6000/S)
- Loongson XB612B0_V1.1 (LoongArch, Loongson 3B6000)
- MECHREVO WUJIE14-GX4HRXL (x86-64)
With performance within expectation and S3/reboot working. Both ports work on those with two interfaces (AC612A0_V1.1 and XB612B0_V1.1). LED indicators do not seem to work properly at this moment, but this was already described in your original email.
With that:
Tested-by: Mingcong Bai <jeffbai@xxxxxxx>
Tested-by: Runhua He <hua@xxxxxxx>
Tested-by: Xi Ruoyao <xry111@xxxxxxxxxxx>
Best Regards,
Mingcong Bai