From: wefu@redhat.com
To: u-boot@lists.denx.de, bmeng@tinylab.org, rick@andestech.com,
trini@konsulko.com, wefu@redhat.com, dlan@gentoo.org,
joe.hershberger@ni.com, rfried.dev@gmail.com, ypron.glpk@gmx.de,
michal.simek@amd.com, randolph@andestech.com,
seashell11234455@gmail.com, peterlin@andestech.com,
samuel@sholland.org, wiagn233@outlook.com, jonas@kwiboo.se,
seanga2@gmail.com, baruch@tkos.co.il, kever.yang@rock-chips.com,
sjg@chromium.org, gilbsgilbert@gmail.com, ycliang@andestech.com
Cc: tekkamanninja@gmail.com, tekkamanninja@163.com
Subject: [PATCH 0/6] riscv: adds T-Head C9xx basic and GMAC support.
Date: Wed, 27 Mar 2024 16:07:21 +0800 [thread overview]
Message-ID: <20240327080817.44501-1-wefu@redhat.com> (raw)
From: Wei Fu <wefu@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@redhat.com>
Co-authored-by: Yixun Lan <dlan@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
next reply other threads:[~2024-03-27 11:15 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-27 8:07 wefu [this message]
2024-03-27 8:07 ` [PATCH 1/6] cpu: add t-head's c9xx wefu
2024-03-27 13:30 ` Nils Le Roux
2024-03-27 8:07 ` [PATCH 2/6] riscv/dts: add gmac node for th1520 wefu
2024-03-27 8:07 ` [PATCH 3/6] riscv/dts: add gmac node for lichee-pi-4a wefu
2024-03-27 8:07 ` [PATCH 4/6] net/designware: add compatible for "snps,dwmac" wefu
2024-03-27 8:07 ` [PATCH 5/6] config/th1520_lpi4a_defconfig:enable designware ethernet & realtek phy wefu
2024-03-27 8:07 ` [PATCH 6/6] config/th1520_lpi4a.h: add more env option for booting linux wefu
2024-03-27 12:07 ` [PATCH 0/6] riscv: adds T-Head C9xx basic and GMAC support Tom Rini
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=20240327080817.44501-1-wefu@redhat.com \
--to=wefu@redhat.com \
--cc=baruch@tkos.co.il \
--cc=bmeng@tinylab.org \
--cc=dlan@gentoo.org \
--cc=gilbsgilbert@gmail.com \
--cc=joe.hershberger@ni.com \
--cc=jonas@kwiboo.se \
--cc=kever.yang@rock-chips.com \
--cc=michal.simek@amd.com \
--cc=peterlin@andestech.com \
--cc=randolph@andestech.com \
--cc=rfried.dev@gmail.com \
--cc=rick@andestech.com \
--cc=samuel@sholland.org \
--cc=seanga2@gmail.com \
--cc=seashell11234455@gmail.com \
--cc=sjg@chromium.org \
--cc=tekkamanninja@163.com \
--cc=tekkamanninja@gmail.com \
--cc=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
--cc=wiagn233@outlook.com \
--cc=ycliang@andestech.com \
--cc=ypron.glpk@gmx.de \
/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).