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 0888A606A325 for ; Sun, 29 Nov 2026 09:29:25 +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=JNlTq8YV DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Unsubscribe-Post: List-Owner; bh=TyO9YTky0Saexf45ZCVHLqcGFDw33dibBGDMnFRcf40=; b=JNlTq8YVEmnw9G /WwGue+C4W1DH+K+kW+LWNNrjHt05L2xj/LRmgcrtpcIA6YjZS/1jcO7rjKfz57BtvgjklHvK2qWa eCcTvQAQmpcZcGYnwttdT3+cigk3x/0wdDGYQsYeXCc57UL+evSiQhw9srqV61j/ErTC9klhaAOwI sVv7XHHEqTEvbwG4JaTSBGu+z27Z4f08I/Gg3ABEZpyMY9O4RvAjZGxTS/JnGXw6Kw/r/XbNXcbgI ilCsHbR1vjc//K4lQ3ebf/P9BXhwQrSPx44BCz+zIl/OdiQaMLOAEWxT2OaPH7fmzt0A60H+8E5zE br1w6DFezvafRdiW7QZg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xXbDY-00000001kGp-0grn; Sun, 29 Nov 2026 09:29:08 +0000 Received: from mail-wr1-f54.google.com ([209.85.221.54]) by bombadil.infradead.org with esmtps (Exim 4.100.1 #2 (Red Hat Linux)) id 1xXbCm-00000001jjP-2p9C for linux-arm-kernel@lists.infradead.org; Sun, 29 Nov 2026 09:28:24 +0000 Received: by mail-wr1-f54.google.com with SMTP id ffacd0b85a97d-48dfc0421d9so8582284f8f.1 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=kOBud1M/M6tLwNAXnVZzJaneBWa+WNNuQfORN/TWrnFaEFlrCDLumhfhCLgmIHEtrl Rn03RXXVSFjEQrbox1yzu0eOid/PNGV32vDE1toFCxsnMtat7G41LFa/dWjyb4LQ9aZ4 kbV9RoftoquhbT+PUGdFyar8fF10eo67Jc+rZ7H7uLhtPtJ8aPDqzBYfPOEJ3zcIS6HY 6OMe3aOejdxrJHwNciOiZldbTIaJX4yRTPI9C6xU7tu71vXPxwPJmEyBdn3uSMHG19ug ku2vIboX1+QW0WZDpb4pOen/RatSFcCUBPj6MPKBIOIxUdExQ2ppzdK5rn85J1hzXq2g /R5g== X-Forwarded-Encrypted: i=1; AL+hErHfV6AScpm5KAo6SXgQs15po5akdUv4zApijtxgWfIQBgjjlGs73lCEfp6VMquOL3+sKdPO5nOxumYsOnB5FbUy@lists.infradead.org X-Gm-Message-State: APuU4Z/gbItNtK5Xv+SrtVbnrmtRpYrCub2lvAiM5Dor6Ws2iYI/AJ7X nT10NogpXG+nD9Yq+ZqOz7RpmySJ3l4A2sMRWXahAOOVPVi7XJYMAH5t X-Gm-Gg: AZFdTZdiV9Bspk6L4AwsRVQrj7PQH4yPL+y5aYkdf7F8SsTxLWOppEa2tOScDnpxpTE nLeJ/znB/bjfDgq8Y9FWK6iQaHqWwm8GI8bLkvKwa0YKj+68xMRaDI3ZOjW7fu/iqz/CAlZqbPK I1/eubYGEzy/Dy8V+UlBlYMn3SUpbmdixnEE8IVK+5oFZ1UV0feWW8cQPGCJJGhT35Kzjq6vNjr XEJx7TAVkH44yEFByG82GF323FvKe8M5sQQjYT/bjtO1chHFVnzAyuWhJvGN90cTiDt99Olbclr HIz+BoReRDbaIgFTknk8Dv73z4N+g+TwyhOtBQjMBodw7VHd/+yWpC/VsisIx2y/oVarbUQxMM+ 6LxnBhT7ZU/e96Qm6rI3ngcX6crCVD4R2q3jfZlx5JZPEIVib0i/K/eNmJ+MXSwhI5MW49NdAQX irYTPIZNeTicuglghksmhy7EjaULZKAyUdibc3VtH0kERnr0qL0YhqgaQ7rzNNSCBZOWJgUO2oL pA8+v18SuRHPimEVG8kRf24PM3WlBk4JkIqAVcImnpGUjysdhz4BLKZhdij/8v80avlKAZISPMu Tjo7jSsejEi+pjQhDvkp2qL9H1bsivM5pvzFVorAHtrxNyqPh3KKz1uhCNcKPYfpqshquOQKuW4 4k/kggp6x+eUgP45VqhbKn1YEuqSLuHga/NVEdQkYwBpt7w== 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 Content-Transfer-Encoding: 8bit X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20261129_012820_804996_D4073DD7 X-CRM114-Status: GOOD ( 12.03 ) X-Spam-Score: -0.8 (/) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" 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