From: Chen Wang <chen.wang@linux.dev>
To: Hiago De Franco <hfranco@baylibre.com>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Inochi Amaoto <inochiama@gmail.com>,
Paul Walmsley <pjw@kernel.org>,
Palmer Dabbelt <palmer@dabbelt.com>,
Albert Ou <aou@eecs.berkeley.edu>
Cc: Alexandre Ghiti <alex@ghiti.fr>,
Chen-Yu Yeh <chenyou910331@gmail.com>,
devicetree@vger.kernel.org, linux-riscv@lists.infradead.org,
sophgo@lists.linux.dev, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 1/2] riscv: dts: sophgo: make sg2002-milkv-duo256m-eth overlay generic
Date: Mon, 23 Nov 2026 08:56:56 +0800 [thread overview]
Message-ID: <40455616-b1af-4801-865c-187bcb2e0c39@linux.dev> (raw)
In-Reply-To: <20261104-milkv-duo-eth-overlay-v2-1-e3d2d39cf229@baylibre.com>
On 11/4/2026 10:52 PM, Hiago De Franco wrote:
> The overlay only enables gmac0 and the MDIO mux, which are common to the
> CV180x and SG200x SoCs, so it can be reused by other boards such as the
> Milk-V Duo (CV1800B).
>
> Rename it to cv18xx-eth.dtso.
>
> Signed-off-by: Hiago De Franco <hfranco@baylibre.com>
Reviewed-by: Chen Wang <chen.wang@linux.dev>
Thanks.
> ---
> arch/riscv/boot/dts/sophgo/Makefile | 4 ++--
> .../dts/sophgo/{sg2002-milkv-duo256m-eth.dtso => cv18xx-eth.dtso} | 3 ++-
> 2 files changed, 4 insertions(+), 3 deletions(-)
>
> diff --git a/arch/riscv/boot/dts/sophgo/Makefile b/arch/riscv/boot/dts/sophgo/Makefile
> index 49639cb0888b..440acd0aa55a 100644
> --- a/arch/riscv/boot/dts/sophgo/Makefile
> +++ b/arch/riscv/boot/dts/sophgo/Makefile
> @@ -1,12 +1,12 @@
> # 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) += cv18xx-eth.dtbo
> dtb-$(CONFIG_ARCH_SOPHGO) += sg2000-milkv-duo-s.dtb
> dtb-$(CONFIG_ARCH_SOPHGO) += sg2002-licheerv-nano-b.dtb
> dtb-$(CONFIG_ARCH_SOPHGO) += sg2002-milkv-duo256m.dtb
> -sg2002-milkv-duo256m-eth-dtbs := sg2002-milkv-duo256m.dtb sg2002-milkv-duo256m-eth.dtbo
> +sg2002-milkv-duo256m-eth-dtbs := sg2002-milkv-duo256m.dtb cv18xx-eth.dtbo
> dtb-$(CONFIG_ARCH_SOPHGO) += sg2002-milkv-duo256m-eth.dtb
> -dtb-$(CONFIG_ARCH_SOPHGO) += sg2002-milkv-duo256m-eth.dtbo
> dtb-$(CONFIG_ARCH_SOPHGO) += sg2042-milkv-pioneer.dtb
> dtb-$(CONFIG_ARCH_SOPHGO) += sg2042-evb-v1.dtb
> dtb-$(CONFIG_ARCH_SOPHGO) += sg2042-evb-v2.dtb
> diff --git a/arch/riscv/boot/dts/sophgo/sg2002-milkv-duo256m-eth.dtso b/arch/riscv/boot/dts/sophgo/cv18xx-eth.dtso
> similarity index 66%
> rename from arch/riscv/boot/dts/sophgo/sg2002-milkv-duo256m-eth.dtso
> rename to arch/riscv/boot/dts/sophgo/cv18xx-eth.dtso
> index cc93746d932c..cdb8db063977 100644
> --- a/arch/riscv/boot/dts/sophgo/sg2002-milkv-duo256m-eth.dtso
> +++ b/arch/riscv/boot/dts/sophgo/cv18xx-eth.dtso
> @@ -1,6 +1,7 @@
> // SPDX-License-Identifier: (GPL-2.0 OR MIT)
> /*
> - * Enable ethernet on Milk-V Duo 256M with the USB & Ethernet IO board.
> + * Enable ethernet on boards that use the internal ethernet PHY of the
> + * CV180x and SG200x SoCs.
> *
> * Copyright (c) 2026, Chen-Yu Yeh <chenyou910331@gmail.com>
> */
>
next prev parent reply other threads:[~2026-11-23 0:57 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-04 14:52 [PATCH v2 0/2] riscv: dts: sophgo: add cv1800b ethernet support overlay Hiago De Franco
2026-11-04 14:52 ` [PATCH v2 1/2] riscv: dts: sophgo: make sg2002-milkv-duo256m-eth overlay generic Hiago De Franco
2026-11-06 2:16 ` 葉宸佑
2026-11-23 0:56 ` Chen Wang [this message]
2026-11-04 14:52 ` [PATCH v2 2/2] riscv: dts: sophgo: add Milk-V Duo ethernet DTB Hiago De Franco
2026-11-23 0:57 ` Chen Wang
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=40455616-b1af-4801-865c-187bcb2e0c39@linux.dev \
--to=chen.wang@linux.dev \
--cc=alex@ghiti.fr \
--cc=aou@eecs.berkeley.edu \
--cc=chenyou910331@gmail.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=hfranco@baylibre.com \
--cc=inochiama@gmail.com \
--cc=krzk+dt@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-riscv@lists.infradead.org \
--cc=palmer@dabbelt.com \
--cc=pjw@kernel.org \
--cc=robh@kernel.org \
--cc=sophgo@lists.linux.dev \
/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®