Skip to content

riscv: Initial support for Lichee PI 4A board

Yixun Lan u-boot 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 1 replyIn review
  2. v1 posting 2/24 patches 18 repliesSuperseded
  3. v1 posting 1/20 of 4 patches 0 repliesSuperseded

Changes in v2 from the cover letter

- sync device tree with mainline kernel's version
- update docs and also fix the build error
- fix missing <cpu_func.h> header file

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4riscv: t-head: licheepi4a: initial support addedarch/riscv/Kconfig board/thead/th1520_lpi4a/Kconfig board/thead/th1520_lpi4a/MAINTAINERS +3 more+96 -00 replies
2/4riscv: dts: t-head: Add basic device tree for Sipeed Lichee PI 4A boardarch/riscv/dts/Makefile arch/riscv/dts/th1520-lichee-module-4a.dtsi arch/riscv/dts/th1520-lichee-pi-4a.dts +1 more+473 -00 replies
3/4configs: th1520_lpi4a_defconfig: Add initial configconfigs/th1520_lpi4a_defconfig+82 -00 replies
4/4doc: t-head: lpi4a: document Lichee PI 4A boarddoc/board/index.rst doc/board/thead/index.rst doc/board/thead/lpi4a.rst+139 -00 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchWei FuGuo Ren
SeriesR-b
1/4R-b
2/4R-b
3/4R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/4] riscv: Initial support for Lichee PI 4A board

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, we add a basic device tree, including UART CPU, PLIC, make it capable of running into a serial console.

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 borrowed from kernel which is already accepted by kernel upstream [1].

[1] https://lore.kernel.org/all/[email protected]

Changes since PATCH v1:
- sync device tree with mainline kernel's version
- update docs and also fix the build error
- fix missing <cpu_func.h> header file

PATCH v1:
https://lore.kernel.org/all/[email protected]

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                  | 406 ++++++++++++++++++++
 board/thead/th1520_lpi4a/Kconfig            |  42 ++
 board/thead/th1520_lpi4a/MAINTAINERS        |   7 +
 board/thead/th1520_lpi4a/Makefile           |   5 +
 board/thead/th1520_lpi4a/board.c            |  15 +
 configs/th1520_lpi4a_defconfig              |  82 ++++
 doc/board/index.rst                         |   1 +
 doc/board/thead/index.rst                   |   9 +
 doc/board/thead/lpi4a.rst                   | 129 +++++++
 include/configs/th1520_lpi4a.h              |  22 ++
 14 files changed, 790 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
Signature · 1 line
2.39.3