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 <nick@khadas.com>
Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Link: https://patch.msgid.link/20260228063750.701887-2-nick@khadas.com
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
This commit is contained in:
Nick Xie 2026-02-28 14:37:47 +08:00 committed by Neil Armstrong
parent b5b481063f
commit a895042339

View File

@ -163,6 +163,22 @@ mux {
};
};
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 @@ mdio0: mdio {
};
};
uart_a: serial@fe078000 {
compatible = "amlogic,meson-s4-uart",
"amlogic,meson-ao-uart";
reg = <0x0 0xfe078000 0x0 0x18>;
interrupts = <GIC_SPI 168 IRQ_TYPE_EDGE_RISING>;
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>;