[PATCH v4 0/9] Add ethernet support for genio 520/720 EVK boards
Julien Stephan
jstephan at baylibre.com
Wed Apr 29 15:58:53 CEST 2026
This series adds ethernet support for genio 520/720 boards.
Particularly, it adds the following components:
- PHY driver for Airoha AN8801 (air_an8801.c).
- Synopsys DWC Ethernet QOS device support for MediaTek SoCs
This has been tested with a genio-520 evk board with the following
commands:
=> dhcp
DHCP client bound to address 192.168.1.44 (2246 ms)
=> ping 8.8.8.8
Using ethernet at 1101a000 device
host 8.8.8.8 is alive
The series also add a new entry in MAINTAINERS file for
drivers/net/phy/airoha/ drivers.
I also took the opportunity to do some cleanup on MAINTAINERS
drivers/net/Makefile and drivers/net/Kconfig files
Signed-off-by: Julien Stephan <jstephan at baylibre.com>
---
Changes in v4:
- Fix missing typo in config name PHY_AIROHA_PHYLIB in
drivers/net/phy/airoha/Makefile
- Link to v3: https://lore.kernel.org/r/20260429-add-ethernet-support-for-genio-520-720-v3-0-1f65e18d4f54@baylibre.com
Changes in v3:
- Rebased on mediatek-for-master to fix conflicts
- Fix possible uninitialized use of tx_delay_ps and rx_delay_ps.
- Fix typo in config name PHY_AIROHA_PHYLIB
- Use consistent dev_err isntead of mixed dev_err/pr_err
- Replace calloc(1, ...) by malloc()
- Update error message and return value for syscon_node_to_regmap()
- Update some variable name to save useless comments
- Link to v2: https://lore.kernel.org/r/20260428-add-ethernet-support-for-genio-520-720-v2-0-9cf2f0884bd8@baylibre.com
Changes in v2:
- various code cleanup as requested by David in v1 such as: tempalte
name, removed unnecessary defines, properly propagate error codes, fix
indentation.. No functional changes introduced.
- Link to v1: https://lore.kernel.org/r/20260423-add-ethernet-support-for-genio-520-720-v1-0-47ca918e0017@baylibre.com
---
Julien Stephan (9):
MAINTAINERS: remove trailing colons from section titles
MAINTAINERS: add maintainer entry for air_en8811 driver
net: Fix alphabetical ordering in drivers/net/Makefile
net: Fix alphabetical ordering in drivers/net/Kconfig
net: phy: air_phy_lib: Factorize BuckPBus register
net: phy: Add airoha AN8801 ethernet phy driver
net: dwc_eth_qos: Add mediatek support
arm: dts: mt8189: Add ethernet support for Genio 520/720 boards
configs: mt8189: Enable ethernet support
MAINTAINERS | 13 +-
arch/arm/dts/mt8189.dtsi | 77 +++++
arch/arm/dts/mt8371-genio-common.dtsi | 83 +++++
configs/mt8189.config | 5 +
drivers/net/Kconfig | 35 +-
drivers/net/Makefile | 11 +-
drivers/net/dwc_eth_qos.c | 6 +
drivers/net/dwc_eth_qos.h | 2 +
drivers/net/dwc_eth_qos_mtk.c | 442 +++++++++++++++++++++++++
drivers/net/phy/airoha/Kconfig | 13 +
drivers/net/phy/airoha/Makefile | 2 +
drivers/net/phy/airoha/air_an8801.c | 594 ++++++++++++++++++++++++++++++++++
drivers/net/phy/airoha/air_en8811.c | 304 ++++-------------
drivers/net/phy/airoha/air_phy_lib.c | 216 +++++++++++++
drivers/net/phy/airoha/air_phy_lib.h | 39 +++
15 files changed, 1582 insertions(+), 260 deletions(-)
---
base-commit: 6c881e9980594a468e9f875187e5e4d30a22bcbd
change-id: 20260416-add-ethernet-support-for-genio-520-720-0e243fae437a
Best regards,
--
Julien Stephan <jstephan at baylibre.com>
More information about the U-Boot
mailing list