All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v5 07/10] riscv: licheerv_nano: Use upstream devicetree
  2026-09-27 12:08 [PATCH v5 00/10] riscv: sophgo: Use upstream devicetrees for CV18xx boards Zhuxu Ran
@ 2026-09-27 11:45 ` Zhuxu Ran
  2026-09-27 11:45 ` [PATCH v5 08/10] riscv: milkv_duo_256m: " Zhuxu Ran
                   ` (10 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: Zhuxu Ran @ 2026-09-27 11:45 UTC (permalink / raw)
  To: u-boot, Chao Wei, Chen Wang, Yao Zi
  Cc: Lukasz Majewski, Tom Rini, Zhuxu Ran, Peng Fan, Jaehoon Chung,
	Stefan Roese, Hiago De Franco, Sumit Garg, Inochi Amaoto,
	Conor Dooley, Chen-Yu Yeh, Chen Wang, Kongyang Liu, Tim Ouyang,
	Leo Liang, Thomas Bonnefille, Guodong Xu, Quentin Schulz,
	Johan Jonker, Casey Connolly, Varadarajan Narayanan,
	Alexander Koch, Andreas Schwab, Junhui Liu, Marek Vasut,
	Sumit Garg, Peter Robinson, Ilias Apalodimas, Andrei Lalaev

Switch LicheeRV Nano to the upstream SG2002 devicetree by enabling
CONFIG_OF_UPSTREAM and selecting sophgo/sg2002-licheerv-nano-b.

The SG2002 clock and MMC compatible strings used by the upstream
devicetree are now supported by the existing U-Boot drivers.

Signed-off-by: Zhuxu Ran <zhuxu_ran@zohomail.com>
---
 configs/sipeed_licheerv_nano_defconfig | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/configs/sipeed_licheerv_nano_defconfig b/configs/sipeed_licheerv_nano_defconfig
index 9aa3ede10c5..21b8fece201 100644
--- a/configs/sipeed_licheerv_nano_defconfig
+++ b/configs/sipeed_licheerv_nano_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="sg2002-licheerv-nano-b"
+CONFIG_DEFAULT_DEVICE_TREE="sophgo/sg2002-licheerv-nano-b"
+CONFIG_OF_UPSTREAM=y
 CONFIG_SYS_LOAD_ADDR=0x80080000
 CONFIG_IDENT_STRING="licheerv_nano"
 CONFIG_TARGET_LICHEERV_NANO=y

-- 
2.55.0

^ permalink raw reply related	[flat|nested] 13+ messages in thread

* [PATCH v5 08/10] riscv: milkv_duo_256m: Use upstream devicetree
  2026-09-27 12:08 [PATCH v5 00/10] riscv: sophgo: Use upstream devicetrees for CV18xx boards Zhuxu Ran
  2026-09-27 11:45 ` [PATCH v5 07/10] riscv: licheerv_nano: Use upstream devicetree Zhuxu Ran
@ 2026-09-27 11:45 ` Zhuxu Ran
  2026-09-27 11:45 ` [PATCH v5 09/10] riscv: dts: sophgo: Drop local CV18xx devicetrees Zhuxu Ran
                   ` (9 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: Zhuxu Ran @ 2026-09-27 11:45 UTC (permalink / raw)
  To: u-boot, Chao Wei, Chen Wang, Yao Zi
  Cc: Lukasz Majewski, Tom Rini, Zhuxu Ran, Peng Fan, Jaehoon Chung,
	Stefan Roese, Hiago De Franco, Sumit Garg, Inochi Amaoto,
	Conor Dooley, Chen-Yu Yeh, Chen Wang, Kongyang Liu, Tim Ouyang,
	Leo Liang, Thomas Bonnefille, Guodong Xu, Quentin Schulz,
	Johan Jonker, Casey Connolly, Varadarajan Narayanan,
	Alexander Koch, Andreas Schwab, Junhui Liu, Marek Vasut,
	Sumit Garg, Peter Robinson, Ilias Apalodimas, Andrei Lalaev

Switch Milk-V Duo 256M to the upstream SG2002 devicetree by enabling
CONFIG_OF_UPSTREAM and selecting sophgo/sg2002-milkv-duo256m.

The upstream devicetree keeps the Ethernet MAC and its MDIO mux disabled.
Enable both nodes with U-Boot-specific overrides and add the MDIO mux
drivers needed to preserve networking with the optional IO board.

The local devicetree used phy-mode = "rmii". The upstream
devicetree uses phy-mode = "internal" and selects the internal
PHY through the MDIO mux.

Remove the local board devicetree and update the OpenSBI build
instructions to use the upstream DTB.

Tested TFTP on Milk-V Duo 256M with the IO board attached.

Signed-off-by: Zhuxu Ran <zhuxu_ran@zohomail.com>
---
 arch/riscv/dts/Makefile                         |  1 -
 arch/riscv/dts/sg2002-milkv-duo256m-u-boot.dtsi | 16 +++++++++
 arch/riscv/dts/sg2002-milkv-duo256m.dts         | 46 -------------------------
 board/sophgo/milkv_duo_256m/MAINTAINERS         |  1 +
 configs/milkv_duo_256m_defconfig                |  6 +++-
 doc/board/sophgo/milkv_duo_256m.rst             |  2 +-
 6 files changed, 23 insertions(+), 49 deletions(-)

diff --git a/arch/riscv/dts/Makefile b/arch/riscv/dts/Makefile
index 8ba75fdb9f5..71c5c13d221 100644
--- a/arch/riscv/dts/Makefile
+++ b/arch/riscv/dts/Makefile
@@ -5,7 +5,6 @@ dtb-$(CONFIG_TARGET_ANDES_VOYAGER) += qilai-voyager.dtb
 dtb-$(CONFIG_TARGET_K230_CANMV) += k230-canmv.dtb
 dtb-$(CONFIG_TARGET_MICROCHIP_ICICLE) += mpfs-icicle-kit.dtb
 dtb-$(CONFIG_TARGET_MILKV_DUO) += cv1800b-milkv-duo.dtb
-dtb-$(CONFIG_TARGET_MILKV_DUO_256M) += sg2002-milkv-duo256m.dtb
 dtb-$(CONFIG_TARGET_LICHEERV_NANO) += sg2002-licheerv-nano-b.dtb
 dtb-$(CONFIG_TARGET_QEMU_VIRT) += qemu-virt32.dtb qemu-virt64.dtb
 dtb-$(CONFIG_TARGET_OPENPITON_RISCV64) += openpiton-riscv64.dtb
diff --git a/arch/riscv/dts/sg2002-milkv-duo256m-u-boot.dtsi b/arch/riscv/dts/sg2002-milkv-duo256m-u-boot.dtsi
new file mode 100644
index 00000000000..3872343636f
--- /dev/null
+++ b/arch/riscv/dts/sg2002-milkv-duo256m-u-boot.dtsi
@@ -0,0 +1,16 @@
+// SPDX-License-Identifier: (GPL-2.0 OR MIT)
+/*
+ * Copyright (C) 2026 Zhuxu Ran <zhuxu_ran@zohomail.com>
+ */
+
+/*
+ * The Ethernet signals are routed to the RJ45 connector on the optional
+ * IO Board. Keep Ethernet available in U-Boot when the IO Board is attached.
+ */
+&gmac0 {
+	status = "okay";
+};
+
+&mdio {
+	status = "okay";
+};
diff --git a/arch/riscv/dts/sg2002-milkv-duo256m.dts b/arch/riscv/dts/sg2002-milkv-duo256m.dts
deleted file mode 100644
index 4ad86ce39ec..00000000000
--- a/arch/riscv/dts/sg2002-milkv-duo256m.dts
+++ /dev/null
@@ -1,46 +0,0 @@
-// SPDX-License-Identifier: (GPL-2.0 OR MIT)
-/*
- * Copyright (C) 2026 Hiago De Franco <hfranco@baylibre.com>
- */
-
-/dts-v1/;
-
-#include "sg2002.dtsi"
-
-/ {
-	model = "Milk-V Duo 256M";
-	compatible = "milkv,duo256m", "sophgo,sg2002";
-
-	aliases {
-		serial0 = &uart0;
-		serial1 = &uart1;
-		serial2 = &uart2;
-		serial3 = &uart3;
-		serial4 = &uart4;
-	};
-
-	chosen {
-		stdout-path = "serial0:115200n8";
-	};
-};
-
-&ethernet0 {
-	status = "okay";
-	phy-mode = "rmii";
-};
-
-&osc {
-	clock-frequency = <25000000>;
-};
-
-&sdhci0 {
-	status = "okay";
-	bus-width = <4>;
-	no-1-8-v;
-	no-mmc;
-	no-sdio;
-};
-
-&uart0 {
-	status = "okay";
-};
diff --git a/board/sophgo/milkv_duo_256m/MAINTAINERS b/board/sophgo/milkv_duo_256m/MAINTAINERS
index 929960e7251..3488db28145 100644
--- a/board/sophgo/milkv_duo_256m/MAINTAINERS
+++ b/board/sophgo/milkv_duo_256m/MAINTAINERS
@@ -1,5 +1,6 @@
 Milk-V Duo 256M
 M:	Hiago De Franco <hfranco@baylibre.com>
 S:	Maintained
+F:	arch/riscv/dts/sg2002-milkv-duo256m-u-boot.dtsi
 F:	board/sophgo/milkv_duo_256m/
 F:	configs/milkv_duo_256m_defconfig
diff --git a/configs/milkv_duo_256m_defconfig b/configs/milkv_duo_256m_defconfig
index 9d92eec6394..fda0baa3277 100644
--- a/configs/milkv_duo_256m_defconfig
+++ b/configs/milkv_duo_256m_defconfig
@@ -4,7 +4,7 @@ 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="sg2002-milkv-duo256m"
+CONFIG_DEFAULT_DEVICE_TREE="sophgo/sg2002-milkv-duo256m"
 CONFIG_SYS_LOAD_ADDR=0x80080000
 CONFIG_IDENT_STRING="milkv_duo_256m"
 CONFIG_TARGET_MILKV_DUO_256M=y
@@ -25,6 +25,7 @@ CONFIG_CMD_POWEROFF=y
 CONFIG_CMD_EXT4_WRITE=y
 # CONFIG_ISO_PARTITION is not set
 # CONFIG_EFI_PARTITION is not set
+CONFIG_OF_UPSTREAM=y
 CONFIG_ENV_OVERWRITE=y
 CONFIG_NET_RANDOM_ETHADDR=y
 CONFIG_CLK_SOPHGO_CV1800B=y
@@ -34,7 +35,10 @@ CONFIG_MMC_UHS_SUPPORT=y
 CONFIG_MMC_SDHCI=y
 CONFIG_MMC_SDHCI_ADMA=y
 CONFIG_MMC_SDHCI_CV1800B=y
+CONFIG_DM_MDIO=y
+CONFIG_DM_MDIO_MUX=y
 CONFIG_ETH_DESIGNWARE=y
+CONFIG_MDIO_MUX_MMIOREG=y
 CONFIG_SYS_NS16550=y
 CONFIG_SYS_NS16550_MEM32=y
 CONFIG_SPI=y
diff --git a/doc/board/sophgo/milkv_duo_256m.rst b/doc/board/sophgo/milkv_duo_256m.rst
index 9e2cbddf4db..9562e6c48fd 100644
--- a/doc/board/sophgo/milkv_duo_256m.rst
+++ b/doc/board/sophgo/milkv_duo_256m.rst
@@ -46,7 +46,7 @@ To run u-boot.bin on top of FSBL, follow these steps:
 .. code-block:: console
 
    cd open-sbi
-   PLATFORM=generic FW_FDT_PATH=../u-boot/arch/riscv/dts/sg2002-milkv-duo256m.dtb make
+   PLATFORM=generic FW_FDT_PATH=../u-boot/dts/upstream/src/riscv/sophgo/sg2002-milkv-duo256m.dtb make
 
 This will generate build/platform/generic/firmware/fw_dynamic.bin.
 

-- 
2.55.0

^ permalink raw reply related	[flat|nested] 13+ messages in thread

* [PATCH v5 09/10] riscv: dts: sophgo: Drop local CV18xx devicetrees
  2026-09-27 12:08 [PATCH v5 00/10] riscv: sophgo: Use upstream devicetrees for CV18xx boards Zhuxu Ran
  2026-09-27 11:45 ` [PATCH v5 07/10] riscv: licheerv_nano: Use upstream devicetree Zhuxu Ran
  2026-09-27 11:45 ` [PATCH v5 08/10] riscv: milkv_duo_256m: " Zhuxu Ran
@ 2026-09-27 11:45 ` Zhuxu Ran
  2026-09-27 11:46 ` [PATCH v5 10/10] clk: sophgo: cv1800b: Drop legacy compatible string Zhuxu Ran
                   ` (8 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: Zhuxu Ran @ 2026-09-27 11:45 UTC (permalink / raw)
  To: u-boot, Chao Wei, Chen Wang, Yao Zi
  Cc: Lukasz Majewski, Tom Rini, Zhuxu Ran, Peng Fan, Jaehoon Chung,
	Stefan Roese, Hiago De Franco, Sumit Garg, Inochi Amaoto,
	Conor Dooley, Chen-Yu Yeh, Chen Wang, Kongyang Liu, Tim Ouyang,
	Leo Liang, Thomas Bonnefille, Guodong Xu, Quentin Schulz,
	Johan Jonker, Casey Connolly, Varadarajan Narayanan,
	Alexander Koch, Andreas Schwab, Junhui Liu, Marek Vasut,
	Sumit Garg, Peter Robinson, Ilias Apalodimas, Andrei Lalaev

Milk-V Duo, Milk-V Duo 256M and LicheeRV Nano now use the upstream
CV1800B and SG2002 devicetrees.

Remove the remaining unused local devicetree files and their Makefile
entries.

Reviewed-by: Leo Yu-Chi Liang <leo.liang@sifive.com>
Signed-off-by: Zhuxu Ran <zhuxu_ran@zohomail.com>
---
 arch/riscv/dts/Makefile                   |   2 -
 arch/riscv/dts/cv1800b-milkv-duo.dts      |  64 ---------
 arch/riscv/dts/cv1800b.dtsi               |  22 ---
 arch/riscv/dts/cv18xx.dtsi                | 232 ------------------------------
 arch/riscv/dts/sg2002-licheerv-nano-b.dts |  45 ------
 arch/riscv/dts/sg2002.dtsi                |  34 -----
 6 files changed, 399 deletions(-)

diff --git a/arch/riscv/dts/Makefile b/arch/riscv/dts/Makefile
index 71c5c13d221..c588ce546bf 100644
--- a/arch/riscv/dts/Makefile
+++ b/arch/riscv/dts/Makefile
@@ -4,8 +4,6 @@ dtb-$(CONFIG_TARGET_ANDES_AE350) += ae350_32.dtb ae350_64.dtb
 dtb-$(CONFIG_TARGET_ANDES_VOYAGER) += qilai-voyager.dtb
 dtb-$(CONFIG_TARGET_K230_CANMV) += k230-canmv.dtb
 dtb-$(CONFIG_TARGET_MICROCHIP_ICICLE) += mpfs-icicle-kit.dtb
-dtb-$(CONFIG_TARGET_MILKV_DUO) += cv1800b-milkv-duo.dtb
-dtb-$(CONFIG_TARGET_LICHEERV_NANO) += sg2002-licheerv-nano-b.dtb
 dtb-$(CONFIG_TARGET_QEMU_VIRT) += qemu-virt32.dtb qemu-virt64.dtb
 dtb-$(CONFIG_TARGET_OPENPITON_RISCV64) += openpiton-riscv64.dtb
 dtb-$(CONFIG_TARGET_SIPEED_MAIX) += k210-maix-bit.dtb
diff --git a/arch/riscv/dts/cv1800b-milkv-duo.dts b/arch/riscv/dts/cv1800b-milkv-duo.dts
deleted file mode 100644
index e7cc0e8bd14..00000000000
--- a/arch/riscv/dts/cv1800b-milkv-duo.dts
+++ /dev/null
@@ -1,64 +0,0 @@
-// SPDX-License-Identifier: (GPL-2.0 OR MIT)
-/*
- * Copyright (C) 2023 Jisheng Zhang <jszhang@kernel.org>
- */
-
-/dts-v1/;
-
-#include "cv1800b.dtsi"
-
-/ {
-	model = "Milk-V Duo";
-	compatible = "milkv,duo", "sophgo,cv1800b";
-
-	aliases {
-		serial0 = &uart0;
-		serial1 = &uart1;
-		serial2 = &uart2;
-		serial3 = &uart3;
-		serial4 = &uart4;
-	};
-
-	chosen {
-		stdout-path = "serial0:115200n8";
-	};
-
-	memory@80000000 {
-		device_type = "memory";
-		reg = <0x80000000 0x3f40000>;
-	};
-};
-
-&ethernet0 {
-	status = "okay";
-	phy-mode = "rmii";
-};
-
-&osc {
-	clock-frequency = <25000000>;
-};
-
-&sdhci0 {
-	status = "okay";
-	bus-width = <4>;
-	no-1-8-v;
-	no-mmc;
-	no-sdio;
-};
-
-&spif {
-	status = "okay";
-
-	spiflash@0 {
-		compatible = "jedec,spi-nor";
-		reg = <0>;
-		spi-max-frequency = <75000000>;
-		spi-tx-bus-width = <4>;
-		spi-rx-bus-width = <4>;
-		m25p,fast-read;
-	};
-};
-
-&uart0 {
-	status = "okay";
-};
diff --git a/arch/riscv/dts/cv1800b.dtsi b/arch/riscv/dts/cv1800b.dtsi
deleted file mode 100644
index baf641829e7..00000000000
--- a/arch/riscv/dts/cv1800b.dtsi
+++ /dev/null
@@ -1,22 +0,0 @@
-// SPDX-License-Identifier: (GPL-2.0 OR MIT)
-/*
- * Copyright (C) 2023 Jisheng Zhang <jszhang@kernel.org>
- */
-
-#include "cv18xx.dtsi"
-
-/ {
-	compatible = "sophgo,cv1800b";
-};
-
-&plic {
-	compatible = "sophgo,cv1800b-plic", "thead,c900-plic";
-};
-
-&clint {
-	compatible = "sophgo,cv1800b-clint", "thead,c900-clint";
-};
-
-&clk {
-	compatible = "sophgo,cv1800-clk";
-};
diff --git a/arch/riscv/dts/cv18xx.dtsi b/arch/riscv/dts/cv18xx.dtsi
deleted file mode 100644
index 8530527aa39..00000000000
--- a/arch/riscv/dts/cv18xx.dtsi
+++ /dev/null
@@ -1,232 +0,0 @@
-// SPDX-License-Identifier: (GPL-2.0 OR MIT)
-/*
- * Copyright (C) 2023 Jisheng Zhang <jszhang@kernel.org>
- * Copyright (C) 2023 Inochi Amaoto <inochiama@outlook.com>
- */
-
-#include <dt-bindings/interrupt-controller/irq.h>
-#include <dt-bindings/clock/sophgo,cv1800.h>
-
-/ {
-	#address-cells = <1>;
-	#size-cells = <1>;
-
-	cpus: cpus {
-		#address-cells = <1>;
-		#size-cells = <0>;
-		timebase-frequency = <25000000>;
-
-		cpu0: cpu@0 {
-			compatible = "thead,c906", "riscv";
-			device_type = "cpu";
-			reg = <0>;
-			d-cache-block-size = <64>;
-			d-cache-sets = <512>;
-			d-cache-size = <65536>;
-			i-cache-block-size = <64>;
-			i-cache-sets = <128>;
-			i-cache-size = <32768>;
-			mmu-type = "riscv,sv39";
-			riscv,isa = "rv64imafdc";
-			riscv,isa-base = "rv64i";
-			riscv,isa-extensions = "i", "m", "a", "f", "d", "c", "zicntr", "zicsr",
-					       "zifencei", "zihpm";
-
-			cpu0_intc: interrupt-controller {
-				compatible = "riscv,cpu-intc";
-				interrupt-controller;
-				#interrupt-cells = <1>;
-			};
-		};
-	};
-
-	osc: oscillator {
-		compatible = "fixed-clock";
-		clock-output-names = "osc_25m";
-		#clock-cells = <0>;
-	};
-
-	soc {
-		compatible = "simple-bus";
-		interrupt-parent = <&plic>;
-		#address-cells = <1>;
-		#size-cells = <1>;
-		dma-noncoherent;
-		ranges;
-
-		clk: clock-controller@3002000 {
-			reg = <0x03002000 0x1000>;
-			clocks = <&osc>;
-			#clock-cells = <1>;
-		};
-
-		gpio0: gpio@3020000 {
-			compatible = "snps,dw-apb-gpio";
-			reg = <0x3020000 0x1000>;
-			#address-cells = <1>;
-			#size-cells = <0>;
-
-			porta: gpio-controller@0 {
-				compatible = "snps,dw-apb-gpio-port";
-				gpio-controller;
-				#gpio-cells = <2>;
-				ngpios = <32>;
-				reg = <0>;
-				interrupt-controller;
-				#interrupt-cells = <2>;
-				interrupts = <60 IRQ_TYPE_LEVEL_HIGH>;
-			};
-		};
-
-		gpio1: gpio@3021000 {
-			compatible = "snps,dw-apb-gpio";
-			reg = <0x3021000 0x1000>;
-			#address-cells = <1>;
-			#size-cells = <0>;
-
-			portb: gpio-controller@0 {
-				compatible = "snps,dw-apb-gpio-port";
-				gpio-controller;
-				#gpio-cells = <2>;
-				ngpios = <32>;
-				reg = <0>;
-				interrupt-controller;
-				#interrupt-cells = <2>;
-				interrupts = <61 IRQ_TYPE_LEVEL_HIGH>;
-			};
-		};
-
-		gpio2: gpio@3022000 {
-			compatible = "snps,dw-apb-gpio";
-			reg = <0x3022000 0x1000>;
-			#address-cells = <1>;
-			#size-cells = <0>;
-
-			portc: gpio-controller@0 {
-				compatible = "snps,dw-apb-gpio-port";
-				gpio-controller;
-				#gpio-cells = <2>;
-				ngpios = <32>;
-				reg = <0>;
-				interrupt-controller;
-				#interrupt-cells = <2>;
-				interrupts = <62 IRQ_TYPE_LEVEL_HIGH>;
-			};
-		};
-
-		gpio3: gpio@3023000 {
-			compatible = "snps,dw-apb-gpio";
-			reg = <0x3023000 0x1000>;
-			#address-cells = <1>;
-			#size-cells = <0>;
-
-			portd: gpio-controller@0 {
-				compatible = "snps,dw-apb-gpio-port";
-				gpio-controller;
-				#gpio-cells = <2>;
-				ngpios = <32>;
-				reg = <0>;
-				interrupt-controller;
-				#interrupt-cells = <2>;
-				interrupts = <63 IRQ_TYPE_LEVEL_HIGH>;
-			};
-		};
-
-		ethernet0: ethernet@4070000 {
-			compatible = "sophgo,cv1800b-dwmac";
-			reg = <0x04070000 0x10000>;
-			interrupts = <31 IRQ_TYPE_LEVEL_HIGH>;
-			clocks = <&clk CLK_ETH0_500M>, <&clk CLK_AXI4_ETH0>;
-			clock-names = "stmmaceth", "pclk";
-			status = "disabled";
-		};
-
-		uart0: serial@4140000 {
-			compatible = "snps,dw-apb-uart";
-			reg = <0x04140000 0x100>;
-			interrupts = <44 IRQ_TYPE_LEVEL_HIGH>;
-			clocks = <&clk CLK_UART0>, <&clk CLK_APB_UART0>;
-			clock-names = "baudclk", "apb_pclk";
-			reg-shift = <2>;
-			reg-io-width = <4>;
-			status = "disabled";
-		};
-
-		uart1: serial@4150000 {
-			compatible = "snps,dw-apb-uart";
-			reg = <0x04150000 0x100>;
-			interrupts = <45 IRQ_TYPE_LEVEL_HIGH>;
-			clocks = <&clk CLK_UART4>, <&clk CLK_APB_UART4>;
-			clock-names = "baudclk", "apb_pclk";
-			reg-shift = <2>;
-			reg-io-width = <4>;
-			status = "disabled";
-		};
-
-		uart2: serial@4160000 {
-			compatible = "snps,dw-apb-uart";
-			reg = <0x04160000 0x100>;
-			interrupts = <46 IRQ_TYPE_LEVEL_HIGH>;
-			clocks = <&clk CLK_UART2>, <&clk CLK_APB_UART2>;
-			clock-names = "baudclk", "apb_pclk";
-			reg-shift = <2>;
-			reg-io-width = <4>;
-			status = "disabled";
-		};
-
-		uart3: serial@4170000 {
-			compatible = "snps,dw-apb-uart";
-			reg = <0x04170000 0x100>;
-			interrupts = <47 IRQ_TYPE_LEVEL_HIGH>;
-			clocks = <&clk CLK_UART3>, <&clk CLK_APB_UART3>;
-			clock-names = "baudclk", "apb_pclk";
-			reg-shift = <2>;
-			reg-io-width = <4>;
-			status = "disabled";
-		};
-
-		uart4: serial@41c0000 {
-			compatible = "snps,dw-apb-uart";
-			reg = <0x041c0000 0x100>;
-			interrupts = <48 IRQ_TYPE_LEVEL_HIGH>;
-			clocks = <&clk CLK_UART4>, <&clk CLK_APB_UART4>;
-			clock-names = "baudclk", "apb_pclk";
-			reg-shift = <2>;
-			reg-io-width = <4>;
-			status = "disabled";
-		};
-
-		sdhci0: mmc@4310000 {
-			compatible = "sophgo,cv1800b-dwcmshc";
-			reg = <0x4310000 0x1000>;
-			interrupts = <36 IRQ_TYPE_LEVEL_HIGH>;
-			clocks = <&clk CLK_AXI4_SD0>, <&clk CLK_SD0>;
-			clock-names = "core", "bus";
-			status = "disabled";
-		};
-
-		spif: spi@10000000 {
-			compatible = "sophgo,cv1800b-spif";
-			reg = <0x10000000 0x10000000>;
-			#address-cells = <1>;
-			#size-cells = <0>;
-			clocks = <&clk CLK_AHB_SF>;
-			interrupts = <95 IRQ_TYPE_LEVEL_HIGH>;
-			status = "disabled";
-		};
-
-		plic: interrupt-controller@70000000 {
-			reg = <0x70000000 0x4000000>;
-			interrupts-extended = <&cpu0_intc 11>, <&cpu0_intc 9>;
-			interrupt-controller;
-			#address-cells = <0>;
-			#interrupt-cells = <2>;
-			riscv,ndev = <101>;
-		};
-
-		clint: timer@74000000 {
-			reg = <0x74000000 0x10000>;
-			interrupts-extended = <&cpu0_intc 3>, <&cpu0_intc 7>;
-		};
-	};
-};
diff --git a/arch/riscv/dts/sg2002-licheerv-nano-b.dts b/arch/riscv/dts/sg2002-licheerv-nano-b.dts
deleted file mode 100644
index 9871a75836c..00000000000
--- a/arch/riscv/dts/sg2002-licheerv-nano-b.dts
+++ /dev/null
@@ -1,45 +0,0 @@
-// 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 B";
-	compatible = "sipeed,licheerv-nano-b", "sipeed,licheerv-nano", "sophgo,sg2002";
-
-	aliases {
-		gpio0 = &gpio0;
-		gpio1 = &gpio1;
-		gpio2 = &gpio2;
-		gpio3 = &gpio3;
-		serial0 = &uart0;
-		serial1 = &uart1;
-		serial2 = &uart2;
-		serial3 = &uart3;
-		serial4 = &uart4;
-	};
-
-	chosen {
-		stdout-path = "serial0:115200n8";
-	};
-};
-
-&osc {
-	clock-frequency = <25000000>;
-};
-
-&sdhci0 {
-	status = "okay";
-	bus-width = <4>;
-	no-1-8-v;
-	no-mmc;
-	no-sdio;
-};
-
-&uart0 {
-	status = "okay";
-};
diff --git a/arch/riscv/dts/sg2002.dtsi b/arch/riscv/dts/sg2002.dtsi
deleted file mode 100644
index 0f97000fa8b..00000000000
--- a/arch/riscv/dts/sg2002.dtsi
+++ /dev/null
@@ -1,34 +0,0 @@
-// SPDX-License-Identifier: (GPL-2.0 OR MIT)
-/*
- * Copyright (C) 2024 Thomas Bonnefille <thomas.bonnefille@bootlin.com>
- */
-
-/dts-v1/;
-
-#include <dt-bindings/interrupt-controller/irq.h>
-#include "cv18xx.dtsi"
-
-/ {
-	compatible = "sophgo,sg2002";
-
-	memory@80000000 {
-		device_type = "memory";
-		reg = <0x80000000 0x10000000>;
-	};
-};
-
-&plic {
-	compatible = "sophgo,sg2002-plic", "sophgo,cv1800b-plic", "thead,c900-plic";
-};
-
-&clint {
-	compatible = "sophgo,sg2002-plic", "sophgo,cv1800b-clint", "thead,c900-clint";
-};
-
-&clk {
-	compatible = "sophgo,sg2002-clk", "sophgo,cv1800-clk";
-};
-
-&sdhci0 {
-	compatible = "sophgo,sg2002-dwcmshc", "sophgo,cv1800b-dwcmshc";
-};

-- 
2.55.0

^ permalink raw reply related	[flat|nested] 13+ messages in thread

* [PATCH v5 10/10] clk: sophgo: cv1800b: Drop legacy compatible string
  2026-09-27 12:08 [PATCH v5 00/10] riscv: sophgo: Use upstream devicetrees for CV18xx boards Zhuxu Ran
                   ` (2 preceding siblings ...)
  2026-09-27 11:45 ` [PATCH v5 09/10] riscv: dts: sophgo: Drop local CV18xx devicetrees Zhuxu Ran
@ 2026-09-27 11:46 ` Zhuxu Ran
  2026-09-27 12:08 ` [PATCH v5 01/10] clk: sophgo: cv1800b: Add SoC-specific compatible strings Zhuxu Ran
                   ` (7 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: Zhuxu Ran @ 2026-09-27 11:46 UTC (permalink / raw)
  To: u-boot, Chao Wei, Chen Wang, Yao Zi
  Cc: Lukasz Majewski, Tom Rini, Zhuxu Ran, Peng Fan, Jaehoon Chung,
	Stefan Roese, Hiago De Franco, Sumit Garg, Inochi Amaoto,
	Conor Dooley, Chen-Yu Yeh, Chen Wang, Kongyang Liu, Tim Ouyang,
	Leo Liang, Thomas Bonnefille, Guodong Xu, Quentin Schulz,
	Johan Jonker, Casey Connolly, Varadarajan Narayanan,
	Alexander Koch, Andreas Schwab, Junhui Liu, Marek Vasut,
	Sumit Garg, Peter Robinson, Ilias Apalodimas, Andrei Lalaev

Milk-V Duo, Milk-V Duo 256M and LicheeRV Nano now use upstream
devicetrees with the SoC-specific "sophgo,cv1800b-clk" and
"sophgo,sg2002-clk" compatible strings.

Remove the now-unused legacy "sophgo,cv1800-clk" compatible string.

Signed-off-by: Zhuxu Ran <zhuxu_ran@zohomail.com>
---
 drivers/clk/sophgo/clk-cv1800b.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/clk/sophgo/clk-cv1800b.c b/drivers/clk/sophgo/clk-cv1800b.c
index 57051c1ec0a..2270a076ce2 100644
--- a/drivers/clk/sophgo/clk-cv1800b.c
+++ b/drivers/clk/sophgo/clk-cv1800b.c
@@ -743,7 +743,6 @@ const struct clk_ops cv1800b_clk_ops = {
 };
 
 static const struct udevice_id cv1800b_clk_of_match[] = {
-	{ .compatible = "sophgo,cv1800-clk" },
 	{ .compatible = "sophgo,cv1800b-clk" },
 	{ .compatible = "sophgo,sg2002-clk" },
 	{ },

-- 
2.55.0

^ permalink raw reply related	[flat|nested] 13+ messages in thread

* [PATCH v5 00/10] riscv: sophgo: Use upstream devicetrees for CV18xx boards
@ 2026-09-27 12:08 Zhuxu Ran
  2026-09-27 11:45 ` [PATCH v5 07/10] riscv: licheerv_nano: Use upstream devicetree Zhuxu Ran
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: Zhuxu Ran @ 2026-09-27 12:08 UTC (permalink / raw)
  To: u-boot, Chao Wei, Chen Wang, Yao Zi
  Cc: Lukasz Majewski, Tom Rini, Zhuxu Ran, Peng Fan, Jaehoon Chung,
	Stefan Roese, Hiago De Franco, Sumit Garg, Inochi Amaoto,
	Conor Dooley, Chen-Yu Yeh, Chen Wang, Kongyang Liu, Tim Ouyang,
	Leo Liang, Thomas Bonnefille, Guodong Xu, Quentin Schulz,
	Johan Jonker, Casey Connolly, Varadarajan Narayanan,
	Alexander Koch, Andreas Schwab, Junhui Liu, Marek Vasut,
	Sumit Garg, Peter Robinson, Ilias Apalodimas, Andrei Lalaev

Milk-V Duo, Milk-V Duo 256M, and LicheeRV Nano currently use local
devicetrees under arch/riscv/dts. Equivalent descriptions are available
upstream, but Milk-V Duo 256M support has not yet reached U-Boot's
dts/upstream tree.

Import the upstream changes required for Milk-V Duo 256M and enable
CONFIG_OF_UPSTREAM for all three boards. Add the clock and SDHCI
compatible strings needed by the upstream devicetrees.

U-Boot-specific overrides retain Ethernet and SPI NOR support on Milk-V
Duo, and Ethernet support on Milk-V Duo 256M with its optional IO board.
Enable the MDIO mux support required by the Duo 256M Ethernet topology.

With all local users converted, remove the local CV18xx devicetrees and
the legacy "sophgo,cv1800-clk" clock compatible string.

Tested on Milk-V Duo, Milk-V Duo 256M, and LicheeRV Nano. Build-tested
for all three boards with the riscv64-linux-gnu cross compiler.

Signed-off-by: Zhuxu Ran <zhuxu_ran@zohomail.com>
---
Changes in v5:
- Move the RTC and system-reset changes to a separate series
- Enable the MDIO mux drivers required by the Milk-V Duo 256M upstream
  Ethernet description
- Link to v4: https://patch.msgid.link/20260922-milkv-duo-upstream-dts-v4-0-d45b74dfad36@zohomail.com

Changes in v4:
- Import the upstream Milk-V Duo 256M devicetree changes
- Switch Milk-V Duo 256M to CONFIG_OF_UPSTREAM
- Add CV1800 RTC support and bind system reset through the RTC node
- Preserve Milk-V Duo 256M Ethernet support through a U-Boot override
- Link to v3: https://patch.msgid.link/20260806-milkv-duo-upstream-dts-v3-0-917cf70a2337@zohomail.com

Changes in v3:
- Restore the CV1800B SPIF node in the Milk-V Duo U-Boot override
- Link to v2: https://patch.msgid.link/20260727-milkv-duo-upstream-dts-v2-0-51486b4549c7@zohomail.com

Changes in v2:
- Expand the upstream devicetree conversion to LicheeRV Nano
- Add SG2002 clock and MMC compatible strings
- Enable hardware system reset on LicheeRV Nano
- Remove the legacy clock compatible string after converting all users
- Move the Milk-V Duo Ethernet description above the gmac0 node
- Link to v1: https://patch.msgid.link/20260706-milkv-duo-upstream-dts-v1-0-8d010ddda7ca@zohomail.com

---
Chen-Yu Yeh (3):
      dt-bindings: soc: sophgo: add Milk-V Duo 256M board
      riscv: dts: sophgo: cv180x: Add PWR_GPIO controller
      riscv: dts: sophgo: Add Milk-V Duo 256M board support

Zhuxu Ran (7):
      clk: sophgo: cv1800b: Add SoC-specific compatible strings
      mmc: cv1800b: Add SG2002 compatible string
      riscv: milkv_duo: Use upstream devicetree
      riscv: licheerv_nano: Use upstream devicetree
      riscv: milkv_duo_256m: Use upstream devicetree
      riscv: dts: sophgo: Drop local CV18xx devicetrees
      clk: sophgo: cv1800b: Drop legacy compatible string

 arch/riscv/dts/Makefile                            |   3 -
 arch/riscv/dts/cv1800b-milkv-duo-u-boot.dtsi       |  35 ++++
 arch/riscv/dts/cv1800b-milkv-duo.dts               |  64 ------
 arch/riscv/dts/cv1800b.dtsi                        |  22 --
 arch/riscv/dts/cv18xx.dtsi                         | 232 ---------------------
 arch/riscv/dts/sg2002-licheerv-nano-b.dts          |  45 ----
 arch/riscv/dts/sg2002-milkv-duo256m-u-boot.dtsi    |  16 ++
 arch/riscv/dts/sg2002-milkv-duo256m.dts            |  46 ----
 arch/riscv/dts/sg2002.dtsi                         |  34 ---
 board/sophgo/milkv_duo/MAINTAINERS                 |   3 +-
 board/sophgo/milkv_duo_256m/MAINTAINERS            |   1 +
 configs/milkv_duo_256m_defconfig                   |   6 +-
 configs/milkv_duo_defconfig                        |   3 +-
 configs/sipeed_licheerv_nano_defconfig             |   3 +-
 doc/board/sophgo/milkv_duo_256m.rst                |   2 +-
 drivers/clk/sophgo/clk-cv1800b.c                   |   3 +-
 drivers/mmc/cv1800b_sdhci.c                        |   1 +
 dts/upstream/Bindings/soc/sophgo/sophgo.yaml       |   4 +
 dts/upstream/src/riscv/sophgo/cv180x.dtsi          |  18 ++
 .../src/riscv/sophgo/sg2002-milkv-duo256m.dts      | 121 +++++++++++
 20 files changed, 210 insertions(+), 452 deletions(-)
---
base-commit: a06e89ab05eaa2b8344d521319399333cd760ae5
change-id: 20260702-milkv-duo-upstream-dts-b54aed41fc61

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


^ permalink raw reply	[flat|nested] 13+ messages in thread

* [PATCH v5 01/10] clk: sophgo: cv1800b: Add SoC-specific compatible strings
  2026-09-27 12:08 [PATCH v5 00/10] riscv: sophgo: Use upstream devicetrees for CV18xx boards Zhuxu Ran
                   ` (3 preceding siblings ...)
  2026-09-27 11:46 ` [PATCH v5 10/10] clk: sophgo: cv1800b: Drop legacy compatible string Zhuxu Ran
@ 2026-09-27 12:08 ` Zhuxu Ran
  2026-09-27 12:08 ` [PATCH v5 02/10] mmc: cv1800b: Add SG2002 compatible string Zhuxu Ran
                   ` (6 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: Zhuxu Ran @ 2026-09-27 12:08 UTC (permalink / raw)
  To: u-boot, Chao Wei, Chen Wang, Yao Zi
  Cc: Lukasz Majewski, Tom Rini, Zhuxu Ran, Peng Fan, Jaehoon Chung,
	Stefan Roese, Hiago De Franco, Sumit Garg, Inochi Amaoto,
	Conor Dooley, Chen-Yu Yeh, Chen Wang, Kongyang Liu, Tim Ouyang,
	Leo Liang, Thomas Bonnefille, Guodong Xu, Quentin Schulz,
	Johan Jonker, Casey Connolly, Varadarajan Narayanan,
	Alexander Koch, Andreas Schwab, Junhui Liu, Marek Vasut,
	Sumit Garg, Peter Robinson, Ilias Apalodimas, Andrei Lalaev

The upstream CV1800B and SG2002 devicetrees use
"sophgo,cv1800b-clk" and "sophgo,sg2002-clk" respectively.

Add both compatible strings to the existing CV1800B clock driver.

Reviewed-by: Leo Yu-Chi Liang <leo.liang@sifive.com>
Signed-off-by: Zhuxu Ran <zhuxu_ran@zohomail.com>
---
 drivers/clk/sophgo/clk-cv1800b.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/clk/sophgo/clk-cv1800b.c b/drivers/clk/sophgo/clk-cv1800b.c
index 248a69321fc..57051c1ec0a 100644
--- a/drivers/clk/sophgo/clk-cv1800b.c
+++ b/drivers/clk/sophgo/clk-cv1800b.c
@@ -744,6 +744,8 @@ const struct clk_ops cv1800b_clk_ops = {
 
 static const struct udevice_id cv1800b_clk_of_match[] = {
 	{ .compatible = "sophgo,cv1800-clk" },
+	{ .compatible = "sophgo,cv1800b-clk" },
+	{ .compatible = "sophgo,sg2002-clk" },
 	{ },
 };
 

-- 
2.55.0


^ permalink raw reply related	[flat|nested] 13+ messages in thread

* [PATCH v5 02/10] mmc: cv1800b: Add SG2002 compatible string
  2026-09-27 12:08 [PATCH v5 00/10] riscv: sophgo: Use upstream devicetrees for CV18xx boards Zhuxu Ran
                   ` (4 preceding siblings ...)
  2026-09-27 12:08 ` [PATCH v5 01/10] clk: sophgo: cv1800b: Add SoC-specific compatible strings Zhuxu Ran
@ 2026-09-27 12:08 ` Zhuxu Ran
  2026-09-27 12:08 ` [PATCH v5 03/10] dt-bindings: soc: sophgo: add Milk-V Duo 256M board Zhuxu Ran
                   ` (5 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: Zhuxu Ran @ 2026-09-27 12:08 UTC (permalink / raw)
  To: u-boot, Chao Wei, Chen Wang, Yao Zi
  Cc: Lukasz Majewski, Tom Rini, Zhuxu Ran, Peng Fan, Jaehoon Chung,
	Stefan Roese, Hiago De Franco, Sumit Garg, Inochi Amaoto,
	Conor Dooley, Chen-Yu Yeh, Chen Wang, Kongyang Liu, Tim Ouyang,
	Leo Liang, Thomas Bonnefille, Guodong Xu, Quentin Schulz,
	Johan Jonker, Casey Connolly, Varadarajan Narayanan,
	Alexander Koch, Andreas Schwab, Junhui Liu, Marek Vasut,
	Sumit Garg, Peter Robinson, Ilias Apalodimas, Andrei Lalaev

The upstream SG2002 devicetree uses "sophgo,sg2002-dwcmshc"
for the SDHCI controller.

Add the compatible string to the existing CV1800B SDHCI driver.

Signed-off-by: Zhuxu Ran <zhuxu_ran@zohomail.com>
---
 drivers/mmc/cv1800b_sdhci.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/mmc/cv1800b_sdhci.c b/drivers/mmc/cv1800b_sdhci.c
index b756649f90f..f8d94232170 100644
--- a/drivers/mmc/cv1800b_sdhci.c
+++ b/drivers/mmc/cv1800b_sdhci.c
@@ -110,6 +110,7 @@ static int cv1800b_sdhci_probe(struct udevice *dev)
 
 static const struct udevice_id cv1800b_sdhci_match[] = {
 	{ .compatible = "sophgo,cv1800b-dwcmshc" },
+	{ .compatible = "sophgo,sg2002-dwcmshc" },
 	{ }
 };
 

-- 
2.55.0


^ permalink raw reply related	[flat|nested] 13+ messages in thread

* [PATCH v5 03/10] dt-bindings: soc: sophgo: add Milk-V Duo 256M board
  2026-09-27 12:08 [PATCH v5 00/10] riscv: sophgo: Use upstream devicetrees for CV18xx boards Zhuxu Ran
                   ` (5 preceding siblings ...)
  2026-09-27 12:08 ` [PATCH v5 02/10] mmc: cv1800b: Add SG2002 compatible string Zhuxu Ran
@ 2026-09-27 12:08 ` Zhuxu Ran
  2026-09-27 12:08 ` [PATCH v5 04/10] riscv: dts: sophgo: cv180x: Add PWR_GPIO controller Zhuxu Ran
                   ` (4 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: Zhuxu Ran @ 2026-09-27 12:08 UTC (permalink / raw)
  To: u-boot, Chao Wei, Chen Wang, Yao Zi
  Cc: Lukasz Majewski, Tom Rini, Zhuxu Ran, Peng Fan, Jaehoon Chung,
	Stefan Roese, Hiago De Franco, Sumit Garg, Inochi Amaoto,
	Conor Dooley, Chen-Yu Yeh, Chen Wang, Kongyang Liu, Tim Ouyang,
	Leo Liang, Thomas Bonnefille, Guodong Xu, Quentin Schulz,
	Johan Jonker, Casey Connolly, Varadarajan Narayanan,
	Alexander Koch, Andreas Schwab, Junhui Liu, Marek Vasut,
	Sumit Garg, Peter Robinson, Ilias Apalodimas, Andrei Lalaev

From: Chen-Yu Yeh <chenyou910331@gmail.com>

Add compatible string for the Milk-V Duo 256M board.

Signed-off-by: Chen-Yu Yeh <chenyou910331@gmail.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://patch.msgid.link/20260725175346.139173-2-chenyou910331@gmail.com
Signed-off-by: Inochi Amaoto <inochiama@gmail.com>
Signed-off-by: Chen Wang <chen.wang@linux.dev>

[ upstream commit: 06c236909705fcc92f59b0f2dd05a45b22902769 ]

(cherry picked from commit 39c49b7fc7a33b3af1c6fd80e599bd7d6db947be)
---
 dts/upstream/Bindings/soc/sophgo/sophgo.yaml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/dts/upstream/Bindings/soc/sophgo/sophgo.yaml b/dts/upstream/Bindings/soc/sophgo/sophgo.yaml
index 1c502618de5..fcb1d905da7 100644
--- a/dts/upstream/Bindings/soc/sophgo/sophgo.yaml
+++ b/dts/upstream/Bindings/soc/sophgo/sophgo.yaml
@@ -31,6 +31,10 @@ properties:
               - milkv,duo-module-01-evb
           - const: milkv,duo-module-01
           - const: sophgo,sg2000
+      - items:
+          - enum:
+              - milkv,duo256m
+          - const: sophgo,sg2002
       - items:
           - enum:
               - sipeed,licheerv-nano-b

-- 
2.55.0


^ permalink raw reply related	[flat|nested] 13+ messages in thread

* [PATCH v5 04/10] riscv: dts: sophgo: cv180x: Add PWR_GPIO controller
  2026-09-27 12:08 [PATCH v5 00/10] riscv: sophgo: Use upstream devicetrees for CV18xx boards Zhuxu Ran
                   ` (6 preceding siblings ...)
  2026-09-27 12:08 ` [PATCH v5 03/10] dt-bindings: soc: sophgo: add Milk-V Duo 256M board Zhuxu Ran
@ 2026-09-27 12:08 ` Zhuxu Ran
  2026-09-27 12:09 ` [PATCH v5 05/10] riscv: dts: sophgo: Add Milk-V Duo 256M board support Zhuxu Ran
                   ` (3 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: Zhuxu Ran @ 2026-09-27 12:08 UTC (permalink / raw)
  To: u-boot, Chao Wei, Chen Wang, Yao Zi
  Cc: Lukasz Majewski, Tom Rini, Zhuxu Ran, Peng Fan, Jaehoon Chung,
	Stefan Roese, Hiago De Franco, Sumit Garg, Inochi Amaoto,
	Conor Dooley, Chen-Yu Yeh, Chen Wang, Kongyang Liu, Tim Ouyang,
	Leo Liang, Thomas Bonnefille, Guodong Xu, Quentin Schulz,
	Johan Jonker, Casey Connolly, Varadarajan Narayanan,
	Alexander Koch, Andreas Schwab, Junhui Liu, Marek Vasut,
	Sumit Garg, Peter Robinson, Ilias Apalodimas, Andrei Lalaev

From: Chen-Yu Yeh <chenyou910331@gmail.com>

The CV180x/CV181x family has an additional DesignWare APB GPIO
controller (PWR_GPIO) located in the always-on power domain at
0x5021000. Add the node so that boards can reference GPIOs in this
bank, such as status LEDs.

Signed-off-by: Chen-Yu Yeh <chenyou910331@gmail.com>
Link: https://patch.msgid.link/20260725175346.139173-3-chenyou910331@gmail.com
Signed-off-by: Inochi Amaoto <inochiama@gmail.com>
Signed-off-by: Chen Wang <chen.wang@linux.dev>

[ upstream commit: 76237a509a0e91665c4d9c96b72a78ec66ea3fe4 ]

(cherry picked from commit dc28678310443c294191632f6ec175a62d53e767)
---
 dts/upstream/src/riscv/sophgo/cv180x.dtsi | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/dts/upstream/src/riscv/sophgo/cv180x.dtsi b/dts/upstream/src/riscv/sophgo/cv180x.dtsi
index 06b0ce5a2db..8bf67ee4eca 100644
--- a/dts/upstream/src/riscv/sophgo/cv180x.dtsi
+++ b/dts/upstream/src/riscv/sophgo/cv180x.dtsi
@@ -448,6 +448,24 @@
 			status = "disabled";
 		};
 
+		gpio4: gpio@5021000 {
+			compatible = "snps,dw-apb-gpio";
+			reg = <0x5021000 0x1000>;
+			#address-cells = <1>;
+			#size-cells = <0>;
+
+			porte: gpio-controller@0 {
+				compatible = "snps,dw-apb-gpio-port";
+				gpio-controller;
+				#gpio-cells = <2>;
+				ngpios = <32>;
+				reg = <0>;
+				interrupt-controller;
+				#interrupt-cells = <2>;
+				interrupts = <SOC_PERIPHERAL_IRQ(54) IRQ_TYPE_LEVEL_HIGH>;
+			};
+		};
+
 		rtc@5025000 {
 			compatible = "sophgo,cv1800b-rtc", "syscon";
 			reg = <0x5025000 0x2000>;

-- 
2.55.0


^ permalink raw reply related	[flat|nested] 13+ messages in thread

* [PATCH v5 05/10] riscv: dts: sophgo: Add Milk-V Duo 256M board support
  2026-09-27 12:08 [PATCH v5 00/10] riscv: sophgo: Use upstream devicetrees for CV18xx boards Zhuxu Ran
                   ` (7 preceding siblings ...)
  2026-09-27 12:08 ` [PATCH v5 04/10] riscv: dts: sophgo: cv180x: Add PWR_GPIO controller Zhuxu Ran
@ 2026-09-27 12:09 ` Zhuxu Ran
  2026-09-27 12:09 ` [PATCH v5 06/10] riscv: milkv_duo: Use upstream devicetree Zhuxu Ran
                   ` (2 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: Zhuxu Ran @ 2026-09-27 12:09 UTC (permalink / raw)
  To: u-boot, Chao Wei, Chen Wang, Yao Zi
  Cc: Lukasz Majewski, Tom Rini, Zhuxu Ran, Peng Fan, Jaehoon Chung,
	Stefan Roese, Hiago De Franco, Sumit Garg, Inochi Amaoto,
	Conor Dooley, Chen-Yu Yeh, Chen Wang, Kongyang Liu, Tim Ouyang,
	Leo Liang, Thomas Bonnefille, Guodong Xu, Quentin Schulz,
	Johan Jonker, Casey Connolly, Varadarajan Narayanan,
	Alexander Koch, Andreas Schwab, Junhui Liu, Marek Vasut,
	Sumit Garg, Peter Robinson, Ilias Apalodimas, Andrei Lalaev

From: Chen-Yu Yeh <chenyou910331@gmail.com>

The Milk-V Duo 256M is a small form factor development board based on
the Sophgo SG2002 SoC.

This patch adds basic device tree support for the board, including:
- UART console
- SD/MMC controller
- USB host
- Onboard blue status LED (connected to PWR_GPIO[2] / porte 2)

Tested on actual Milk-V Duo 256M hardware, verified boot to shell and
heartbeat LED functionality.

Signed-off-by: Chen-Yu Yeh <chenyou910331@gmail.com>
Link: https://patch.msgid.link/20260725175346.139173-4-chenyou910331@gmail.com
Signed-off-by: Inochi Amaoto <inochiama@gmail.com>
Signed-off-by: Chen Wang <chen.wang@linux.dev>

[ upstream commit: 59c682ffc76ebda27ecbbbd1423e23ec482d61b9 ]

(cherry picked from commit ed2cfe3354c657cd7b6ed1b678169edd0f146f2f)
---
 .../src/riscv/sophgo/sg2002-milkv-duo256m.dts      | 121 +++++++++++++++++++++
 1 file changed, 121 insertions(+)

diff --git a/dts/upstream/src/riscv/sophgo/sg2002-milkv-duo256m.dts b/dts/upstream/src/riscv/sophgo/sg2002-milkv-duo256m.dts
new file mode 100644
index 00000000000..a2797c0bd76
--- /dev/null
+++ b/dts/upstream/src/riscv/sophgo/sg2002-milkv-duo256m.dts
@@ -0,0 +1,121 @@
+// SPDX-License-Identifier: (GPL-2.0 OR MIT)
+/*
+ * Copyright (C) 2023 Jisheng Zhang <jszhang@kernel.org>
+ * Copyright (C) 2026 Chen-Yu Yeh <chenyou910331@gmail.com>
+ */
+
+/dts-v1/;
+
+#include "sg2002.dtsi"
+#include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/leds/common.h>
+
+/ {
+	model = "Milk-V Duo 256M";
+	compatible = "milkv,duo256m", "sophgo,sg2002";
+
+	aliases {
+		serial0 = &uart0;
+		serial1 = &uart1;
+		serial2 = &uart2;
+		serial3 = &uart3;
+		serial4 = &uart4;
+	};
+
+	chosen {
+		stdout-path = "serial0:115200n8";
+	};
+
+	leds {
+		compatible = "gpio-leds";
+
+		led-0 {
+			gpios = <&porte 2 GPIO_ACTIVE_HIGH>;
+			color = <LED_COLOR_ID_BLUE>;
+			function = LED_FUNCTION_STATUS;
+			linux,default-trigger = "heartbeat";
+		};
+	};
+
+	reserved-memory {
+		#address-cells = <1>;
+		#size-cells = <1>;
+		ranges;
+
+		coprocessor_rtos: region@8fe00000 {
+			reg = <0x8fe00000 0x200000>;
+			no-map;
+		};
+	};
+};
+
+&osc {
+	clock-frequency = <25000000>;
+};
+
+&pinctrl {
+	uart0_cfg: uart0-cfg {
+		uart0-pins {
+			pinmux = <PINMUX(PIN_UART0_TX, 0)>,
+				 <PINMUX(PIN_UART0_RX, 0)>;
+			bias-pull-up;
+			drive-strength-microamp = <10800>;
+			power-source = <3300>;
+		};
+	};
+
+	sdhci0_cfg: sdhci0-cfg {
+		sdhci0-clk-pins {
+			pinmux = <PINMUX(PIN_SD0_CLK, 0)>;
+			bias-pull-up;
+			drive-strength-microamp = <16100>;
+			power-source = <3300>;
+		};
+
+		sdhci0-cmd-pins {
+			pinmux = <PINMUX(PIN_SD0_CMD, 0)>;
+			bias-pull-up;
+			drive-strength-microamp = <10800>;
+			power-source = <3300>;
+		};
+
+		sdhci0-data-pins {
+			pinmux = <PINMUX(PIN_SD0_D0, 0)>,
+				 <PINMUX(PIN_SD0_D1, 0)>,
+				 <PINMUX(PIN_SD0_D2, 0)>,
+				 <PINMUX(PIN_SD0_D3, 0)>;
+			bias-pull-up;
+			drive-strength-microamp = <10800>;
+			power-source = <3300>;
+		};
+
+		sdhci0-cd-pins {
+			pinmux = <PINMUX(PIN_SD0_CD, 0)>;
+			bias-pull-up;
+			drive-strength-microamp = <10800>;
+			power-source = <3300>;
+		};
+	};
+};
+
+&sdhci0 {
+	pinctrl-0 = <&sdhci0_cfg>;
+	pinctrl-names = "default";
+	status = "okay";
+	bus-width = <4>;
+	no-1-8-v;
+	no-mmc;
+	no-sdio;
+	disable-wp;
+};
+
+&uart0 {
+	pinctrl-0 = <&uart0_cfg>;
+	pinctrl-names = "default";
+	status = "okay";
+};
+
+&usb {
+	dr_mode = "host";
+	status = "okay";
+};

-- 
2.55.0


^ permalink raw reply related	[flat|nested] 13+ messages in thread

* [PATCH v5 06/10] riscv: milkv_duo: Use upstream devicetree
  2026-09-27 12:08 [PATCH v5 00/10] riscv: sophgo: Use upstream devicetrees for CV18xx boards Zhuxu Ran
                   ` (8 preceding siblings ...)
  2026-09-27 12:09 ` [PATCH v5 05/10] riscv: dts: sophgo: Add Milk-V Duo 256M board support Zhuxu Ran
@ 2026-09-27 12:09 ` Zhuxu Ran
  2026-09-28 22:47 ` [PATCH v5 00/10] riscv: sophgo: Use upstream devicetrees for CV18xx boards Yao Zi
  2026-09-29 12:40 ` Hiago De Franco
  11 siblings, 0 replies; 13+ messages in thread
From: Zhuxu Ran @ 2026-09-27 12:09 UTC (permalink / raw)
  To: u-boot, Chao Wei, Chen Wang, Yao Zi
  Cc: Lukasz Majewski, Tom Rini, Zhuxu Ran, Peng Fan, Jaehoon Chung,
	Stefan Roese, Hiago De Franco, Sumit Garg, Inochi Amaoto,
	Conor Dooley, Chen-Yu Yeh, Chen Wang, Kongyang Liu, Tim Ouyang,
	Leo Liang, Thomas Bonnefille, Guodong Xu, Quentin Schulz,
	Johan Jonker, Casey Connolly, Varadarajan Narayanan,
	Alexander Koch, Andreas Schwab, Junhui Liu, Marek Vasut,
	Sumit Garg, Peter Robinson, Ilias Apalodimas, Andrei Lalaev

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.

Reviewed-by: Leo Yu-Chi Liang <leo.liang@sifive.com>
Signed-off-by: Zhuxu Ran <zhuxu_ran@zohomail.com>
---
 arch/riscv/dts/cv1800b-milkv-duo-u-boot.dtsi | 35 ++++++++++++++++++++++++++++
 board/sophgo/milkv_duo/MAINTAINERS           |  3 ++-
 configs/milkv_duo_defconfig                  |  3 ++-
 3 files changed, 39 insertions(+), 2 deletions(-)

diff --git a/arch/riscv/dts/cv1800b-milkv-duo-u-boot.dtsi b/arch/riscv/dts/cv1800b-milkv-duo-u-boot.dtsi
new file mode 100644
index 00000000000..3a1d01e8940
--- /dev/null
+++ b/arch/riscv/dts/cv1800b-milkv-duo-u-boot.dtsi
@@ -0,0 +1,35 @@
+// SPDX-License-Identifier: (GPL-2.0 OR MIT)
+/*
+ * Copyright (C) 2023 Jisheng Zhang <jszhang@kernel.org>
+ * Copyright (C) 2023 Inochi Amaoto <inochiama@outlook.com>
+ * Copyright (C) 2026 Zhuxu Ran <zhuxu_ran@zohomail.com>
+ */
+
+/*
+ * The Ethernet signals are routed to the RJ45 connector on the optional
+ * IO Board. Keep Ethernet available in U-Boot when the IO Board is attached.
+ */
+&gmac0 {
+	status = "okay";
+};
+
+&{/soc} {
+	spif: spi@10000000 {
+		compatible = "sophgo,cv1800b-spif";
+		reg = <0x10000000 0x10000000>;
+		#address-cells = <1>;
+		#size-cells = <0>;
+		clocks = <&clk CLK_AHB_SF>;
+		interrupts = <95 IRQ_TYPE_LEVEL_HIGH>;
+		status = "okay";
+
+		flash@0 {
+			compatible = "jedec,spi-nor";
+			reg = <0>;
+			spi-max-frequency = <75000000>;
+			spi-tx-bus-width = <4>;
+			spi-rx-bus-width = <4>;
+			m25p,fast-read;
+		};
+	};
+};
diff --git a/board/sophgo/milkv_duo/MAINTAINERS b/board/sophgo/milkv_duo/MAINTAINERS
index 6941dc5b376..8ca551426ae 100644
--- a/board/sophgo/milkv_duo/MAINTAINERS
+++ b/board/sophgo/milkv_duo/MAINTAINERS
@@ -1,7 +1,8 @@
 Milk-V Duo
 M:	Kongyang Liu <seashell11234455@gmail.com>
 S:	Maintained
-F:	board/sophgo/milkv_duo/
+F:	arch/riscv/dts/cv1800b-milkv-duo-u-boot.dtsi
 F:	board/sophgo/common/
+F:	board/sophgo/milkv_duo/
 F:	configs/milkv_duo_defconfig
 F:	doc/board/sophgo/milkv_duo.rst
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

-- 
2.55.0


^ permalink raw reply related	[flat|nested] 13+ messages in thread

* Re: [PATCH v5 00/10] riscv: sophgo: Use upstream devicetrees for CV18xx boards
  2026-09-27 12:08 [PATCH v5 00/10] riscv: sophgo: Use upstream devicetrees for CV18xx boards Zhuxu Ran
                   ` (9 preceding siblings ...)
  2026-09-27 12:09 ` [PATCH v5 06/10] riscv: milkv_duo: Use upstream devicetree Zhuxu Ran
@ 2026-09-28 22:47 ` Yao Zi
  2026-09-29 12:40 ` Hiago De Franco
  11 siblings, 0 replies; 13+ messages in thread
From: Yao Zi @ 2026-09-28 22:47 UTC (permalink / raw)
  To: Zhuxu Ran, u-boot, Chao Wei, Chen Wang, Yao Zi
  Cc: Lukasz Majewski, Tom Rini, Peng Fan, Jaehoon Chung, Stefan Roese,
	Hiago De Franco, Sumit Garg, Inochi Amaoto, Conor Dooley,
	Chen-Yu Yeh, Chen Wang, Kongyang Liu, Tim Ouyang, Leo Liang,
	Thomas Bonnefille, Guodong Xu, Quentin Schulz, Johan Jonker,
	Casey Connolly, Varadarajan Narayanan, Alexander Koch,
	Andreas Schwab, Junhui Liu, Marek Vasut, Sumit Garg,
	Peter Robinson, Ilias Apalodimas, Andrei Lalaev

On Sun, Sep 27, 2026 at 08:08:55PM +0800, Zhuxu Ran wrote:
> Milk-V Duo, Milk-V Duo 256M, and LicheeRV Nano currently use local
> devicetrees under arch/riscv/dts. Equivalent descriptions are available
> upstream, but Milk-V Duo 256M support has not yet reached U-Boot's
> dts/upstream tree.
> 
> Import the upstream changes required for Milk-V Duo 256M and enable
> CONFIG_OF_UPSTREAM for all three boards. Add the clock and SDHCI
> compatible strings needed by the upstream devicetrees.
> 
> U-Boot-specific overrides retain Ethernet and SPI NOR support on Milk-V
> Duo, and Ethernet support on Milk-V Duo 256M with its optional IO board.
> Enable the MDIO mux support required by the Duo 256M Ethernet topology.
> 
> With all local users converted, remove the local CV18xx devicetrees and
> the legacy "sophgo,cv1800-clk" clock compatible string.
> 
> Tested on Milk-V Duo, Milk-V Duo 256M, and LicheeRV Nano. Build-tested
> for all three boards with the riscv64-linux-gnu cross compiler.
> 
> Signed-off-by: Zhuxu Ran <zhuxu_ran@zohomail.com>

For the series,

Reviewed-by: Yao Zi <me@ziyao.cc>

Thanks,
Yao Zi

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [PATCH v5 00/10] riscv: sophgo: Use upstream devicetrees for CV18xx boards
  2026-09-27 12:08 [PATCH v5 00/10] riscv: sophgo: Use upstream devicetrees for CV18xx boards Zhuxu Ran
                   ` (10 preceding siblings ...)
  2026-09-28 22:47 ` [PATCH v5 00/10] riscv: sophgo: Use upstream devicetrees for CV18xx boards Yao Zi
@ 2026-09-29 12:40 ` Hiago De Franco
  11 siblings, 0 replies; 13+ messages in thread
From: Hiago De Franco @ 2026-09-29 12:40 UTC (permalink / raw)
  To: Zhuxu Ran
  Cc: u-boot, Chao Wei, Chen Wang, Yao Zi, Lukasz Majewski, Tom Rini,
	Peng Fan, Jaehoon Chung, Stefan Roese, Sumit Garg, Inochi Amaoto,
	Conor Dooley, Chen-Yu Yeh, Chen Wang, Kongyang Liu, Tim Ouyang,
	Leo Liang, Thomas Bonnefille, Guodong Xu, Quentin Schulz,
	Johan Jonker, Casey Connolly, Varadarajan Narayanan,
	Alexander Koch, Andreas Schwab, Junhui Liu, Marek Vasut,
	Sumit Garg, Peter Robinson, Ilias Apalodimas, Andrei Lalaev

On Sun, Sep 27, 2026 at 08:08:55PM +0800, Zhuxu Ran wrote:
> Milk-V Duo, Milk-V Duo 256M, and LicheeRV Nano currently use local
> devicetrees under arch/riscv/dts. Equivalent descriptions are available
> upstream, but Milk-V Duo 256M support has not yet reached U-Boot's
> dts/upstream tree.
> 
> Import the upstream changes required for Milk-V Duo 256M and enable
> CONFIG_OF_UPSTREAM for all three boards. Add the clock and SDHCI
> compatible strings needed by the upstream devicetrees.
> 
> U-Boot-specific overrides retain Ethernet and SPI NOR support on Milk-V
> Duo, and Ethernet support on Milk-V Duo 256M with its optional IO board.
> Enable the MDIO mux support required by the Duo 256M Ethernet topology.
> 
> With all local users converted, remove the local CV18xx devicetrees and
> the legacy "sophgo,cv1800-clk" clock compatible string.
> 
> Tested on Milk-V Duo, Milk-V Duo 256M, and LicheeRV Nano. Build-tested
> for all three boards with the riscv64-linux-gnu cross compiler.
> 
> Signed-off-by: Zhuxu Ran <zhuxu_ran@zohomail.com>

Thanks for the patches! For the whole series:

Reviewed-by: Hiago De Franco <hfranco@baylibre.com>

> ---
> Changes in v5:
> - Move the RTC and system-reset changes to a separate series
> - Enable the MDIO mux drivers required by the Milk-V Duo 256M upstream
>   Ethernet description
> - Link to v4: https://patch.msgid.link/20260922-milkv-duo-upstream-dts-v4-0-d45b74dfad36@zohomail.com
> 
> Changes in v4:
> - Import the upstream Milk-V Duo 256M devicetree changes
> - Switch Milk-V Duo 256M to CONFIG_OF_UPSTREAM
> - Add CV1800 RTC support and bind system reset through the RTC node
> - Preserve Milk-V Duo 256M Ethernet support through a U-Boot override
> - Link to v3: https://patch.msgid.link/20260806-milkv-duo-upstream-dts-v3-0-917cf70a2337@zohomail.com
> 
> Changes in v3:
> - Restore the CV1800B SPIF node in the Milk-V Duo U-Boot override
> - Link to v2: https://patch.msgid.link/20260727-milkv-duo-upstream-dts-v2-0-51486b4549c7@zohomail.com
> 
> Changes in v2:
> - Expand the upstream devicetree conversion to LicheeRV Nano
> - Add SG2002 clock and MMC compatible strings
> - Enable hardware system reset on LicheeRV Nano
> - Remove the legacy clock compatible string after converting all users
> - Move the Milk-V Duo Ethernet description above the gmac0 node
> - Link to v1: https://patch.msgid.link/20260706-milkv-duo-upstream-dts-v1-0-8d010ddda7ca@zohomail.com
> 
> ---
> Chen-Yu Yeh (3):
>       dt-bindings: soc: sophgo: add Milk-V Duo 256M board
>       riscv: dts: sophgo: cv180x: Add PWR_GPIO controller
>       riscv: dts: sophgo: Add Milk-V Duo 256M board support
> 
> Zhuxu Ran (7):
>       clk: sophgo: cv1800b: Add SoC-specific compatible strings
>       mmc: cv1800b: Add SG2002 compatible string
>       riscv: milkv_duo: Use upstream devicetree
>       riscv: licheerv_nano: Use upstream devicetree
>       riscv: milkv_duo_256m: Use upstream devicetree
>       riscv: dts: sophgo: Drop local CV18xx devicetrees
>       clk: sophgo: cv1800b: Drop legacy compatible string
> 
>  arch/riscv/dts/Makefile                            |   3 -
>  arch/riscv/dts/cv1800b-milkv-duo-u-boot.dtsi       |  35 ++++
>  arch/riscv/dts/cv1800b-milkv-duo.dts               |  64 ------
>  arch/riscv/dts/cv1800b.dtsi                        |  22 --
>  arch/riscv/dts/cv18xx.dtsi                         | 232 ---------------------
>  arch/riscv/dts/sg2002-licheerv-nano-b.dts          |  45 ----
>  arch/riscv/dts/sg2002-milkv-duo256m-u-boot.dtsi    |  16 ++
>  arch/riscv/dts/sg2002-milkv-duo256m.dts            |  46 ----
>  arch/riscv/dts/sg2002.dtsi                         |  34 ---
>  board/sophgo/milkv_duo/MAINTAINERS                 |   3 +-
>  board/sophgo/milkv_duo_256m/MAINTAINERS            |   1 +
>  configs/milkv_duo_256m_defconfig                   |   6 +-
>  configs/milkv_duo_defconfig                        |   3 +-
>  configs/sipeed_licheerv_nano_defconfig             |   3 +-
>  doc/board/sophgo/milkv_duo_256m.rst                |   2 +-
>  drivers/clk/sophgo/clk-cv1800b.c                   |   3 +-
>  drivers/mmc/cv1800b_sdhci.c                        |   1 +
>  dts/upstream/Bindings/soc/sophgo/sophgo.yaml       |   4 +
>  dts/upstream/src/riscv/sophgo/cv180x.dtsi          |  18 ++
>  .../src/riscv/sophgo/sg2002-milkv-duo256m.dts      | 121 +++++++++++
>  20 files changed, 210 insertions(+), 452 deletions(-)
> ---
> base-commit: a06e89ab05eaa2b8344d521319399333cd760ae5
> change-id: 20260702-milkv-duo-upstream-dts-b54aed41fc61
> 
> Best regards,
> --  
> Zhuxu Ran <zhuxu_ran@zohomail.com>
> 

Regards,
-- 
Hiago

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2026-09-29 12:53 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-27 12:08 [PATCH v5 00/10] riscv: sophgo: Use upstream devicetrees for CV18xx boards Zhuxu Ran
2026-09-27 11:45 ` [PATCH v5 07/10] riscv: licheerv_nano: Use upstream devicetree Zhuxu Ran
2026-09-27 11:45 ` [PATCH v5 08/10] riscv: milkv_duo_256m: " Zhuxu Ran
2026-09-27 11:45 ` [PATCH v5 09/10] riscv: dts: sophgo: Drop local CV18xx devicetrees Zhuxu Ran
2026-09-27 11:46 ` [PATCH v5 10/10] clk: sophgo: cv1800b: Drop legacy compatible string Zhuxu Ran
2026-09-27 12:08 ` [PATCH v5 01/10] clk: sophgo: cv1800b: Add SoC-specific compatible strings Zhuxu Ran
2026-09-27 12:08 ` [PATCH v5 02/10] mmc: cv1800b: Add SG2002 compatible string Zhuxu Ran
2026-09-27 12:08 ` [PATCH v5 03/10] dt-bindings: soc: sophgo: add Milk-V Duo 256M board Zhuxu Ran
2026-09-27 12:08 ` [PATCH v5 04/10] riscv: dts: sophgo: cv180x: Add PWR_GPIO controller Zhuxu Ran
2026-09-27 12:09 ` [PATCH v5 05/10] riscv: dts: sophgo: Add Milk-V Duo 256M board support Zhuxu Ran
2026-09-27 12:09 ` [PATCH v5 06/10] riscv: milkv_duo: Use upstream devicetree Zhuxu Ran
2026-09-28 22:47 ` [PATCH v5 00/10] riscv: sophgo: Use upstream devicetrees for CV18xx boards Yao Zi
2026-09-29 12:40 ` Hiago De Franco

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.