From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.221.52 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795944497; b=1K59WYqtLsruO5h6YBHZNI6TCJmDWfJ8AE70dRrtkqVQRUtqZuEp1hNZ0XHUn4MDpBgx tNO4qS+ZIVSD5Yu5H636FXQsLPgHGS9VkWcbtmmhdnvtsJnon6mqDnxES1Iqytphf4PtX jVPBkB8XugP8E00ERVlyq60vBz23bwb7k3Xqkx+V7d7I/k/0Eux9QXHmdbIEWJ/cqstbc 04J9oDb99iQUWW4gB8DKe3/cmSuXlafqrVokofI4yEoQZzzYK5ExCR2eF09k6JAnBeijT pK3YFvOKht5lgbWBId2IzA9dt52NF7kQEE11dgX+SjmepcxbZ4ckVIEJM7E8DBxoZnw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795944497; 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=ZO+ku2/6tRunqsouBkSXKwxNJg8N30xGdFPeCWSmPQI=; b=rh0KZSYuiWH3RZkVmmb1GM7A3dfvn4WQw3DbiycNjnJtClsRx97UvEqz8jfEaD8lZeeP nw6Uqz/GfZoBXQfGRyJxdGE1aNnluJHRTMdGo6RESns0yuO8+02Tx77L2GlXMMOruneFn Ajzo8hcfhwribonYFaU4ZANDekPGCq5+rB6ib9N4w+D5EnEbsjYxy4m975/KClGFJ/1DB rDT4XheMpQG0WPTpLl0odt6L8CfFpdSMJY4SHWD/Rx9dGwAkeVJlFNCMBKR7sGKbCSU+l IbgFxaXJ4v1gTlgUVz0jXFhjc85BACc1Iho7yQivx15CHgulbO96B47wqnEmEndqW+A== 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.52 Received: from mail-wr1-f52.google.com (mail-wr1-f52.google.com [209.85.221.52]) (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 39328606A684 for ; Sun, 29 Nov 2026 09:28:17 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 39328606A684 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-f52.google.com with SMTP id ffacd0b85a97d-4a2f4ca0dcfso5391105f8f.1 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=Zm838O5cGeutnSz3euxuVps8pxDl9SDHpHX6LfZmVIB2o59yckBfw/pMD0mzStYTOp 9N9arBfukbAwgLoglxCIBq80KzRohLkd4GaPkCs03QAOEDkB8yDxq1/mgUX253ok6YY4 wJHYLD68ginOP/0mbtDdAsJLl/Gd7aZ7Fx1934WKR5ZL7ydyluCWTpNX9WamFgwEHXJt uo1zK5/K39mwGzb/HeL/inTO3C48u1hI5PaMIaFsBlHj0aQ/amfEG8Ti0OZuDkGq93II EuoaJ78xdL7Sz8OJeHMJJrduvyBLY/vzHSNynM1nrvkno0zsdT8lj92JUsHN1qPSqJvS KSxw== X-Forwarded-Encrypted: i=1; AL+hErGnAG8QRKpounDG/RI6t+XLooGgp6NIGmPrZE5H8oOc8MsQynnRDMy9Wi9m9a1s5lOrbuRosLkYrnzL@vger.kernel.org X-Gm-Message-State: APuU4Z84prcIvL6QcOdDBgnLd9kxB++/MpOBgUlO3Eql1gYD9T7VPu5x dZgUYEx2TnZiV4b0wlsRT17a5y5M4Q0RWSv6Nst8vtKDm2ReK1AO4DIB X-Gm-Gg: AZFdTZf74Up1LvLqqxQDdyBn7jqSSMc6V3hOhL8J+HOo2WYb1KjN+LWHrYaEEs+DBmq gbD5kOvp7kWtzsPnc3UhxRkJ9Xu9459bQXCkg5OWyRwxlkrZj8lfDxfIdqgsxnhyhSbbxsiyQlV IwxRCg3kq7/rcKMi8OTPc2HbaQzA8vCffBxy3asObaZEFNG7xP/bU2z82b4DMwSWKQ6X6dDIwbu u2eDQN1Vf2avM7M0Z62AVB04fRzo+gba4aQtulidWNOU+atIi6j2GCDpYJ4HLwxOEoGoq6E3BTA wogz9YeAWcJxPmSq92PzwzdGKxwmPcbw/AztLOpEgT8L2b5gZfVDOm91eZuMZHSgiO9NR/B6zfb Fhek3Dll8FFpY9dUCCW2R2s0cgz4RT/XmxLIgCQwLTBx6vxlFhDabnhL45GojGwX0rgNFufI+hm fDHD9+gYvOUkxomVcrpdUYNgzXrUr9JKuoBxcak0QDzJRnk5ELPSapv/l0ieA2RXAKNJUOIf1YA R3/vm1ppAsyB8T+gx/QD2mNv/gF9vLTMUephSuNn1ONzqaBKRmcpBCFBpNiPvhJQXpwXmhueBu0 P6wlOEajM4YBDCj/9ZGXG6QkIc03UWy6rZJNUziKWiXH/QU3B476aBJmGFRxjhwI5W7TE+62sAR Ln6WEbzJuTWMuOBh15/fY6jcb 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-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 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 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 DDD56606A31C 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=mQ1BDbb/ 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=bhKQ7DqfRAa+x4gE0xNZ+tNZ3cR/tdykfOLNW25u/3g=; b=mQ1BDbb/0tHfTQgFIP9xSewF1k jOE24s5w2vwzKuhUKn6YiWeRYn5ic6rcdKP0A98tAVNeEScAPaSQ2WxFwlIyxuGuSGZ6oFUaGwjZL xDXMBZn7zTkCTYLSd895XIAwoGlT0Ui3Js6WKj+/vldpNm6YBved22EQv3VfZq0kFfsakv6DFe93/ atGqQ34raqzNt089LKug4imDdJbdbc1eIWfRbovgB8FQEdjzLDx6+vK8kwsRyrS3aw6DNPVJ/9GQc ejNYbrqwns1Mw9f6iUfSOQ+i2FETpy/4OZ89oGG9Swj5MKrNhAqCDi1I9nljRICKpRET0WTplQtJM BUQae8Vg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xXbDQ-00000001kB2-2i6g; Sun, 29 Nov 2026 09:29:00 +0000 Received: from mail-wr1-f51.google.com ([209.85.221.51]) by bombadil.infradead.org with esmtps (Exim 4.100.1 #2 (Red Hat Linux)) id 1xXbCj-00000001jeW-2I3m for linux-phy@lists.infradead.org; Sun, 29 Nov 2026 09:28:20 +0000 Received: by mail-wr1-f51.google.com with SMTP id ffacd0b85a97d-490c3ae81d3so5913766f8f.2 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=YSs4zCdKiPy1+vGhXujRswfecReozBxFJ6voQl3zF2641OPA10eUckO7utZ3ihHmaN b4evY3TCYuCImGWxOqePycdDnBaNvCx+J1yjfrGvjB8xhoOQBQwKprD1rajTIHtb/kyx 8aXkKfP0rRidu0xU9OJUeKxajiFuZjvmqyAVC0zAf4FKPKyGYzLGI+QKkLXFLzqfnsb5 yxJMHLi4TgutuJHLoDnCxfqiZT+2D5CPG0Z5BaCp6iND2q5poC66ubl+gQaRGZJkPnHJ QvFTyxt2pPNPEdzKSb6a5dgeOtzKatH1RuEBToirUaamoVBJmALmsK1qNLYbZWDd4vqB fS3Q== X-Forwarded-Encrypted: i=1; AL+hErEXdoBvizB2dSZxzWKp1SZeQ8F8vhOAhCWWFpN6I+CATpUzlKefF2VjiJ7erisgPkyutAvnMFBCSeM=@lists.infradead.org X-Gm-Message-State: APuU4Z+e/5iWRutlEWEM3uRcG3KFx9eflTb5xYmquZ/Y7tOUPelC1DIn NAhsAVpKPwNvVZG5TEfGx0b7aMCZqEyBVnAvh3NcqEA9ViNV9xhy9bIP X-Gm-Gg: AZFdTZdEwUaqnbi2BC/A5sioqTZAWsh5lhXZ3Hh/qDk0In1Yj+tAS3WbcBdPnHOdiFp uo/MRAVgXMaCHmHo9q3TTntwlhy443YaCZBBALUnUkHe7HXbUmXQhaxGZOp9oX1GlLowS5MJzVs Vh1dAHtWxE9scnZurDffZVWISeR2oRONRezk1fllttGgSJvsSqfCNY12TBKCwghjnm5/Y8VMm2B 6ifytNCnKAov6XhJ8S2Ztzh9mKRFrv9cm3kyumLjz8OItAGKJDSiGWNFJFhZrl2e6glW6cg/Tk+ ALAkq83PXhmQYzDIwx8t6lSAL2vKlIrYnd1CpGOUqVMbrS0Tn8qsQf/TVP+h7o+6eQFB1xN9W7b 2AGoZug8JvVadHvLUXMU2oqUt0w4tzg+G6oAfeOQDjX5v6pF8B0WjdiAFaObvDivhnx4OM9uyXg pRTRsEHmtZiG5i/KZ5JRxsKi9/1YN8ttlj2Vy19AWIewZZWAwPJXdnCcS2+amAUd/cmXx2wL/K7 mlVW3+Ya1E/v3ru27CVVhsXrpQTSnv+/1tC7SESJZZi1bABgngArfyA5TJxCCm3zh5huQogNdHu ORvz+84iawWlYnN0KEvwF1lbsW9j6X9eLVeNrTpVGzPgatZgEf9GDeXAZ8lZAngFBJtoXR0HG1D 0SUfvciog7tSI7kw+F50u8Ap6 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_688006_03DDFD19 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 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-phy mailing list linux-phy@lists.infradead.org https://lists.infradead.org/mailman/listinfo/linux-phy 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