[PATCH 0/3] riscv: milkv_duo: Use upstream devicetree

Zhuxu Ran zhuxu_ran at zohomail.com
Mon Jul 6 03:43:40 CEST 2026


This series switches the Milk-V Duo board to the upstream CV1800B
devicetree.

Patch 1 adds the missing clock-controller compatible used by the
upstream CV1800B devicetree. Patch 2 switches the board defconfig to
CONFIG_OF_UPSTREAM and adds a small U-Boot override to keep Ethernet
enabled. Patch 3 removes the now-unused local Milk-V Duo devicetree
files.

Tested on Milk-V Duo:
- U-Boot boots with the upstream control FDT
- serial console works
- MMC is detected and can read the SD card
- Ethernet is probed and DHCP/TFTP work
- Linux boots via TFTP with Image, initramfs and DTB

Build-tested:
- make CROSS_COMPILE=riscv64-linux-gnu- milkv_duo_defconfig
- make CROSS_COMPILE=riscv64-linux-gnu- -j$(nproc)

Signed-off-by: Zhuxu Ran <zhuxu_ran at zohomail.com>
---
Zhuxu Ran (3):
      clk: sophgo: cv1800b: Add cv1800b clock compatible
      riscv: milkv_duo: Use upstream devicetree
      riscv: dts: milkv_duo: Drop local devicetree files

 arch/riscv/dts/Makefile                      |  1 -
 arch/riscv/dts/cv1800b-milkv-duo-u-boot.dtsi | 12 ++++++
 arch/riscv/dts/cv1800b-milkv-duo.dts         | 64 ----------------------------
 arch/riscv/dts/cv1800b.dtsi                  | 22 ----------
 configs/milkv_duo_defconfig                  |  3 +-
 drivers/clk/sophgo/clk-cv1800b.c             |  1 +
 6 files changed, 15 insertions(+), 88 deletions(-)
---
base-commit: 780084d7c07f511da4a39b43277c573156ed42e0
change-id: 20260702-milkv-duo-upstream-dts-b54aed41fc61

Best regards,
--  
Zhuxu Ran <zhuxu_ran at zohomail.com>



More information about the U-Boot mailing list