From nobody Sun Feb 8 10:10:02 2026 Received: from out-183.mta1.migadu.com (out-183.mta1.migadu.com [95.215.58.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BB757230D14 for ; Sat, 1 Nov 2025 09:03:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.183 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761987835; cv=none; b=KwlAq9gX4s9ht+qvpjXggw/5neFzsmdxHdX9664XuufWDoFjQdxrfNe4eit0Jt/5ejMJe0kmuUPAZZ2N+sVqvR+Am0tnwyWoxTZdgmIOLiRqW3G0BmTKekf6s6YETF0UlhyrEXxjieNrBaZVBJUXic8VKTkYbqZijwRA5s5MGCA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761987835; c=relaxed/simple; bh=iK6NFFg71Y3pBdM4TPnuBRO0crmy9qkQcmoBmFiBFnE=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=pluRVJJUXP/UwLeorNuWXHb2hghZd/JxVBmWU0DJtryo3kkJIvOODa9JizvV4bMiJMEXrSFs7hQgnrUhuxqeg0uTxxqPIcFxFO8scubQtTfs+AsWQc3ozsz4nWFvjE1SkBFjQHz/jP1hO+EsED3PSuw89kJzK03GsdbV3Ry3gzI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=Yv6pYiC5; arc=none smtp.client-ip=95.215.58.183 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="Yv6pYiC5" 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=1761987831; 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=jL4/scEEwi4e7mOZI7uuOmCx+7fcglvb5U5Neoz+89g=; b=Yv6pYiC5r6tE1hrg3gHCTyG9Nkakvc9Hq/JvK9HlKRP9PmABcH5hLZS20SbHc9ysPJ8C9i +okkUlZIY+Wn9bRoNX8QHCKh/DGp+3TSaROOfUZJa/Ov18SalGILrE60f7hVe+W1XTKdev jxaEtvYvIIDINo5zdpH2bnZROug0Mf0= From: Ze Huang Date: Sat, 01 Nov 2025 17:03:25 +0800 Subject: [PATCH 1/3] riscv: dts: spacemit: Add USB2 PHY node for K1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20251101-k1-usb3dts-v1-1-dd2660e5740b@linux.dev> References: <20251101-k1-usb3dts-v1-0-dd2660e5740b@linux.dev> In-Reply-To: <20251101-k1-usb3dts-v1-0-dd2660e5740b@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 X-Developer-Signature: v=1; a=ed25519-sha256; t=1761987811; l=1011; i=huang.ze@linux.dev; s=20250705; h=from:subject:message-id; bh=iK6NFFg71Y3pBdM4TPnuBRO0crmy9qkQcmoBmFiBFnE=; b=G8YkVCNHulhtoJwbGg7NTInbtIZtNJD/kNzSn0M8Ufi7GxFVdPpXMgI8ACePRVhXoa3bepzzy vOq8XvE+3ZoC5GJRYPk5HtJwMcBI3Aot7fBXve+mKKiD6Iz4slbZNqN X-Developer-Key: i=huang.ze@linux.dev; a=ed25519; pk=Kzc4PMu5PTo8eZZQ5xmTNL9jeXcQ9Wml0cs+vlQpBkg= X-Migadu-Flow: FLOW_OUT K1's DWC3 USB 3.0 controller requires two separate PHYs to function: the USB 3.0 combophy (for SuperSpeed) and a USB 2.0 PHY (for High-Speed, Full-Speed, etc.). Add node for this second USB 2.0 PHY (usbphy2). Signed-off-by: Ze Huang --- arch/riscv/boot/dts/spacemit/k1.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/riscv/boot/dts/spacemit/k1.dtsi b/arch/riscv/boot/dts/spa= cemit/k1.dtsi index 214216fdecd3..d4d3c6d88a29 100644 --- a/arch/riscv/boot/dts/spacemit/k1.dtsi +++ b/arch/riscv/boot/dts/spacemit/k1.dtsi @@ -359,6 +359,14 @@ syscon_rcpu2: system-controller@c0888000 { #reset-cells =3D <1>; }; =20 + usbphy2: phy@c0a30000 { + compatible =3D "spacemit,k1-usb2-phy"; + reg =3D <0x0 0xc0a30000 0x0 0x200>; + clocks =3D <&syscon_apmu CLK_USB30>; + #phy-cells =3D <0>; + status =3D "disabled"; + }; + combo_phy: phy@c0b10000 { compatible =3D "spacemit,k1-combo-phy"; reg =3D <0x0 0xc0b10000 0x0 0x1000>; --=20 2.51.2