From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B154DD25036 for ; Sun, 11 Jan 2026 06:41:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References:Message-Id :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=z/NDm04dq+RW6kmjT7HKx6tF6uz2KnPv/xrTcXyHd6M=; b=sY8r9bt0L5kL67 a5pZIbfglKvir+J6VSf2w34DUXCpIo5bHTz302d6yKCz65FU5q2XSIrqrI5QFlVNWPBYIiVJbY3qI GT0SrvT9LdhieALYYKuQ+xF07lKSvKFaAdFs0v9ocPrFZGhPQrJN8jN1xmkvJ3cg0wnojf6/Y+QvI OJ18GWD91NPqQMiZUJpT9qOR25HnimESfI0DCfSVLvxS4sGACSEdRQPLVS0xVYiWd+Z5tkyWaANN9 jZKWcNybRvnNiYOXoe+Tmehwv7lvh2HxieyQMFZhfdVBILdk/3iZGHKMK9MqA5IG+glv1j3icFXmX BjQL5VlR21uiEWgjQM7A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1vep8r-00000003unr-3T67; Sun, 11 Jan 2026 06:41:37 +0000 Received: from out-173.mta0.migadu.com ([2001:41d0:1004:224b::ad]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1vep8p-00000003umo-0kps for linux-riscv@lists.infradead.org; Sun, 11 Jan 2026 06:41:36 +0000 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1768113693; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Oi6LsbmDb8inhEq8SGuocpOwkdm2plqw8DXlm9DfGJY=; b=jqIfTj6bN20MYKJV2iuyLGXOjP5x2l7u6pUthhMXPWV6dPcorRc7ILdi2m/O3eA06F3Hcl Sw4ecm4R8tdEoT/GT96ivbrncApTJPx4JYzP6A36B8h7CPhBGiXsVCJsL32CDuijNCxTQQ 30ZzYqaD3mSQvR0QdHDYD/JLDB3FJcE= From: Ze Huang Date: Sun, 11 Jan 2026 14:41:03 +0800 Subject: [PATCH v3 2/3] riscv: dts: spacemit: Add DWC3 USB 3.0 controller node for K1 MIME-Version: 1.0 Message-Id: <20260111-k1-usb3dts-v2-v3-2-f5ebd546e904@linux.dev> References: <20260111-k1-usb3dts-v2-v3-0-f5ebd546e904@linux.dev> In-Reply-To: <20260111-k1-usb3dts-v2-v3-0-f5ebd546e904@linux.dev> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexandre Ghiti , Yixun Lan Cc: devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, spacemit@lists.linux.dev, linux-kernel@vger.kernel.org, Ze Huang , Aurelien Jarno X-Developer-Signature: v=1; a=ed25519-sha256; t=1768113671; l=1634; i=huang.ze@linux.dev; s=20250705; h=from:subject:message-id; bh=HZkN9hR2jiRoT5bv5LK/hpbCK9BnZnJ7CoVhUSI/eb0=; b=qOxvjMnCacTjIbo7wlXWoGGNL4BWa3URZzJLWNVbU4mDKv+swv8Qhcl+eMybhX/9bpklICgeZ Z3v8681Nu/kCAxMso++eMAfodlSSFV7bvXVolX4bsvZM80upEIQklqa X-Developer-Key: i=huang.ze@linux.dev; a=ed25519; pk=Kzc4PMu5PTo8eZZQ5xmTNL9jeXcQ9Wml0cs+vlQpBkg= X-Migadu-Flow: FLOW_OUT X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260110_224135_364601_0F8434ED X-CRM114-Status: UNSURE ( 6.82 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org Add node for the Synopsys DWC3 USB 3.0 host controller on the K1 SoC. The controller resides on the 'storage-bus' and uses its DMA translations. Tested-by: Aurelien Jarno Signed-off-by: Ze Huang --- arch/riscv/boot/dts/spacemit/k1.dtsi | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/arch/riscv/boot/dts/spacemit/k1.dtsi b/arch/riscv/boot/dts/spacemit/k1.dtsi index b44149f4f076..f40c2ce6d0b8 100644 --- a/arch/riscv/boot/dts/spacemit/k1.dtsi +++ b/arch/riscv/boot/dts/spacemit/k1.dtsi @@ -1162,6 +1162,30 @@ storage-bus { #size-cells = <2>; dma-ranges = <0x0 0x00000000 0x0 0x00000000 0x0 0x80000000>; + usb_dwc3: usb@c0a00000 { + compatible = "spacemit,k1-dwc3"; + reg = <0x0 0xc0a00000 0x0 0x10000>; + clocks = <&syscon_apmu CLK_USB30>; + clock-names = "usbdrd30"; + interrupts = <125>; + phys = <&usbphy2>, <&combo_phy PHY_TYPE_USB3>; + phy-names = "usb2-phy", "usb3-phy"; + phy_type = "utmi"; + resets = <&syscon_apmu RESET_USB30_AHB>, + <&syscon_apmu RESET_USB30_VCC>, + <&syscon_apmu RESET_USB30_PHY>; + reset-names = "ahb", "vcc", "phy"; + reset-delay = <2>; + snps,hsphy_interface = "utmi"; + snps,dis_enblslpm_quirk; + snps,dis-u2-freeclk-exists-quirk; + snps,dis-del-phy-power-chg-quirk; + snps,dis_u2_susphy_quirk; + snps,dis_u3_susphy_quirk; + snps,dis_rxdet_inp3_quirk; + status = "disabled"; + }; + emmc: mmc@d4281000 { compatible = "spacemit,k1-sdhci"; reg = <0x0 0xd4281000 0x0 0x200>; -- 2.52.0 _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv