From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from va-1-17.ptr.blmpb.com (va-1-17.ptr.blmpb.com [209.127.230.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 40AB3208A9 for ; Mon, 24 Mar 2025 02:10:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.127.230.17 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742782240; cv=none; b=ehEx+YrLRiZNg3dQ2moGmmCbCYa4APi2Y5nfY2YPFgspPFwB3V6GP24qKvZ4xiArncx4zC4g0AdAuFqyfZQ0H2AlynePlL6vPwk4vEL89ie3WVpz3ABUxfCU4wR5cCDH6jMLL98A3Fz6GBjqhex96Uzpes/V/ReMDuARcpnvDWE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742782240; c=relaxed/simple; bh=033tZL8LYKIbpjhcTCdCfXtvCyYOA00Wn65D5T7jpE4=; h=Subject:Date:Message-Id:Cc:To:Mime-Version:From:Content-Type; b=M+2IuUOa2L9ABOw1RbvH2A10n3WW1/nOo2sohQDmOHkWBgz5Jec76sU0vmNvsccHz2FntF3f+GRiCDha5lBBgEm5IfJiUnqjPDTq43xoQBV2q5cMgEFMLNIhwO0zf+bPhB0ezEnOkDDtQIQ23gJ72qHuPfk+CFmljBmdbd/NDb4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=deepcomputing.io; spf=pass smtp.mailfrom=deepcomputing.io; dkim=pass (2048-bit key) header.d=deepcomputing-io.20200927.dkim.feishu.cn header.i=@deepcomputing-io.20200927.dkim.feishu.cn header.b=quo6wPGG; arc=none smtp.client-ip=209.127.230.17 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=deepcomputing.io Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=deepcomputing.io Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=deepcomputing-io.20200927.dkim.feishu.cn header.i=@deepcomputing-io.20200927.dkim.feishu.cn header.b="quo6wPGG" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; s=s1; d=deepcomputing-io.20200927.dkim.feishu.cn; t=1742782226; h=from:subject:mime-version:from:date:message-id:subject:to:cc: reply-to:content-type:mime-version:in-reply-to:message-id; bh=MHPZt36x34vKdZAyw073ovIPsPHQlX62Odd0waj2844=; b=quo6wPGGLhcfyASii/E/Jvy8gO00cdYWvQB6/vYC0FoQLmipXB44NDbn3wYc29TBEdU71T Tv+iMGW1ntm8Iu88PHVj9OasAiFFYFmopCTpFA8BK432Dupe9/evlVE/X98KJKYURqJBPg KVSrja/BuL1dQLMKjhJZgFptjpWwg7PzThhJwJqXvNDYpV4c6GFHjEnQ88T4V4R80nm8dG ZZT0AGSPKvOMh33Enb403LseM03sjzg6rX2tpRZgjwElDOtWaQKdcO+9zkvfZBaRL4ofxi FVZam48ocRnozQtLQ4HW6H6LukkeYv2cqf5dG469+6imC0raGzgKyPh6/a0HHQ== Subject: [PATCH v2 RESEND] riscv: dts: starfive: fml13v01: enable USB 3.0 port Date: Mon, 24 Mar 2025 10:09:58 +0800 Message-Id: <20250324020958.2235802-1-sandie.cao@deepcomputing.io> X-Lms-Return-Path: Received: from roma-MacBookPro.. ([61.141.249.154]) by smtp.feishu.cn with ESMTPS; Mon, 24 Mar 2025 10:10:23 +0800 Cc: "Paul Walmsley" , "Palmer Dabbelt" , "Albert Ou" , , , , , "Maud Spierings" X-Mailer: git-send-email 2.34.1 X-Original-From: Sandie Cao To: "Emil Renner Berthing" , "Conor Dooley" , "Rob Herring" , "Krzysztof Kozlowski" Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Transfer-Encoding: 7bit From: "Sandie Cao" Content-Type: text/plain; charset=UTF-8 Add usb_cdns3 and usb0_pins configuration to support super speed USB device on the FML13V01 board. Signed-off-by: Sandie Cao Tested-by: Maud Spierings --- Changes in v2: - Remove space to pass checkpatch.pl. - Add usb0_pins and pass test on board. .../jh7110-deepcomputing-fml13v01.dts | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/arch/riscv/boot/dts/starfive/jh7110-deepcomputing-fml13v01.dts b/arch/riscv/boot/dts/starfive/jh7110-deepcomputing-fml13v01.dts index 8d9ce8b69a71..f2857d021d68 100644 --- a/arch/riscv/boot/dts/starfive/jh7110-deepcomputing-fml13v01.dts +++ b/arch/riscv/boot/dts/starfive/jh7110-deepcomputing-fml13v01.dts @@ -43,9 +43,28 @@ GPOEN_DISABLE, slew-rate = <0>; }; }; + + usb0_pins: usb0-0 { + vbus-pins { + pinmux = ; + bias-disable; + input-disable; + input-schmitt-disable; + slew-rate = <0>; + }; + }; }; &usb0 { dr_mode = "host"; + pinctrl-names = "default"; + pinctrl-0 = <&usb0_pins>; status = "okay"; }; + +&usb_cdns3 { + phys = <&usbphy0>, <&pciephy0>; + phy-names = "cdns3,usb2-phy", "cdns3,usb3-phy"; +}; base-commit: 38818f7c9c179351334b1faffc4d40bd28cc9c72 -- 2.34.1