From: Thomas Bonnefille <thomas.bonnefille@bootlin.com>
To: Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Paul Walmsley <paul.walmsley@sifive.com>,
Chen Wang <unicorn_wang@outlook.com>,
Inochi Amaoto <inochiama@outlook.com>,
Chao Wei <chao.wei@sophgo.com>
Cc: "Albert Ou" <aou@eecs.berkeley.edu>,
"Palmer Dabbelt" <palmer@dabbelt.com>,
"Samuel Holland" <samuel.holland@sifive.com>,
"Thomas Gleixner" <tglx@linutronix.de>,
"Daniel Lezcano" <daniel.lezcano@linaro.org>,
"Thomas Petazzoni" <thomas.petazzoni@bootlin.com>,
"Miquèl Raynal" <miquel.raynal@bootlin.com>,
linux-kernel@vger.kernel.org, devicetree@vger.kernel.org,
linux-riscv@lists.infradead.org,
"Thomas Bonnefille" <thomas.bonnefille@bootlin.com>
Subject: [PATCH 5/5] riscv: dts: sophgo: Add LicheeRV Nano board device tree
Date: Mon, 27 May 2024 12:28:21 +0200 [thread overview]
Message-ID: <20240527-sg2002-v1-5-1b6cb38ce8f4@bootlin.com> (raw)
In-Reply-To: <20240527-sg2002-v1-0-1b6cb38ce8f4@bootlin.com>
LicheeRV Nano [1] is an embedded development platform base on the SOPHGO
SG2002 chip.
Add only support for UART.
Link: https://wiki.sipeed.com/hardware/en/lichee/RV_Nano/1_intro.html
[1]
Signed-off-by: Thomas Bonnefille <thomas.bonnefille@bootlin.com>
---
arch/riscv/boot/dts/sophgo/Makefile | 1 +
.../boot/dts/sophgo/sg2002-lichee-rv-nano.dts | 25 ++++++++++++++++++++++
2 files changed, 26 insertions(+)
diff --git a/arch/riscv/boot/dts/sophgo/Makefile b/arch/riscv/boot/dts/sophgo/Makefile
index 57ad82a61ea6..5759b21805dc 100644
--- a/arch/riscv/boot/dts/sophgo/Makefile
+++ b/arch/riscv/boot/dts/sophgo/Makefile
@@ -1,4 +1,5 @@
# SPDX-License-Identifier: GPL-2.0
dtb-$(CONFIG_ARCH_SOPHGO) += cv1800b-milkv-duo.dtb
dtb-$(CONFIG_ARCH_SOPHGO) += cv1812h-huashan-pi.dtb
+dtb-$(CONFIG_ARCH_SOPHGO) += sg2002-licheerv-nano.dtb
dtb-$(CONFIG_ARCH_SOPHGO) += sg2042-milkv-pioneer.dtb
diff --git a/arch/riscv/boot/dts/sophgo/sg2002-lichee-rv-nano.dts b/arch/riscv/boot/dts/sophgo/sg2002-lichee-rv-nano.dts
new file mode 100644
index 000000000000..aaad2733801b
--- /dev/null
+++ b/arch/riscv/boot/dts/sophgo/sg2002-lichee-rv-nano.dts
@@ -0,0 +1,25 @@
+// SPDX-License-Identifier: (GPL-2.0 OR MIT)
+/*
+ * Copyright (C) 2024 Thomas Bonnefille <thomas.bonnefille@bootlin.com>
+ */
+
+/dts-v1/;
+
+#include "sg2002.dtsi"
+
+/ {
+ model = "LicheeRV Nano";
+ compatible = "sipeed,licheerv-nano", "sophgo,sg2002";
+
+ aliases {
+ serial0 = &uart0;
+ };
+
+ chosen {
+ stdout-path = "serial0:115200n8";
+ };
+};
+
+&uart0 {
+ status = "okay";
+};
--
2.45.1
next prev parent reply other threads:[~2024-05-27 10:28 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-27 10:28 [PATCH 0/5] Add board support for Sipeed LicheeRV Nano Thomas Bonnefille
2024-05-27 10:28 ` [PATCH 1/5] dt-bindings: interrupt-controller: Add SOPHGO SG2002 plic Thomas Bonnefille
2024-05-27 16:39 ` Conor Dooley
2024-06-17 0:36 ` Yixun Lan
2024-06-17 3:33 ` Inochi Amaoto
2024-06-17 8:03 ` Conor Dooley
2024-05-27 10:28 ` [PATCH 2/5] dt-bindings: timer: Add SOPHGO SG2002 clint Thomas Bonnefille
2024-05-27 16:39 ` Conor Dooley
2024-05-27 10:28 ` [PATCH 3/5] dt-bindings: riscv: Add Sipeed LicheeRV Nano board compatibles Thomas Bonnefille
2024-05-27 16:40 ` Conor Dooley
2024-05-27 10:28 ` [PATCH 4/5] riscv: dts: sophgo: Add initial SG2002 SoC device tree Thomas Bonnefille
2024-05-27 10:28 ` Thomas Bonnefille [this message]
2024-05-27 16:41 ` [PATCH 5/5] riscv: dts: sophgo: Add LicheeRV Nano board " Conor Dooley
2024-05-27 18:12 ` Thomas Bonnefille
2024-05-27 22:25 ` Inochi Amaoto
2024-06-10 7:30 ` Thomas Bonnefille
2024-06-10 7:38 ` Inochi Amaoto
2024-05-29 0:57 ` kernel test robot
2024-05-28 17:41 ` [PATCH 0/5] Add board support for Sipeed LicheeRV Nano Rob Herring (Arm)
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=20240527-sg2002-v1-5-1b6cb38ce8f4@bootlin.com \
--to=thomas.bonnefille@bootlin.com \
--cc=aou@eecs.berkeley.edu \
--cc=chao.wei@sophgo.com \
--cc=conor+dt@kernel.org \
--cc=daniel.lezcano@linaro.org \
--cc=devicetree@vger.kernel.org \
--cc=inochiama@outlook.com \
--cc=krzk+dt@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-riscv@lists.infradead.org \
--cc=miquel.raynal@bootlin.com \
--cc=palmer@dabbelt.com \
--cc=paul.walmsley@sifive.com \
--cc=robh@kernel.org \
--cc=samuel.holland@sifive.com \
--cc=tglx@linutronix.de \
--cc=thomas.petazzoni@bootlin.com \
--cc=unicorn_wang@outlook.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).