From: "Junhui Liu" <junhui.liu@pigmoral.tech>
To: "Zhuxu Ran" <zhuxu_ran@zohomail.com>,
<u-boot@lists.u-boot-project.org>, "Yao Zi" <me@ziyao.cc>
Cc: "Lukasz Majewski" <lukma@denx.de>,
"Tom Rini" <trini@konsulko.com>, "Peng Fan" <peng.fan@nxp.com>,
"Jaehoon Chung" <jh80.chung@samsung.com>,
"Stefan Roese" <stefan.roese@mailbox.org>,
"Hiago De Franco" <hfranco@baylibre.com>,
"Thomas Bonnefille" <thomas.bonnefille@bootlin.com>,
"Kongyang Liu" <seashell11234455@gmail.com>,
"Tim Ouyang" <tim609@andestech.com>,
"Leo Liang" <leo.liang@sifive.com>,
"Guodong Xu" <guodong@riscstar.com>,
"Andreas Schwab" <schwab@suse.de>,
"Junhui Liu" <junhui.liu@pigmoral.tech>
Subject: Re: [PATCH v3 4/7] riscv: milkv_duo: Use upstream devicetree
Date: Thu, 06 Aug 2026 22:22:58 +0800 [thread overview]
Message-ID: <DKHXFVMFCMQU.310RT6O8UWOVW@pigmoral.tech> (raw)
In-Reply-To: <20260806-milkv-duo-upstream-dts-v3-4-917cf70a2337@zohomail.com>
Hi Zhuxu,
On Thu Aug 6, 2026 at 8:13 PM CST, Zhuxu Ran wrote:
> Switch Milk-V Duo to the upstream CV1800B devicetree by enabling
> CONFIG_OF_UPSTREAM and selecting sophgo/cv1800b-milkv-duo.
>
> The upstream devicetree keeps the Ethernet MAC disabled and does not
> describe the CV1800B SPIF controller. Add U-Boot overrides to preserve
> the existing networking and SPI NOR support.
>
> Signed-off-by: Zhuxu Ran <zhuxu_ran@zohomail.com>
> ---
> arch/riscv/dts/cv1800b-milkv-duo-u-boot.dtsi | 36 ++++++++++++++++++++++++++++
> board/sophgo/milkv_duo/MAINTAINERS | 1 +
> configs/milkv_duo_defconfig | 3 ++-
> 3 files changed, 39 insertions(+), 1 deletion(-)
>
[...]
> diff --git a/board/sophgo/milkv_duo/MAINTAINERS b/board/sophgo/milkv_duo/MAINTAINERS
> index 651a0592f7a..a6ff5585240 100644
> --- a/board/sophgo/milkv_duo/MAINTAINERS
> +++ b/board/sophgo/milkv_duo/MAINTAINERS
> @@ -4,3 +4,4 @@ S: Maintained
> F: board/sophgo/milkv_duo/
> F: configs/milkv_duo_defconfig
> F: doc/board/sophgo/milkv_duo.rst
> +F: arch/riscv/dts/cv1800b-milkv-duo-u-boot.dtsi
How about sorting these alphabetically?
> diff --git a/configs/milkv_duo_defconfig b/configs/milkv_duo_defconfig
> index f1f3930564b..9d6b80362d5 100644
> --- a/configs/milkv_duo_defconfig
> +++ b/configs/milkv_duo_defconfig
> @@ -4,7 +4,8 @@ CONFIG_SYS_MALLOC_F_LEN=0x8000
> CONFIG_NR_DRAM_BANKS=1
> CONFIG_HAS_CUSTOM_SYS_INIT_SP_ADDR=y
> CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0x82300000
> -CONFIG_DEFAULT_DEVICE_TREE="cv1800b-milkv-duo"
> +CONFIG_DEFAULT_DEVICE_TREE="sophgo/cv1800b-milkv-duo"
> +CONFIG_OF_UPSTREAM=y
> CONFIG_SYS_LOAD_ADDR=0x80080000
> CONFIG_IDENT_STRING="milkv_duo"
> CONFIG_TARGET_MILKV_DUO=y
--
Best regards,
Junhui Liu
next prev parent reply other threads:[~2026-08-06 14:23 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-06 12:13 [PATCH v3 0/7] riscv: sophgo: Use upstream devicetrees for CV18xx boards Zhuxu Ran via U-Boot
2026-08-06 12:13 ` [PATCH v3 1/7] clk: sophgo: cv1800b: Add SoC-specific compatible strings Zhuxu Ran via U-Boot
2026-08-06 12:13 ` [PATCH v3 2/7] mmc: cv1800b: Add SG2002 compatible string Zhuxu Ran via U-Boot
2026-08-06 12:13 ` [PATCH v3 3/7] riscv: licheerv_nano: Enable hardware system reset Zhuxu Ran via U-Boot
2026-08-06 14:19 ` Junhui Liu
2026-08-06 12:13 ` [PATCH v3 4/7] riscv: milkv_duo: Use upstream devicetree Zhuxu Ran via U-Boot
2026-08-06 12:45 ` Zhuxu Ran via U-Boot
2026-08-06 14:22 ` Junhui Liu [this message]
2026-08-06 12:13 ` [PATCH v3 5/7] riscv: licheerv_nano: " Zhuxu Ran via U-Boot
2026-08-06 12:13 ` [PATCH v3 6/7] riscv: dts: sophgo: Drop local CV18xx devicetrees Zhuxu Ran via U-Boot
2026-08-06 12:13 ` [PATCH v3 7/7] clk: sophgo: cv1800b: Drop legacy compatible string Zhuxu Ran via U-Boot
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=DKHXFVMFCMQU.310RT6O8UWOVW@pigmoral.tech \
--to=junhui.liu@pigmoral.tech \
--cc=guodong@riscstar.com \
--cc=hfranco@baylibre.com \
--cc=jh80.chung@samsung.com \
--cc=leo.liang@sifive.com \
--cc=lukma@denx.de \
--cc=me@ziyao.cc \
--cc=peng.fan@nxp.com \
--cc=schwab@suse.de \
--cc=seashell11234455@gmail.com \
--cc=stefan.roese@mailbox.org \
--cc=thomas.bonnefille@bootlin.com \
--cc=tim609@andestech.com \
--cc=trini@konsulko.com \
--cc=u-boot@lists.u-boot-project.org \
--cc=zhuxu_ran@zohomail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.