From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from courrier.aliel.fr (courrier.aliel.fr [65.21.61.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4A64238AC9D; Thu, 16 Apr 2026 08:55:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=65.21.61.41 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776329713; cv=none; b=OgzoFtwJWl9zNkT+Or2FGgngU+ktxpNhpNJCmfKihmHiZHlJFtTURPQJGLfTL0bDCaK6vnTHPBneFmM4HxVK6fObg+83v4kgco++IdsAHCFSUOA4v7dTBaMh1JACq+tpTPDnct1rvTu00jdtqb1DSLV0jMxSEDU0VxmNZVENpSA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776329713; c=relaxed/simple; bh=1WmAgn/FyzsKhMv+YbDwDX6oHzK8g6LX2ZrR/tJNlRw=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=NGcX2TU6FuuBiuqPZb19FqJ/Qa4w9usWLeJ3TRfKW81UVk73xr/DpNDTsA2tDyTFx9D34WY81soIXbr8AIOmTSN0eaMAskKzwLZEqFJJmtFFgW6FndI8YJQMjRJigvSwjTd8GIEa8Z2B8aG1NwjCdZ8FZr2Dh2utKgho1l7Nsjk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=aliel.fr; spf=pass smtp.mailfrom=aliel.fr; dkim=pass (1024-bit key) header.d=aliel.fr header.i=@aliel.fr header.b=Ap0mdqLX; arc=none smtp.client-ip=65.21.61.41 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=aliel.fr Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=aliel.fr Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=aliel.fr header.i=@aliel.fr header.b="Ap0mdqLX" From: Ronald Claveau DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=aliel.fr; s=courrier-s1; t=1776329705; bh=1WmAgn/FyzsKhMv+YbDwDX6oHzK8g6LX2ZrR/tJNlRw=; h=From:Date:Subject:References:In-Reply-To:To:Cc; b=Ap0mdqLXPoVHLRYCl76YKsNpDbZn5YfKfldzTvMxIrM7QCFa/F6DBeyGvtdwPUBpK SCjkdPkmnXR9qeUFo8qglUFi1W9sAdOYRnI27FQbvm1LCwkXAvz/25QQc/nFVkYliO mhHEKyBfViG3PH41bV0exMQrAephqxwwG2dck5ek= Date: Thu, 16 Apr 2026 10:54:41 +0200 Subject: [PATCH v2 2/3] arm64: dts: amlogic: t7: Add UART controllers nodes Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20260416-add-bluetooth-t7-vim4-v2-2-9a57098fd055@aliel.fr> References: <20260416-add-bluetooth-t7-vim4-v2-0-9a57098fd055@aliel.fr> In-Reply-To: <20260416-add-bluetooth-t7-vim4-v2-0-9a57098fd055@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=1776329702; l=3650; i=linux-kernel-dev@aliel.fr; s=id_ed25519; h=from:subject:message-id; bh=1WmAgn/FyzsKhMv+YbDwDX6oHzK8g6LX2ZrR/tJNlRw=; b=U1NIU0lHAAAAAQAAADMAAAALc3NoLWVkMjU1MTkAAAAgMGec55oxeeisqykQiUedekMYyOnR9 BG9E/7rDWyqdNoAAAAGcGF0YXR0AAAAAAAAAAZzaGE1MTIAAABTAAAAC3NzaC1lZDI1NTE5AAAA QLjJHrGlL9+ss4EoBdJB4v7Nr8YPXCzxy4YdWepYFV6zwoJmZ90W7XRHvjUGMLmLsmcyj2D2FJg dP9stuSNnnQQ= X-Developer-Key: i=linux-kernel-dev@aliel.fr; a=openssh; fpr=SHA256:kch4osYZ6A1BrPps5AUs6KnfdE2wm4ocMtyTc8TmZMs 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. 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