lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5478c3df766079f4139ba1dfffa2f938ab4a9259.camel@gmail.com>
Date: Sun, 15 Jun 2025 17:38:52 +0200
From: Alexander Sverdlin <alexander.sverdlin@...il.com>
To: Inochi Amaoto <inochiama@...il.com>, Rob Herring <robh@...nel.org>, 
 Krzysztof Kozlowski	 <krzk+dt@...nel.org>, Conor Dooley
 <conor+dt@...nel.org>, Chen Wang	 <unicorn_wang@...look.com>, Paul Walmsley
 <paul.walmsley@...ive.com>, Palmer Dabbelt <palmer@...belt.com>, Albert Ou
 <aou@...s.berkeley.edu>, Alexandre Ghiti <alex@...ti.fr>,  Yu Yuan
 <yu.yuan@...u.edu.cn>, Yixun Lan <dlan@...too.org>, Ze Huang
 <huangze@...t.edu.cn>,  Thomas Bonnefille <thomas.bonnefille@...tlin.com>
Cc: devicetree@...r.kernel.org, sophgo@...ts.linux.dev, 
	linux-kernel@...r.kernel.org, linux-riscv@...ts.infradead.org, Longbin Li
	 <looong.bin@...il.com>
Subject: Re: [PATCH RFC 3/3] riscv: dts: sophgo: Add USB support for cv18xx

Thanks for the patch, Inochi!

On Wed, 2025-06-11 at 16:24 +0800, Inochi Amaoto wrote:
> Add USB controller node for cv18xx and enable it for Huashan Pi.
> 
> Signed-off-by: Inochi Amaoto <inochiama@...il.com>

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

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

> ---
>  arch/riscv/boot/dts/sophgo/cv180x.dtsi            | 14 ++++++++++++++
>  arch/riscv/boot/dts/sophgo/cv1812h-huashan-pi.dts |  4 ++++
>  2 files changed, 18 insertions(+)
> 
> diff --git a/arch/riscv/boot/dts/sophgo/cv180x.dtsi b/arch/riscv/boot/dts/sophgo/cv180x.dtsi
> index 65eceaa5d2f8..3ea3a1af103f 100644
> --- a/arch/riscv/boot/dts/sophgo/cv180x.dtsi
> +++ b/arch/riscv/boot/dts/sophgo/cv180x.dtsi
> @@ -428,5 +428,19 @@ dmac: dma-controller@...0000 {
>  			snps,data-width = <2>;
>  			status = "disabled";
>  		};
> +
> +		usb: usb@...0000 {
> +			compatible = "sophgo,cv1800-usb";
> +			reg = <0x04340000 0x10000>;
> +			clocks = <&clk CLK_AXI4_USB>, <&clk CLK_APB_USB>;
> +			clock-names = "otg", "utmi";
> +			g-np-tx-fifo-size = <32>;
> +			g-rx-fifo-size = <536>;
> +			g-tx-fifo-size = <768 512 512 384 128 128>;
> +			interrupts = <SOC_PERIPHERAL_IRQ(14) IRQ_TYPE_LEVEL_HIGH>;
> +			phys = <&usbphy>;
> +			phy-names = "usb2-phy";
> +			status = "disabled";
> +		};

-- 
Alexander Sverdlin.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ