From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id AF363F588D0 for ; Mon, 20 Apr 2026 13:54:42 +0000 (UTC) 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:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=oacn8YtZ7nbb9znEFhU5O9Q7nZ5hVodOlpqkeXAxoSI=; b=GLQD5wIO7u7P41hPyTVuM12sxJ 6eKgArFC5oueLeYCDppYn0A1zsPjfprVVXhnsb8T6SYau6TvZhgShtFIAYm1fTOjuYB4SaoNCwidi 3URFDonTc3/aVLzmlKwioSRQkiBIY3JtbO4McPQVCNGq2ywmIPsn3Wp9Kk6SkyRCNGHtznIoRyXOh D1kvJDgH4LjUKfp587V0574FHq+UgTvTFb+6Z9vQjwDsOevQWAX59wlfUqjagxs3LVjI51OE9aDDD DBHZU9NJo5ZObaMYPhzcnNOM0hnovAAi9vKmJ9CuZnppcD/AiEDQqgl433yyBuOMAKciUMRbWVGwz fOKDmj5w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1wEp5B-000000076sG-2GbZ; Mon, 20 Apr 2026 13:54:37 +0000 Received: from courrier.aliel.fr ([2a01:4f9:c011:1c83::1]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1wEp52-000000076iD-2un8; Mon, 20 Apr 2026 13:54:32 +0000 From: Ronald Claveau DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=aliel.fr; s=courrier-s1; t=1776693263; bh=n3WSYCLG98U4QY/QGJ/s1AzIwGndCctZjh3l/sS6VWg=; h=From:Date:Subject:References:In-Reply-To:To:Cc; b=JEamL4jrS3hEkksbxfDh4pbl3D19ODNZHL6tsQb+Yq16vZ/NB/6u45zUeEcTJH2v+ AB1qaMP85qkVr8oMjidWU3U0h+apr/Tdi4gMEJvMihkYzJ7Tjjp8og/Xpq+A6Tw/RS j03Sp7+/R8bq9dnH5n2B2onzJSe2dwezrAMaNGls= Date: Mon, 20 Apr 2026 15:54:03 +0200 Subject: [PATCH v4 2/4] arm64: dts: amlogic: t7: Add UART controllers nodes MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20260420-add-bluetooth-t7-vim4-v4-2-9505df0e7016@aliel.fr> References: <20260420-add-bluetooth-t7-vim4-v4-0-9505df0e7016@aliel.fr> In-Reply-To: <20260420-add-bluetooth-t7-vim4-v4-0-9505df0e7016@aliel.fr> To: Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Ronald Claveau X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=openssh-sha256; t=1776693261; l=3707; i=linux-kernel-dev@aliel.fr; s=id_ed25519; h=from:subject:message-id; bh=n3WSYCLG98U4QY/QGJ/s1AzIwGndCctZjh3l/sS6VWg=; b=U1NIU0lHAAAAAQAAADMAAAALc3NoLWVkMjU1MTkAAAAgMGec55oxeeisqykQiUedekMYyOnR9 BG9E/7rDWyqdNoAAAAGcGF0YXR0AAAAAAAAAAZzaGE1MTIAAABTAAAAC3NzaC1lZDI1NTE5AAAA QJVZjrLsTC7ivdNRFaEyrVVrbc1Q3Tgttw/0wNxdmjyfZt/H9cKlmRaOj6h2KwKLYSsvxLAKpRV OXnav8Zrj1AI= X-Developer-Key: i=linux-kernel-dev@aliel.fr; a=openssh; fpr=SHA256:kch4osYZ6A1BrPps5AUs6KnfdE2wm4ocMtyTc8TmZMs X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260420_065429_215891_FA0C2146 X-CRM114-Status: UNSURE ( 7.50 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add device tree nodes for UART B through F (serial@7a000 to serial@82000), completing the UART controller description for the T7 SoC. Each node includes the peripheral clock. While at it, move the uart_a node to its correct position in the bus address order (0x78000) to comply with the DT requirement that nodes be sorted by their reg address. Complete the uart_a node with its peripheral clock (CLKID_SYS_UART_A) and the associated clock-names, matching the vendor default clock assignment, consistent with the other UART nodes. Reviewed-by: Neil Armstrong Signed-off-by: Ronald Claveau --- arch/arm64/boot/dts/amlogic/amlogic-t7.dtsi | 61 +++++++++++++++++++++++++---- 1 file changed, 54 insertions(+), 7 deletions(-) diff --git a/arch/arm64/boot/dts/amlogic/amlogic-t7.dtsi b/arch/arm64/boot/dts/amlogic/amlogic-t7.dtsi index 4a55d9641bc9b..81c26b1e3e7a4 100644 --- a/arch/arm64/boot/dts/amlogic/amlogic-t7.dtsi +++ b/arch/arm64/boot/dts/amlogic/amlogic-t7.dtsi @@ -577,13 +577,6 @@ gpio_intc: interrupt-controller@4080 { <10 11 12 13 14 15 16 17 18 19 20 21>; }; - uart_a: serial@78000 { - compatible = "amlogic,t7-uart", "amlogic,meson-s4-uart"; - reg = <0x0 0x78000 0x0 0x18>; - interrupts = ; - status = "disabled"; - }; - gp0: clock-controller@8080 { compatible = "amlogic,t7-gp0-pll"; reg = <0x0 0x8080 0x0 0x20>; @@ -713,6 +706,60 @@ pwm_ao_cd: pwm@60000 { status = "disabled"; }; + uart_a: serial@78000 { + compatible = "amlogic,t7-uart", "amlogic,meson-s4-uart"; + reg = <0x0 0x78000 0x0 0x18>; + interrupts = ; + clocks = <&xtal>, <&clkc_periphs CLKID_SYS_UART_A>, <&xtal>; + clock-names = "xtal", "pclk", "baud"; + status = "disabled"; + }; + + uart_b: serial@7a000 { + compatible = "amlogic,t7-uart", "amlogic,meson-s4-uart"; + reg = <0x0 0x7a000 0x0 0x18>; + interrupts = ; + clocks = <&xtal>, <&clkc_periphs CLKID_SYS_UART_B>, <&xtal>; + clock-names = "xtal", "pclk", "baud"; + status = "disabled"; + }; + + uart_c: serial@7c000 { + compatible = "amlogic,t7-uart", "amlogic,meson-s4-uart"; + reg = <0x0 0x7c000 0x0 0x18>; + interrupts = ; + clocks = <&xtal>, <&clkc_periphs CLKID_SYS_UART_C>, <&xtal>; + clock-names = "xtal", "pclk", "baud"; + status = "disabled"; + }; + + uart_d: serial@7e000 { + compatible = "amlogic,t7-uart", "amlogic,meson-s4-uart"; + reg = <0x0 0x7e000 0x0 0x18>; + interrupts = ; + clocks = <&xtal>, <&clkc_periphs CLKID_SYS_UART_D>, <&xtal>; + clock-names = "xtal", "pclk", "baud"; + status = "disabled"; + }; + + uart_e: serial@80000 { + compatible = "amlogic,t7-uart", "amlogic,meson-s4-uart"; + reg = <0x0 0x80000 0x0 0x18>; + interrupts = ; + clocks = <&xtal>, <&clkc_periphs CLKID_SYS_UART_E>, <&xtal>; + clock-names = "xtal", "pclk", "baud"; + status = "disabled"; + }; + + uart_f: serial@82000 { + compatible = "amlogic,t7-uart", "amlogic,meson-s4-uart"; + reg = <0x0 0x82000 0x0 0x18>; + interrupts = ; + clocks = <&xtal>, <&clkc_periphs CLKID_SYS_UART_F>, <&xtal>; + clock-names = "xtal", "pclk", "baud"; + status = "disabled"; + }; + sd_emmc_a: mmc@88000 { compatible = "amlogic,t7-mmc", "amlogic,meson-axg-mmc"; reg = <0x0 0x88000 0x0 0x800>; -- 2.49.0