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 F0CE9606A323 for ; Sun, 29 Nov 2026 09:29:00 +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=RVG9Ot/1 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=Ktnmk8XqCckelfd2hAm3FjaE4a8RoCGBADls7OWjg/U=; b=RVG9Ot/1dV8Qq0m7jDMyq4EvXn yX/kx5UTksosyzSG7nb9Iy6kh0pWijWBp+YdUOdUWOtYHNFMbfOUd0s0mncarDkr6nEFrh6uzooFK ahaAH529cnqmVCkhbr2R6QFpPhjV1XKE1nGl9QqtIs0WMKxLqUnRIFfY/I3TGW5oGkTiEobEJkFVl /XoYk+kP2QmymHpGEpecrMFESfR7AYuFfDU+wkcRcN7A1QOJhtO42hIN5XfWYNLSYlNh0bxVZvssI OSrTqVPS3dLH+ZZClUgWt+8dZOqk4Abx7pl+oF5WX135EeO94iKxLg0FoH95GZPUMDVMzTPyQgScC xist67uQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xXbDQ-00000001kB9-2vSa; Sun, 29 Nov 2026 09:29:00 +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 1xXbCj-00000001jeV-2HEB for linux-amlogic@lists.infradead.org; Sun, 29 Nov 2026 09:28:21 +0000 Received: by mail-wr1-f41.google.com with SMTP id ffacd0b85a97d-4a7b8abe209so7392835f8f.0 for ; Sun, 29 Nov 2026 01:28:17 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795944496; x=1796549296; 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=ZO+ku2/6tRunqsouBkSXKwxNJg8N30xGdFPeCWSmPQI=; b=EDcRfJRJ3pSHRbsC3IfOo0kyPY2BXXBr2H4gOLa8uxgTRds5MOUfTj/uuDmsb06e9i a6WNR+CLos2qCSEJQyZal+eKuGOTZJ3ghPJMpp54u8zldhzQ5TOush7f3MRgQxej/E16 bmxoVQ8ADpZ202in2VPlH3Btpu7i6bHwTIiSZCSiji0FugP1JmcByeSEscz6jqjknHon V3hN9XrueQkLJe53dmE5u7t5uCTgbwKvC8I6mp9h1nyIRMqi7y5ObxsNPFYD1Q/6+ntD diUmry1bJibrhcq8LN53dejYZq195QFQ/Y9urWrB9dUtpJ9Qifwc3lfpXXKdFy9tf+Rd D2Wg== X-Forwarded-Encrypted: i=1; AL+hErHpitWsoYlfn1IBag/E65RSyDz7pYjUI96L65xsRdEhH72nEeZP5GJB+nTNkvbqueulV4bgBxwwJJZOExps@lists.infradead.org X-Gm-Message-State: APuU4Z+xlGS8MioPC2b8hx+r85HPhN9619gkT5vyd5/DZQ/qemGTL9xy FAzv3SO/L97/oE1tJ+kTgAihQkSFUDaDl9jSqwJCEBZU/s24Hyh2zkmd X-Gm-Gg: AZFdTZckUBfEJPe88YlftMjQotSM2LmK5rUSrlVrdh/Tv5uMrCpOvyG+u7ML7gg8yBb q2jD1T4FzX6zWdv1F2mwpkXmJULkIppTyE0keXE2fNlRN+aUD8tGYlVC+bd1ePlTrylDVWwfs+b ic2pA7U+KbXddIiCyJJxgK/fkopoWwa1GXRMPxkLuIsJFXMfb+ovuA/HNE5vy8ryRO+yrbX3eiP NVjc1gbBiEoKF6czi7YUTGj8P793ph5wel5LNw4E1BtSlnP5W+ISZlVowzXKRV+UfIxNNIo6B56 U83vvwkjvyHtsbrN8/hQ8LGNGFesXXFAte2bIlKP7Dga9SpSfCUWGOBe7XNHS+0bLzx5XWi6Y9c spLDfo5jUEyPdkRjhMnxyqo0sm7U9xtCrB48zuvXgBfdfW1uTIQsLxHTXtlDkpcaN01sSCxILkB McIK8bK67Wen7qCVR+Thh+tvSVU02oQXv7hdSV6Bv2L92jegfXF3p8Fq5QFIeFhcYVZdjUTgDlh Zt9P9H/+FBE/hTws4PplWDUEjJZ88cWqPahY3P64I4nwL6dbJtx5IANVxsLiFlkJEtdK+Y/JFcP 7Xa1Elhiu0RhnRg5lNvcFcRfKARSd/azFn2AQf+6mFFcjBKUv8bZwZUxYFtDo58PEEadHExaFrp g0EhBkaC7b2E86QT0m26fQgAr X-Received: by 2002:a5d:5d88:0:b0:4b4:510c:51da with SMTP id ffacd0b85a97d-4b4510c553amr43477228f8f.11.1795944495403; Sun, 29 Nov 2026 01:28:15 -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.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Nov 2026 01:28:15 -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 5/9] arm64: dts: amlogic: t7: add the USB controllers Date: Sun, 29 Nov 2026 09:28:06 +0000 Message-ID: <20261129092810.146043-6-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_012817_687574_A4472A24 X-CRM114-Status: GOOD ( 10.63 ) X-Spam-Score: -0.8 (/) 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 two USB controllers of the Amlogic T7 and the USB 2 PHYs of their ports are not described, so no T7 board can use USB. The USB 3 PHY of usb0 is not described yet, so it runs at USB 2.0 speed; usb1 has no USB 3 port. USB 2 link power management stays off, as in the vendor kernel. The nodes stay disabled because the board decides which ports are wired and how they are powered. Signed-off-by: Lucas Tanure --- arch/arm64/boot/dts/amlogic/amlogic-t7.dtsi | 48 +++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/amlogic-t7.dtsi b/arch/arm64/boot/dts/amlogic/amlogic-t7.dtsi index 52e106d931db..72bfcf77afcb 100644 --- a/arch/arm64/boot/dts/amlogic/amlogic-t7.dtsi +++ b/arch/arm64/boot/dts/amlogic/amlogic-t7.dtsi @@ -247,6 +247,32 @@ soc { #size-cells = <2>; ranges; + usb1: usb@fdd00000 { + compatible = "amlogic,t7-usb"; + reg = <0x0 0xfdd00000 0x0 0x8000>; + interrupts = ; + clocks = <&clkc_periphs CLKID_SYS_USB>; + resets = <&reset RESET_USB>, <&reset RESET_U2DRD>; + power-domains = <&pwrc PWRC_T7_USB_COMB_ID>; + phys = <&usb2_phy1>; + phy-names = "usb2-phy"; + usb2-lpm-disable; + status = "disabled"; + }; + + usb0: usb@fde00000 { + compatible = "amlogic,t7-usb"; + reg = <0x0 0xfde00000 0x0 0x8000>; + interrupts = ; + 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"; + usb2-lpm-disable; + status = "disabled"; + }; + gic: interrupt-controller@fff01000 { compatible = "arm,gic-400"; #interrupt-cells = <3>; @@ -624,6 +650,28 @@ gpio_intc: interrupt-controller@4080 { <10 11 12 13 14 15 16 17 18 19 20 21>; }; + usb2_phy0: phy@3c000 { + compatible = "amlogic,t7-usb2-phy"; + reg = <0x0 0x3c000 0x0 0x2000>, + <0x0 0x3a000 0x0 0x20>; + clocks = <&xtal>; + clock-names = "xtal"; + resets = <&reset RESET_U2PHY20>; + reset-names = "phy"; + #phy-cells = <0>; + }; + + usb2_phy1: phy@3e000 { + compatible = "amlogic,t7-usb2-phy"; + reg = <0x0 0x3e000 0x0 0x2000>, + <0x0 0x3a020 0x0 0x20>; + clocks = <&xtal>; + clock-names = "xtal"; + resets = <&reset RESET_U2PHY21>; + reset-names = "phy"; + #phy-cells = <0>; + }; + 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