Re: [PATCH RFC 2/3] riscv: dts: sophgo: Add syscon node for cv18xx

From: Alexander Sverdlin
Date: Sun Jun 15 2025 - 11:39:04 EST


Thanks for the patch, Inochi!

On Wed, 2025-06-11 at 16:24 +0800, Inochi Amaoto wrote:
> Add top syscon node and all subdevice nodes for cv18xx series SoC.
>
> Signed-off-by: Inochi Amaoto <inochiama@xxxxxxxxx>

Successfully tested in host mode on Milk-V Duo Module 01 EVB:

Tested-by: Alexander Sverdlin <alexander.sverdlin@xxxxxxxxx>

> ---
>  arch/riscv/boot/dts/sophgo/cv180x.dtsi | 26 ++++++++++++++++++++++++++
>  1 file changed, 26 insertions(+)
>
> diff --git a/arch/riscv/boot/dts/sophgo/cv180x.dtsi b/arch/riscv/boot/dts/sophgo/cv180x.dtsi
> index 929864ba1b26..65eceaa5d2f8 100644
> --- a/arch/riscv/boot/dts/sophgo/cv180x.dtsi
> +++ b/arch/riscv/boot/dts/sophgo/cv180x.dtsi
> @@ -25,6 +25,32 @@ soc {
>   #size-cells = <1>;
>   ranges;
>  
> + syscon: syscon@3000000 {
> + compatible = "sophgo,cv1800b-top-syscon",
> +      "syscon", "simple-mfd";
> + reg = <0x03000000 0x1000>;
> + #address-cells = <1>;
> + #size-cells = <1>;
> +
> + usbphy: phy@48 {
> + compatible = "sophgo,cv1800b-usb2-phy";
> + reg = <0x48 0x4>;
> + #phy-cells = <0>;
> + clocks = <&clk CLK_USB_125M>,
> + <&clk CLK_USB_33K>,
> + <&clk CLK_USB_12M>;
> + clock-names = "app", "stb", "lpm";
> + resets = <&rst RST_COMBO_PHY0>;
> + };
> +
> + dmamux: dma-router@154 {
> + compatible = "sophgo,cv1800b-dmamux";
> + reg = <0x154 0x8>, <0x298 0x4>;
> + #dma-cells = <2>;
> + dma-masters = <&dmac>;
> + };
> + };

--
Alexander Sverdlin.