From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 50185606A323 for ; Sun, 29 Nov 2026 09:29:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=5FnoqMwl; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.a=rsa-sha256 header.s=desiato.20200630 header.b=AyLyrLU7 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:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Unsubscribe-Post:List-Owner; bh=RZM5liA3hoqrbocqbTlzf5lSvJHnVCOsM2eXqsHaxaA=; b=5FnoqMwl9L1RAiJoMZpDRHHSQU Zq3EVenRaeYzSgVc/vvWU19dy7VsiJNbBtE0aqa8xAfHhm4qmHS6tXMZ9ghfzygjLjX0vEO4m2SgB FaIHqyVh4CGhvsmm5L/+GYC+lc/tesNqfsp9gV2T3KOIV9pfyAqRWuB6X1Wioh++CnusfRyEgIzjH 83QyE8oPiMNJIU4YHic/Hcx9VF0Tlu1D+Zy/p2cMVQ1EgYZcGRnlEAi+hP0Zhg/7BxHthTGZ3ACRZ be6jekaSaNtgH1rALMjMy4rbPELjJn6QY2lGOjhtHL/c8Whglj91OebLVn7mR2aPliwvem2Vd69eZ GpBLqWhg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xXbDs-00000001kYA-3y8n; Sun, 29 Nov 2026 09:29:28 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.100.1 #2 (Red Hat Linux)) id 1xXbCs-00000001jrr-18pE for linux-amlogic@bombadil.infradead.org; Sun, 29 Nov 2026 09:28:26 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:MIME-Version :References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description; bh=TyO9YTky0Saexf45ZCVHLqcGFDw33dibBGDMnFRcf40=; b=AyLyrLU7Zqu/Q8KrxxLwK0Galb nzn2MFOU6Ig5UMj4/lcCKyO5Gjmx5v42uzzitOikPWMtJjLeGLkfLTgvUu4nRmoU3zJv6POAMhgoe DeJKKzjVBETfcoZobDVWHidjWVtORgcqb1bcCNV3kZrETr06C+GMdFrbyaPFKafS1XVR/vQGEgKWk RUKNEDL+oWk320RMNfBgAfajJ3Wp7T7+GtBCf6JKAKQtluRe/2NVBrpfALVYCa9lZgd+1Fpg0PJus X/XSeq5aQhFxBLDM0N6aLF1yiEDy9IltekLhJfFahC5OmXeLcx+ecmmrJzTvN1r06lqofG7mgzvLx 3w73X4dA==; Received: from mail-wr1-f43.google.com ([209.85.221.43]) by desiato.infradead.org with esmtps (Exim 4.100.1 #2 (Red Hat Linux)) id 1xXbCn-00000008wNp-1P9c for linux-amlogic@lists.infradead.org; Sun, 29 Nov 2026 09:28:24 +0000 Received: by mail-wr1-f43.google.com with SMTP id ffacd0b85a97d-4ad6219f7d8so8585762f8f.0 for ; Sun, 29 Nov 2026 01:28:19 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795944498; x=1796549298; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=TyO9YTky0Saexf45ZCVHLqcGFDw33dibBGDMnFRcf40=; b=ITanHj/PeB+zGm8xsSVVrjI8m5M68XHZP6AyOC8dp7s6mjBOQjJFWgjFdL+0eUvbuY 4nKuk5aXfY3f53Jw3iVLIj+GBdPBOYtxUXSGP9Km+gy3R+Z81E09OPV47GDFsdKWKD5S 9s5Fwi7AIs0fncIUUDE9SKawzPk0fz+69wm51NNXGPjnTApvm4SrAavUqrm6lYqB+Vag N31cBFs0Rd8bQ5+VJOOwzssrLaFeoj00lWs8yCIEToh16J/XMoKQK58Tb/sL/c84qav+ dw5FZNZ8/4d8Ld6s5IlQ1X5q+DuxyXDRYPx6ikiUL4KwzcAFWJvZG7sGgqoN6UQ3KD1x XZAQ== X-Forwarded-Encrypted: i=1; AL+hErHO3ICb01fsCy0bpf3AG49mQdyhbnb4ttZjFHzbx7bxQGfE+2TmOTbhp8E6lf03wHSunKdnN7bDhh3PBk3S@lists.infradead.org X-Gm-Message-State: APuU4Z+aVQEWGa4RxqPDdMe/2KgGH+Ap0LNz1whovisN4lbzRZKxNuOC 6w8qykHq1bVOlH/rRhMRwEWPu8TO1fLXOL1AygL2PgLfj2Uu2ZRspppQ X-Gm-Gg: AZFdTZcn/LnzRZxstYlCdI428CmOfR+tmAi1chaZnTmrd2TH2xXAC+bZty1BaWF+xzF MTLreQByv9AuUr5poPEIFfuprXhFGQ/+eqwkxclnANs/q/UWto0SQvfMLdID9hL0SSDNh2P4Y83 sx8ci5P4o8fAijaX6v0E2GS1qfxQ9sjzhLxwC3KFiG9c1gKqho7t2wOgkFrF1xJKsZ79bK9q/9P 0KlFGX/qmlRunNShrs4qPwfOAQJaYhIccBjcyuj3CKwO7m6migTWG24aEFqBYMJFyntgIfItrZb uSILs6vInDRbFIMb5Ao77D5lD2M+xPLb5qvFDdpr3k124WWx7CaiyHqmo8GcuW/FZpHLR7oRdD4 zTv4K3tVcJOHBK/NWyhh0XIuBCFN5niuTF4drHeoKyGp0bb57GELa4683FnNMdcut4bwAac2ptc IIyafzbmY5jaGvhGCeURqmJ8m5LqFp2Y1mITCyIsVpS6fLeiRXP0ok/s/8OAdo+EJ8V1agrdufF faqARBb2CC8HsblXAspn+wsfM6TnUHf2GOqNFDV02qK4DuGKOtUxlHMas6TKcptVpLuX3FlfBji 7oi6l/jYL1cYig8x2GQaIZINgjrgUuiFN4S2pycj/nbNEiA3/Ieit4hAU7cmRT3+y9ElMBYDswa uYKeqFbMELDuThJZCVJw0eo4RcVfdM7/sU5f/MjAGRZxvPg== X-Received: by 2002:a05:6000:2c13:b0:4aa:874c:a1c7 with SMTP id ffacd0b85a97d-4abb86ed79amr56734059f8f.43.1795944498511; Sun, 29 Nov 2026 01:28:18 -0800 (PST) Received: from threads.localdomain ([84.68.176.78]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4ab69bf61e8sm60210765f8f.11.2026.11.29.01.28.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Nov 2026 01:28:18 -0800 (PST) From: Lucas Tanure To: Neil Armstrong , Kevin Hilman , Vinod Koul , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Greg Kroah-Hartman , Mathias Nyman Cc: Jerome Brunet , Martin Blumenstingl , Manivannan Sadhasivam , linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 9/9] arm64: dts: amlogic: t7: add the USB3 PHY Date: Sun, 29 Nov 2026 09:28:10 +0000 Message-ID: <20261129092810.146043-10-tanure@linux.com> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261129092810.146043-1-tanure@linux.com> References: <20261129092810.146043-1-tanure@linux.com> X-Archived-By: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20261129_092821_876025_99D58EBF X-CRM114-Status: GOOD ( 11.72 ) X-Spam-Score: 1.1 (+) X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-amlogic" X-Spam-Status: No, score=-16.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 The first USB controller of the Amlogic T7 has a USB 3 port, but its PHY is not described. USB 3 devices on that port connect only at high speed, and the SuperSpeed root hub stays empty. The PHY is the USB3 + PCIe combo PHY, used here in USB 3 mode. It runs from the 100MHz PCIe reference clock. Signed-off-by: Lucas Tanure --- arch/arm64/boot/dts/amlogic/amlogic-t7.dtsi | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/amlogic/amlogic-t7.dtsi b/arch/arm64/boot/dts/amlogic/amlogic-t7.dtsi index 72bfcf77afcb..46e5f380a272 100644 --- a/arch/arm64/boot/dts/amlogic/amlogic-t7.dtsi +++ b/arch/arm64/boot/dts/amlogic/amlogic-t7.dtsi @@ -4,6 +4,7 @@ */ #include +#include #include #include "amlogic-t7-reset.h" #include @@ -267,8 +268,8 @@ usb0: usb@fde00000 { clocks = <&clkc_periphs CLKID_SYS_USB>; resets = <&reset RESET_USB>, <&reset RESET_U3DRD>; power-domains = <&pwrc PWRC_T7_USB_COMB_ID>; - phys = <&usb2_phy0>; - phy-names = "usb2-phy"; + phys = <&usb2_phy0>, <&usb3_pcie_phy PHY_TYPE_USB3>; + phy-names = "usb2-phy", "usb3-phy"; usb2-lpm-disable; status = "disabled"; }; @@ -672,6 +673,20 @@ usb2_phy1: phy@3e000 { #phy-cells = <0>; }; + usb3_pcie_phy: phy@62000 { + compatible = "amlogic,t7-usb3-pcie-phy"; + reg = <0x0 0x62000 0x0 0x2000>, + <0x0 0x3a080 0x0 0x20>; + clocks = <&pcie CLKID_PCIE_PLL>; + clock-names = "ref_clk"; + resets = <&reset RESET_PCIE1_PHY>, + <&reset RESET_PCIE1_APB>; + reset-names = "phy", "apb"; + assigned-clocks = <&pcie CLKID_PCIE_PLL>; + assigned-clock-rates = <100000000>; + #phy-cells = <1>; + }; + uart_a: serial@78000 { compatible = "amlogic,t7-uart", "amlogic,meson-s4-uart"; reg = <0x0 0x78000 0x0 0x18>; -- 2.56.1 _______________________________________________ linux-amlogic mailing list linux-amlogic@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-amlogic