From: "Min Lin" <linmin@eswincomputing.com>
To: gaohan@iscas.ac.cn
Cc: "Pinkesh Vaghela" <pinkesh.vaghela@einfochips.com>,
"Pritesh Patel" <pritesh.patel@einfochips.com>,
"Rob Herring" <robh@kernel.org>,
"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
"Conor Dooley" <conor+dt@kernel.org>,
"Paul Walmsley" <pjw@kernel.org>,
"Palmer Dabbelt" <palmer@dabbelt.com>,
"Albert Ou" <aou@eecs.berkeley.edu>,
"Alexandre Ghiti" <alex@ghiti.fr>,
"Han Gao" <rabenda.cn@gmail.com>,
devicetree@vger.kernel.org, linux-riscv@lists.infradead.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 2/2] riscv: dts: eswin: Add Milk-V Megrez board
Date: Thu, 19 Nov 2026 09:52:37 +0800 (GMT+08:00) [thread overview]
Message-ID: <7edd04e5.a5d.1a1f1817c2c.Coremail.linmin@eswincomputing.com> (raw)
In-Reply-To: <20261118-eic7700-megrez-v2-2-0113ebc5b670@iscas.ac.cn>
> -----Original Messages-----
> From: "Han Gao via B4 Relay" <devnull+gaohan.iscas.ac.cn@kernel.org>
> Send time:Wednesday, 18/11/2026 04:00:06
> To: "Min Lin" <linmin@eswincomputing.com>, "Pinkesh Vaghela" <pinkesh.vaghela@einfochips.com>, "Pritesh Patel" <pritesh.patel@einfochips.com>, "Rob Herring" <robh@kernel.org>, "Krzysztof Kozlowski" <krzk+dt@kernel.org>, "Conor Dooley" <conor+dt@kernel.org>, "Paul Walmsley" <pjw@kernel.org>, "Palmer Dabbelt" <palmer@dabbelt.com>, "Albert Ou" <aou@eecs.berkeley.edu>, "Alexandre Ghiti" <alex@ghiti.fr>
> Cc: "Han Gao" <rabenda.cn@gmail.com>, devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, "Han Gao" <gaohan@iscas.ac.cn>
> Subject: [PATCH v2 2/2] riscv: dts: eswin: Add Milk-V Megrez board
>
> From: Han Gao <gaohan@iscas.ac.cn>
>
> The Milk-V Megrez is a Mini-ITX board based on the ESWIN EIC7700X SoC.
>
> Add a minimal device tree that enables UART0, which is connected to the
> USB-C debug port through a CH340 USB-to-UART bridge, and use it as the
> serial console.
>
> Signed-off-by: Han Gao <gaohan@iscas.ac.cn>
> ---
> arch/riscv/boot/dts/eswin/Makefile | 1 +
> arch/riscv/boot/dts/eswin/eic7700-milkv-megrez.dts | 25 ++++++++++++++++++++++
> 2 files changed, 26 insertions(+)
>
> diff --git a/arch/riscv/boot/dts/eswin/Makefile b/arch/riscv/boot/dts/eswin/Makefile
> index 224101ae471e8d89996f7cbfc616425f704af37e..5daade822e15eda43eee111cbf89bc386bb06f32 100644
> --- a/arch/riscv/boot/dts/eswin/Makefile
> +++ b/arch/riscv/boot/dts/eswin/Makefile
> @@ -1,2 +1,3 @@
> # SPDX-License-Identifier: GPL-2.0
> dtb-$(CONFIG_ARCH_ESWIN) += eic7700-hifive-premier-p550.dtb
> +dtb-$(CONFIG_ARCH_ESWIN) += eic7700-milkv-megrez.dtb
> diff --git a/arch/riscv/boot/dts/eswin/eic7700-milkv-megrez.dts b/arch/riscv/boot/dts/eswin/eic7700-milkv-megrez.dts
> new file mode 100644
> index 0000000000000000000000000000000000000000..a57cb61171087b20a39eb962f9c45d9c8ded3925
> --- /dev/null
> +++ b/arch/riscv/boot/dts/eswin/eic7700-milkv-megrez.dts
> @@ -0,0 +1,25 @@
> +// SPDX-License-Identifier: (GPL-2.0 OR MIT)
> +/*
> + * Copyright (c) 2026 Han Gao <gaohan@iscas.ac.cn>
> + */
> +
> +/dts-v1/;
> +
> +#include "eic7700.dtsi"
> +
> +/ {
> + compatible = "milkv,megrez", "eswin,eic7700";
> + model = "Milk-V Megrez";
> +
> + aliases {
> + serial0 = &uart0;
> + };
> +
> + chosen {
> + stdout-path = "serial0:115200n8";
> + };
> +};
> +
> +&uart0 {
> + status = "okay";
> +};
>
> --
> 2.47.3
>
Acked-by: Min Lin <linmin@eswincomputing.com>
Best regards,
Min Lin
prev parent reply other threads:[~2026-11-19 1:52 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-17 20:00 [PATCH v2 0/2] riscv: eswin: Add Milk-V Megrez board support Han Gao via B4 Relay
2026-11-17 20:00 ` [PATCH v2 1/2] dt-bindings: riscv: eswin: Add Milk-V Megrez Han Gao via B4 Relay
2026-11-19 1:51 ` Min Lin
2026-11-17 20:00 ` [PATCH v2 2/2] riscv: dts: eswin: Add Milk-V Megrez board Han Gao via B4 Relay
2026-11-19 1:52 ` Min Lin [this message]
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=7edd04e5.a5d.1a1f1817c2c.Coremail.linmin@eswincomputing.com \
--to=linmin@eswincomputing.com \
--cc=alex@ghiti.fr \
--cc=aou@eecs.berkeley.edu \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=gaohan@iscas.ac.cn \
--cc=krzk+dt@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-riscv@lists.infradead.org \
--cc=palmer@dabbelt.com \
--cc=pinkesh.vaghela@einfochips.com \
--cc=pjw@kernel.org \
--cc=pritesh.patel@einfochips.com \
--cc=rabenda.cn@gmail.com \
--cc=robh@kernel.org \
/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
all inboxes | Powered by JetHome®