From: Yixun Lan <dlan@gentoo.org>
To: u-boot@lists.denx.de
Cc: Rick Chen <rick@andestech.com>, Leo <ycliang@andestech.com>,
Wei Fu <wefu@redhat.com>, Yixun Lan <dlan@gentoo.org>,
Jisheng Zhang <jszhang@kernel.org>, Guo Ren <guoren@kernel.org>
Subject: [PATCH v2 0/4] riscv: Initial support for Lichee PI 4A board
Date: Sat, 8 Jul 2023 19:24:31 +0800 [thread overview]
Message-ID: <20230708112435.23583-1-dlan@gentoo.org> (raw)
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/20230617161529.2092-1-jszhang@kernel.org
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/20230526124107.894-1-dlan@gentoo.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 | 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
--
2.39.3
next reply other threads:[~2023-07-08 11:25 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-08 11:24 Yixun Lan [this message]
2023-07-08 11:24 ` [PATCH v2 1/4] riscv: t-head: licheepi4a: initial support added Yixun Lan
2023-07-08 11:24 ` [PATCH v2 2/4] riscv: dts: t-head: Add basic device tree for Sipeed Lichee PI 4A board Yixun Lan
2023-07-08 11:24 ` [PATCH v2 3/4] configs: th1520_lpi4a_defconfig: Add initial config Yixun Lan
2023-07-08 11:24 ` [PATCH v2 4/4] doc: t-head: lpi4a: document Lichee PI 4A board Yixun Lan
2023-07-13 0:24 ` [PATCH v2 0/4] riscv: Initial support for " Guo Ren
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230708112435.23583-1-dlan@gentoo.org \
--to=dlan@gentoo.org \
--cc=guoren@kernel.org \
--cc=jszhang@kernel.org \
--cc=rick@andestech.com \
--cc=u-boot@lists.denx.de \
--cc=wefu@redhat.com \
--cc=ycliang@andestech.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).