All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] Add support for TH1520-integrated GMACs
@ 2025-07-10  3:41 Yao Zi
  2025-07-10  3:41 ` [PATCH 1/5] clk: thead: th1520-ap: Correctly handle flags for dividers Yao Zi
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: Yao Zi @ 2025-07-10  3:41 UTC (permalink / raw)
  To: Tom Rini, Rick Chen, Leo, Wei Fu, Yixun Lan, Lukasz Majewski,
	Sean Anderson, Joe Hershberger, Ramon Fried, Maksim Kiselev,
	Jaehoon Chung
  Cc: u-boot, Han Gao, Han Gao, Yao Zi

TH1520 SoC integrates two MAC controllers based on Designware IP that
could operate at 1 Gbps. This series ports the MAC glue driver from
Linux, and then enables networking on the TH1520-based Lichee Pi 4A
board.

The driver could send and receive data correctly under link speed of
10Mbps, 100Mbps and 1Gbps. Under 1Gbps, tftp could transfer data at
more than 10MiB/s.

Note the bug fixed by the first patch doesn't cause any problem with
existing supported peripherals, thus the fix isn't urgent.

Yao Zi (5):
  clk: thead: th1520-ap: Correctly handle flags for dividers
  riscv: cpu: th1520: Limit upper RAM boundary to 4 GiB
  drivers: net: Add T-Head DWMAC glue layer
  riscv: dts: th1520: Describe GMACs and enable them on Lichee Pi 4A
  configs: th1520_lpi4a: Enable network support

 MAINTAINERS                                 |   1 +
 arch/riscv/cpu/th1520/dram.c                |  16 ++
 arch/riscv/dts/th1520-lichee-module-4a.dtsi | 119 ++++++++
 arch/riscv/dts/th1520.dtsi                  |  42 +++
 configs/th1520_lpi4a_defconfig              |   7 +-
 drivers/clk/thead/clk-th1520-ap.c           |   4 +-
 drivers/net/Kconfig                         |   8 +
 drivers/net/Makefile                        |   1 +
 drivers/net/dwmac_thead.c                   | 288 ++++++++++++++++++++
 9 files changed, 484 insertions(+), 2 deletions(-)
 create mode 100644 drivers/net/dwmac_thead.c

-- 
2.50.0


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2025-07-17  5:55 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-10  3:41 [PATCH 0/5] Add support for TH1520-integrated GMACs Yao Zi
2025-07-10  3:41 ` [PATCH 1/5] clk: thead: th1520-ap: Correctly handle flags for dividers Yao Zi
2025-07-17  5:44   ` Leo Liang
2025-07-10  3:41 ` [PATCH 2/5] riscv: cpu: th1520: Limit upper RAM boundary to 4 GiB Yao Zi
2025-07-17  5:51   ` Leo Liang
2025-07-10  3:41 ` [PATCH 3/5] drivers: net: Add T-Head DWMAC glue layer Yao Zi
2025-07-17  5:52   ` Leo Liang
2025-07-10  3:42 ` [PATCH 4/5] riscv: dts: th1520: Describe GMACs and enable them on Lichee Pi 4A Yao Zi
2025-07-17  5:53   ` Leo Liang
2025-07-10  3:42 ` [PATCH 5/5] configs: th1520_lpi4a: Enable network support Yao Zi
2025-07-17  5:55   ` Leo Liang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.