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