From: Nick Xie Date: Sat, 28 Feb 2026 06:37:47 +0000 (+0800) Subject: arm64: dts: amlogic: meson-s4: add UART_A node X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a895042339c77859adbef957e7c0acaa8774d955;p=thirdparty%2Fkernel%2Flinux.git arm64: dts: amlogic: meson-s4: add UART_A node Add the UART_A node and its related pinctrl definitions to the Meson S4 SoC dtsi. The pinctrl groups are split into basic tx/rx and flow control (cts/rts) to allow board-level flexibility. This interface is typically used for Bluetooth communication on boards like the Khadas VIM1S. Signed-off-by: Nick Xie Reviewed-by: Martin Blumenstingl Link: https://patch.msgid.link/20260228063750.701887-2-nick@khadas.com Signed-off-by: Neil Armstrong --- diff --git a/arch/arm64/boot/dts/amlogic/meson-s4.dtsi b/arch/arm64/boot/dts/amlogic/meson-s4.dtsi index dfc0a30a6e61b..4a3e9ad82d280 100644 --- a/arch/arm64/boot/dts/amlogic/meson-s4.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-s4.dtsi @@ -163,6 +163,22 @@ }; }; + uart_a_pins: uart-a-pins { + mux { + groups = "uart_a_tx", + "uart_a_rx"; + function = "uart_a"; + }; + }; + + uart_a_cts_rts_pins: uart-a-cts-rts-pins { + mux { + groups = "uart_a_cts", + "uart_a_rts"; + function = "uart_a"; + }; + }; + i2c0_pins1: i2c0-pins1 { mux { groups = "i2c0_sda", @@ -814,6 +830,16 @@ }; }; + uart_a: serial@fe078000 { + compatible = "amlogic,meson-s4-uart", + "amlogic,meson-ao-uart"; + reg = <0x0 0xfe078000 0x0 0x18>; + interrupts = ; + clocks = <&xtal>, <&clkc_periphs CLKID_UART_A>, <&xtal>; + clock-names = "xtal", "pclk", "baud"; + status = "disabled"; + }; + sdio: mmc@fe088000 { compatible = "amlogic,meson-axg-mmc"; reg = <0x0 0xfe088000 0x0 0x800>;