From nobody Fri Dec 19 20:23:30 2025 Received: from madrid.collaboradmins.com (madrid.collaboradmins.com [46.235.227.194]) (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 A69425FEE6; Tue, 13 Feb 2024 16:36:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.235.227.194 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707842180; cv=none; b=G921jJt2OZQjdLXPyaQeKJKbUP+MPczq+ySt2AdkrMGW03Qvm3bntOuFpvFuerKGwFt8JnlbF/Z8zkmHm/z3HESfBnlMBDUi59yr/i9s7591po97vs+QvlSvjuYzj4hxAYmQD/eHYYY0/rsxnOt65qdAHyw8q/V/7g9Pjdllh9w= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707842180; c=relaxed/simple; bh=MVjKJXkKxNYTFYQbB5Cnz0RR3M0eERGZy7Vpxlc48kE=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=JrQsMDj6d6fJ5nYuphhWMM8z04Akq6Ox4/CB/5D9WA7CwG/ZzoahWUdYRxbZlVKX0VDOpXZE+tc8TIu28nplRkmMI5Z4Ft98SojLG6sL+SEKaTI0peowHW53GHHqbQFE930om1OAVBB0ocVNXP536ohgpjKqB5yzBQoXh3z0Hrw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com; spf=pass smtp.mailfrom=collabora.com; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b=MC4OawFS; arc=none smtp.client-ip=46.235.227.194 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=collabora.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="MC4OawFS" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1707842172; bh=MVjKJXkKxNYTFYQbB5Cnz0RR3M0eERGZy7Vpxlc48kE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=MC4OawFSs8GcVC83X5SCrSNwQ8eX/Y/FxgQuCZVe1pGSYAJGeRv0bsLJ5wfhMdeaK 5iZkEFXRGwyZmp2razhfs3ZY7Yk//mLFMv9JqasbwBLxUlfjtWvKge0EBjPMukSO0W i9UTVbm+b+VE2VIaYzf+N1MjvRrpI9ZUHCRjclarJiqyyuJdxU1UOe2lFdXOQdKrgQ Dpthh6De/oIJTM2VttcXd4QurcJIqIiJri392m6fVJNtyrWW2Mz6sxbrmO4DdGN97C DQr2XV/5V7OKkZPmcgNAXkqX/yIco+LHCFjxMRiTtWFNXWKlpDScM9NW3APgis32o6 756d5hWOHIEzQ== Received: from jupiter.universe (cola.collaboradmins.com [195.201.22.229]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: sre) by madrid.collaboradmins.com (Postfix) with ESMTPSA id 121003782081; Tue, 13 Feb 2024 16:36:12 +0000 (UTC) Received: by jupiter.universe (Postfix, from userid 1000) id 0A6D84800DC; Tue, 13 Feb 2024 17:36:11 +0100 (CET) From: Sebastian Reichel To: Heiko Stuebner , Vinod Koul , Kishon Vijay Abraham I , linux-rockchip@lists.infradead.org, linux-phy@lists.infradead.org Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Frank Wang , Kever Yang , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Sebastian Reichel , kernel@collabora.com Subject: [PATCH v2 09/12] arm64: dts: rockchip: add USB3 DRD controllers on rk3588 Date: Tue, 13 Feb 2024 17:32:43 +0100 Message-ID: <20240213163609.44930-10-sebastian.reichel@collabora.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240213163609.44930-1-sebastian.reichel@collabora.com> References: <20240213163609.44930-1-sebastian.reichel@collabora.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Add both USB3 dual-role controllers to the RK3588 devicetree. Signed-off-by: Sebastian Reichel --- arch/arm64/boot/dts/rockchip/rk3588.dtsi | 20 ++++++++++++++++++++ arch/arm64/boot/dts/rockchip/rk3588s.dtsi | 22 ++++++++++++++++++++++ 2 files changed, 42 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3588.dtsi b/arch/arm64/boot/dts= /rockchip/rk3588.dtsi index cec4dab097ae..a1dace522d66 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3588.dtsi @@ -7,6 +7,26 @@ #include "rk3588-pinctrl.dtsi" =20 / { + usb_host1_xhci: usb@fc400000 { + compatible =3D "rockchip,rk3588-dwc3", "snps,dwc3"; + reg =3D <0x0 0xfc400000 0x0 0x400000>; + interrupts =3D ; + clocks =3D <&cru REF_CLK_USB3OTG1>, <&cru SUSPEND_CLK_USB3OTG1>, + <&cru ACLK_USB3OTG1>; + clock-names =3D "ref_clk", "suspend_clk", "bus_clk"; + dr_mode =3D "otg"; + phys =3D <&u2phy1_otg>, <&usbdp_phy1_u3>; + phy-names =3D "usb2-phy", "usb3-phy"; + phy_type =3D "utmi_wide"; + power-domains =3D <&power RK3588_PD_USB>; + resets =3D <&cru SRST_A_USB3OTG1>; + snps,dis_enblslpm_quirk; + snps,dis-u2-freeclk-exists-quirk; + snps,dis-del-phy-power-chg-quirk; + snps,dis-tx-ipgap-linecheck-quirk; + status =3D "disabled"; + }; + pcie30_phy_grf: syscon@fd5b8000 { compatible =3D "rockchip,rk3588-pcie3-phy-grf", "syscon"; reg =3D <0x0 0xfd5b8000 0x0 0x10000>; diff --git a/arch/arm64/boot/dts/rockchip/rk3588s.dtsi b/arch/arm64/boot/dt= s/rockchip/rk3588s.dtsi index d384450d08b7..c9ee141cf240 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588s.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3588s.dtsi @@ -436,6 +436,28 @@ scmi_shmem: sram@0 { }; }; =20 + usb_host0_xhci: usb@fc000000 { + compatible =3D "rockchip,rk3588-dwc3", "snps,dwc3"; + reg =3D <0x0 0xfc000000 0x0 0x400000>; + interrupts =3D ; + clocks =3D <&cru REF_CLK_USB3OTG0>, <&cru SUSPEND_CLK_USB3OTG0>, + <&cru ACLK_USB3OTG0>; + clock-names =3D "ref_clk", "suspend_clk", "bus_clk"; + dr_mode =3D "otg"; + phys =3D <&u2phy0_otg>, <&usbdp_phy0_u3>; + phy-names =3D "usb2-phy", "usb3-phy"; + phy_type =3D "utmi_wide"; + power-domains =3D <&power RK3588_PD_USB>; + resets =3D <&cru SRST_A_USB3OTG0>; + snps,dis_enblslpm_quirk; + snps,dis-u1-entry-quirk; + snps,dis-u2-entry-quirk; + snps,dis-u2-freeclk-exists-quirk; + snps,dis-del-phy-power-chg-quirk; + snps,dis-tx-ipgap-linecheck-quirk; + status =3D "disabled"; + }; + usb_host0_ehci: usb@fc800000 { compatible =3D "rockchip,rk3588-ehci", "generic-ehci"; reg =3D <0x0 0xfc800000 0x0 0x40000>; --=20 2.43.0