[RESEND PATCH v1 0/4] riscv: Initial support for Lichee PI 4A board

Yixun Lan
2023-05-26T12:58:53Z

Sipeed's Lichee PI 4A board is based on T-HEAD's TH1520 SoC which consists of
quad core XuanTie C910 CPU, plus one C906 CPU and one E902 CPU.

In this series, the UART, basic device tree, CPU, PLIC are enabled, making it
capable of running in serial console mode.

Please note that, we rely on pre shipped vendor u-boot which run in M-Mode to
chain load this mainline u-boot either via eMMC storage or from tftp, thus the
pinctrl and clock setting are not implemented in this series, which certainly
can be improved later accordingly.

Also the device tree is coming from kernel which is submitted by Jisheng Zhang in
his patch V2 [1], it's still under review, so may change in the future.

[1] https://lore.kernel.org/all/20230518184541.2627-1-jszhang@kernel.org

Yixun Lan (4):
riscv: t-head: licheepi4a: initial support added
riscv: dts: t-head: Add basic device tree for Sipeed Lichee PI 4A
board
configs: th1520_lpi4a_defconfig: Add initial config
doc: t-head: lpi4a: document Lichee PI 4A board

arch/riscv/Kconfig | 5 +
arch/riscv/dts/Makefile | 1 +
arch/riscv/dts/th1520-lichee-module-4a.dtsi | 34 ++
arch/riscv/dts/th1520-lichee-pi-4a.dts | 32 ++
arch/riscv/dts/th1520.dtsi | 435 ++++++++++++++++++++
board/thead/th1520_lpi4a/Kconfig | 42 ++
board/thead/th1520_lpi4a/MAINTAINERS | 7 +
board/thead/th1520_lpi4a/Makefile | 5 +
board/thead/th1520_lpi4a/board.c | 14 +
configs/th1520_lpi4a_defconfig | 82 ++++
doc/board/index.rst | 1 +
doc/board/thead/index.rst | 9 +
doc/board/thead/lpi4a.rst | 112 +++++
include/configs/th1520_lpi4a.h | 22 +
14 files changed, 801 insertions(+)
create mode 100644 arch/riscv/dts/th1520-lichee-module-4a.dtsi
create mode 100644 arch/riscv/dts/th1520-lichee-pi-4a.dts
create mode 100644 arch/riscv/dts/th1520.dtsi
create mode 100644 board/thead/th1520_lpi4a/Kconfig
create mode 100644 board/thead/th1520_lpi4a/MAINTAINERS
create mode 100644 board/thead/th1520_lpi4a/Makefile
create mode 100644 board/thead/th1520_lpi4a/board.c
create mode 100644 configs/th1520_lpi4a_defconfig
create mode 100644 doc/board/thead/index.rst
create mode 100644 doc/board/thead/lpi4a.rst
create mode 100644 include/configs/th1520_lpi4a.h

--
2.40.0