From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.221.47 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795944500; b=PfoCCM+NmuhO4dHcoCY3cm9BTQ1tvSbtAcdhBrHRZlY06EzdzkcfAXeW4O9cgjihROuG r5QxWe/1/v0YeKpdVYgKPzsZvMdvJEgBig1HMR6N8MI31qZlYedUw1hdTT6LPxmJHmPYf fm0Nqp6dJZ3CrG1HaZ1o1hTeWDnBusL8Y1Jh6oeI/FpZAGZM8I2hoxP6iWH6jDhkjnBNB RDY1AcMZ8Lt8W+8CsXKtN7l6KmNaGkZ5v1ORVqnq2t6LsElRsIesn5w/3bYvhDfc4z1Tw vVWOERuBH8uddIwCyoMlQuWaI6EFmCDn1sM37EJ/s25UW2WJbdfFC0AW5dfBW//NRhw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795944500; h=DMARC-Filter:Received:X-Google-DKIM-Signature:X-Forwarded-Encrypted: X-Gm-Message-State:X-Gm-Gg:X-Received:Received:From:To:Cc:Subject: Date:Message-ID:X-Mailer:In-Reply-To:References:MIME-Version: Content-Transfer-Encoding; bh=TyO9YTky0Saexf45ZCVHLqcGFDw33dibBGDMnFRcf40=; b=leFz+ukkuOWpuNTPqw4cNUI4Q4gxw9xV6HLt4rsC1cFtPaUg6MLU1LMvesKUbbbAkH9/ D2w9FQKPYu+pD9rlbIG4Vd+MRXoW6DVPx0nm92LqDLT0he6YJTV1IKM2+NIrgCSc7Zzbt ReXxW9YGEtAPJu3Oaa4MyyA5ADR6q0kgWc1IqRh3yKZqz84CycYypXgcwFLJOKVZXZfpN LNJXtHGC2Z8GkBpzz+Y4bnh+BS4Nsx63naLh8jG7EWrscO9s9uAOlqbBZk5xgj+CZVFJc cH8YY7/XlAsZCztOw65xDOQ7Z2wFSE9bPTQmjeNYzUrvOiwYrNzqewumBuLOlQXg5WA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=fail header.from=linux.com; spf=pass smtp.mailfrom=gmail.com; arc=none smtp.remote-ip=209.85.221.47 Received: from mail-wr1-f47.google.com (mail-wr1-f47.google.com [209.85.221.47]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 16C1560A2636 for ; Sun, 29 Nov 2026 09:28:20 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 16C1560A2636 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=linux.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-wr1-f47.google.com with SMTP id ffacd0b85a97d-48dfc0421d9so8582283f8f.1 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=zrVyr53GOgc4/rQKy8UAI6klr+yfSLTkV81zl6IEUSxP5na2n3RmIWqVY0iVA7L4Nt eZSNFJU95ScofxubvEkMR0eqbyoDmK0KHmzz2ZFQHLbnwci0mo8t8Q/Efku3PXOIrUWj eDr7RjPgRsUvuOl1Khtl0dKc6+5HBpL0Qd8IbB0Sk76rxu06BiPQKbfZv1k6CuNbJu4S gqyfXOk1RaqhGuQPYuTGMqJP5dLyR2s6NG8HT84eB1ltjELp87pviOkRC3u6/PVNOkGq 1ma9v6jbeDe8qfg3W63PjkZ0NEGOO8KKri4HDpoAExMt+AV6Rl1xAAWZw888/HZevjJ8 K+lQ== X-Forwarded-Encrypted: i=1; AL+hErEdguX9plRrEgWX8/WrIHYUbcK/Ko8TlzT/75RhtqXZz1qceXTaEym3Bmo9+pwQibfxErTghzFd8Ht3@vger.kernel.org X-Gm-Message-State: APuU4Z+8SNVAddV+A7N1GRhfuXKBHIzMqeHO4gTCTqgHTLb6oXRHDz+c oCUzi+A87oaODeCPkEoms16LaukasPJqYAU17c1ldwEFiVlNM5X69iGgICYkynVA X-Gm-Gg: AZFdTZcwZPW7R97jzMChvKD4xJToTdESV06oml87oCZKKAN03HSdFzo0+bnEu+fgmQ3 mDvvCQgxBNmQFEKbvPvyc3/MUrEl3rjjp+EEF9dnbJmyrdNxq8tmHNFFw1JZyAnxQ/fSlDw3Q+N wadZbtWDqSXtvFKVV9SGgDFg2iFRXhNpCcZFkCAL4M8G9DlJVivNfwCtiJhYhFqklVoCAY+VdiV 3UHTAnj18hxBCHF9vPEkATSwx74ll0459XJygt/WwCwmsQABI4KXxMG5ukeRFXCnq7tkaOAEsuo hScjjkVNaRQd0BH9Tattfnna2RovPaF2zlHJ+glictO2XBEPNZBTXrqrxN/pAIzo6dOm5uHIsCc SIe7m9No67tbgw+r8WZaIMLkq/3vy0shsddd/kjZPJBYiAdDHST/rmtXdCgviySwjUxKn0H5DjQ 1eR9csFEfZNfQNhF4jvZqspsjxi0a4KiYex3f+0t2ZlaaRKtTPclHmQ0fpAuwqVe9zYP/3tRSnu vkg4fqdcqj54rnePFK24rCrfyFl9pcRAm2NW/0c4DlIGSqHGz0qRaSSLxED99yJtzGzCY+ZLpeP ESrrW4HWRPdDIefVf5KzYrjuNoGNXbOPsagzlH+t4iqPC9tr+o3U0/iT6RkkePiJhbj/s+S1auc ZO3euFxXgY/jXmsV34nYmZUmgyLUf2xMqY4vmS4AZHrmDqg== 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-Mailing-List: devicetree@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 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 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 3250E606A323 for ; Sun, 29 Nov 2026 09:29:18 +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=hLr+GJzT 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=5dHsqdZsWzSGBuGNeqs5pNDgDhxbXREDdHY7F52/vBw=; b=hLr+GJzTtrrZbTk6U+7bMHAvC2 6PeSkj+f+yJIbxlB0whgKYJma7KKo553qYLi+ZoK0RLQtDU7ps9r40cObQlICuFUsQZzALEy6gnUZ u8MOFLcFrW4vmRqir3RgBXMYQ143SZ4OXeM8y/KV6gm+m1kb2pvF9q3ejpup61RWFpggHgOSRAaa5 TzWIIV/wU8FmWF9FybpCeCTI/LysLngB92SUVgMlTBsQ2wSXJX8BV3gqxMDqOWSR+KeQeuejssTC/ /rcWe+m8Oqwb2rIgs4dFkwNPGmXQ5K5g4VkajLDOT54yjq9UQWEiCUKwnuXZ97bGhNTKXB1hKOFDI Ix+nxhwA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xXbDh-00000001kPg-3d4V; Sun, 29 Nov 2026 09:29:17 +0000 Received: from mail-wr1-f41.google.com ([209.85.221.41]) by bombadil.infradead.org with esmtps (Exim 4.100.1 #2 (Red Hat Linux)) id 1xXbCm-00000001jjO-2s3J for linux-phy@lists.infradead.org; Sun, 29 Nov 2026 09:28:24 +0000 Received: by mail-wr1-f41.google.com with SMTP id ffacd0b85a97d-48e20ed3b9dso8406575f8f.2 for ; Sun, 29 Nov 2026 01:28:20 -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=H+UsW3LJ5qPfGoWnyo8NltNyJCVXvOBDdo3VjwsyJvFWHl5hr3VUmAR7CavtNfvaEn GN7OObXvxqaYH3MxkG1XXWux+GdzWoJbhsf68Hc+8fXNuPuwUvK9YxQbJ9StarlJ46YX sdcdsvThh/69kZ2VaCsYl0p3QooaeXmWGhBHsPQPN6TiidCxO30rGlZD5mKqlMr+yz/+ sl/z6BkaRuTH2AwBa66zqUPare0uIc/8objSnvm7B99fhGBatESeqwEbQDP00cy9eT/Z CMVU6ElSbJ7pN+Dc/GXrLs5LJFX2NVypb/BPeSF8lVFDOzcIiTAIb91JUFKy2tc6wbqm +knA== X-Forwarded-Encrypted: i=1; AL+hErFaADsiuLgL8Rvsq9uL/WnHunvrhfyEPZ6SGMD4w+SFPLLt+AVeYQOW3F2HKDE2NZpXwl5kIKOw9+k=@lists.infradead.org X-Gm-Message-State: APuU4Z/sUGn3U/tzPPlMIV3UvvTEdI/kAM7sARvXuHjet2fQ7r0YqSO+ hael+Esjn56D/XlOudHYxd6YP4T1rqhLWvKl9Z+GeG02W9dL93DViUIi X-Gm-Gg: AZFdTZe9S5dEbI+aCK27JHBGq4T1uNszAEcw8ju2XMsbulYGUl7GKj7lkUYQsA3Irsw BK4DaZbJRjp2miPaW5htoN+QdjzYSyDtAi49lEMkes+HoYHq8RvqBEijpGiYO3evhw8ZuGpYbNm acK4nbKNKo1bXu8wXs2Cqr8HKE1UlpFkH8/2eXihNvcEI/PY7voG3rThU0SFKV4vLRokBhhImNF 8tLGY36Erc8l/hWV2giCaCtXDEey+GW9OSO+6qvQg8dioWOvbL9SjfsDiA0eTCD/yERb/x9kC42 WawapXUiiiP5akZ46c5+AmwCv2rikLEo02NFacscA5yaAcJJOpv/R9vb5RrGlgByH7vFZUj1M32 dz1Zo/2a4coPtjzU1LNiqe+VzkVwWPtsEHa174Sd4v29aqtavG0vCIPWWZoQmT4cJsNbbsG74v0 r2xjq6gi4PvVEFBDxt3r/7jeOMMLvJVJnohrYhIuinEWLDMnwrdYjrIY1bLq4HGAfPyrX11ywE5 y134IudPObECk6nLkY5LToJzkjZdE07b5TlECh8Dci/rIqX4A+GWuGXMMW9JOcXB3O4ZmxPhQ6C wzVHUq+mpGkGlQIPlkgQuoBWOPfIH0iHdW/GILW8dUoU6RUvHvzPjPmQNP7Au4GBWlupzPIGs5R rKFUBNoSqRyMG/JGvju0zA0vqOS8dGBs5/PGBsjKEl4SyDg== 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_012820_782982_3A63ABFB X-CRM114-Status: GOOD ( 10.63 ) X-Spam-Score: -0.8 (/) X-BeenThere: linux-phy@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux Phy Mailing list List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-phy" 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-phy mailing list linux-phy@lists.infradead.org https://lists.infradead.org/mailman/listinfo/linux-phy