[PATCH 0/6] riscv: adds T-Head C9xx basic and GMAC support.

wefu at redhat.com wefu at redhat.com
Wed Mar 27 09:07:21 CET 2024


From: Wei Fu <wefu at redhat.com>

This patchset adds T-Head C9xx basic support in arch/riscv/,
updates TH1520 Soc/Lichee Pi4A dts files for GMAC support.
Also enable designware ethernet & realtek phy in default configs,
and some boot env option for booting linux from Ethernet. 

Signed-off-by: Wei Fu <wefu at redhat.com>
Co-authored-by: Yixun Lan <dlan at gentoo.org>

Wei Fu (6):
  cpu: add t-head's c9xx
  riscv/dts: add gmac node for th1520.
  riscv/dts: add gmac node for lichee-pi-4a
  net/designware: add compatible for "snps,dwmac"
  config/th1520_lpi4a_defconfig:enable designware ethernet & realtek phy
  config/th1520_lpi4a.h: add more env option for booting linux

 arch/riscv/Kconfig                     |  1 +
 arch/riscv/cpu/c9xx/Kconfig            | 12 ++++++
 arch/riscv/cpu/c9xx/Makefile           |  5 +++
 arch/riscv/cpu/c9xx/cpu.c              | 51 ++++++++++++++++++++++++++
 arch/riscv/cpu/c9xx/dram.c             | 36 ++++++++++++++++++
 arch/riscv/dts/th1520-lichee-pi-4a.dts |  5 +++
 arch/riscv/dts/th1520.dtsi             | 33 +++++++++++++++++
 arch/riscv/include/asm/csr.h           |  2 +
 board/thead/th1520_lpi4a/Kconfig       |  3 +-
 configs/th1520_lpi4a_defconfig         |  8 +++-
 drivers/net/designware.c               |  1 +
 include/configs/th1520_lpi4a.h         | 12 ++++++
 12 files changed, 166 insertions(+), 3 deletions(-)
 create mode 100644 arch/riscv/cpu/c9xx/Kconfig
 create mode 100644 arch/riscv/cpu/c9xx/Makefile
 create mode 100644 arch/riscv/cpu/c9xx/cpu.c
 create mode 100644 arch/riscv/cpu/c9xx/dram.c

-- 
2.44.0



More information about the U-Boot mailing list