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