arm64: dts: allwinner: sun50i-a64: add UART DMA channels
Subsystems (2)
Chen-Yu Tsai
maintainerPATCH 1/2 arm64: dts: allwinner: sun50i-a64: add UART DMA channels
All the UARTs support DMA and are hooked up to the DMA controller.
Add the DMA channels for the UARTs
--- arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+)
arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi +10 -0
@@ -1000,6 +1000,8 @@ uart0: serial@1c28000 { reg-io-width = <4>; clocks = <&ccu CLK_BUS_UART0>; resets = <&ccu RST_BUS_UART0>; + dmas = <&dma 6>, <&dma 6>; + dma-names = "tx", "rx"; status = "disabled"; };
@@ -1011,6 +1013,8 @@ uart1: serial@1c28400 { reg-io-width = <4>; clocks = <&ccu CLK_BUS_UART1>; resets = <&ccu RST_BUS_UART1>; + dmas = <&dma 7>, <&dma 7>; + dma-names = "tx", "rx"; status = "disabled"; };
@@ -1022,6 +1026,8 @@ uart2: serial@1c28800 { reg-io-width = <4>; clocks = <&ccu CLK_BUS_UART2>; resets = <&ccu RST_BUS_UART2>; + dmas = <&dma 8>, <&dma 8>; + dma-names = "tx", "rx"; status = "disabled"; };
@@ -1033,6 +1039,8 @@ uart3: serial@1c28c00 { reg-io-width = <4>; clocks = <&ccu CLK_BUS_UART3>; resets = <&ccu RST_BUS_UART3>; + dmas = <&dma 9>, <&dma 9>; + dma-names = "tx", "rx"; status = "disabled"; };
@@ -1044,6 +1052,8 @@ uart4: serial@1c29000 { reg-io-width = <4>; clocks = <&ccu CLK_BUS_UART4>; resets = <&ccu RST_BUS_UART4>; + dmas = <&dma 10>, <&dma 10>; + dma-names = "tx", "rx"; status = "disabled"; };
Signature · 1 line
2.47.3
Chen-Yu Tsai
maintainerPATCH 2/2 arm64: dts: allwinner: sun50i-h6: add UART DMA channels
All the UARTs support DMA and are hooked up to the DMA controller.
Add the DMA channels for the UARTs
--- arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+)
arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi +8 -0
@@ -540,6 +540,8 @@ uart0: serial@5000000 { reg-io-width = <4>; clocks = <&ccu CLK_BUS_UART0>; resets = <&ccu RST_BUS_UART0>; + dmas = <&dma 14>, <&dma 14>; + dma-names = "tx", "rx"; status = "disabled"; };
@@ -551,6 +553,8 @@ uart1: serial@5000400 { reg-io-width = <4>; clocks = <&ccu CLK_BUS_UART1>; resets = <&ccu RST_BUS_UART1>; + dmas = <&dma 15>, <&dma 15>; + dma-names = "tx", "rx"; status = "disabled"; };
@@ -562,6 +566,8 @@ uart2: serial@5000800 { reg-io-width = <4>; clocks = <&ccu CLK_BUS_UART2>; resets = <&ccu RST_BUS_UART2>; + dmas = <&dma 16>, <&dma 16>; + dma-names = "tx", "rx"; status = "disabled"; };
@@ -573,6 +579,8 @@ uart3: serial@5000c00 { reg-io-width = <4>; clocks = <&ccu CLK_BUS_UART3>; resets = <&ccu RST_BUS_UART3>; + dmas = <&dma 17>, <&dma 17>; + dma-names = "tx", "rx"; status = "disabled"; };
Signature · 1 line
2.47.3
Dne torek, 24. marec 2026 ob 17:19:28 Srednjeevropski standardni čas je Chen-Yu Tsai napisal(a):
Quoted 5 lines
All the UARTs support DMA and are hooked up to the DMA controller.
Add the DMA channels for the UARTs
Signed-off-by Chen-Yu Tsai <[email protected]>
Best regards,
Jernej
Re: [PATCH 2/2] arm64: dts: allwinner: sun50i-h6: add UART DMA channels
In reply to Chen-Yu TsaiDne torek, 24. marec 2026 ob 17:19:29 Srednjeevropski standardni čas je Chen-Yu Tsai napisal(a):
Quoted 5 lines
All the UARTs support DMA and are hooked up to the DMA controller.
Add the DMA channels for the UARTs
Signed-off-by Chen-Yu Tsai <[email protected]>
Best regards,
Jernej
Chen-Yu Tsai
maintainerQuoted 5 lines · Chen-Yu Tsai
All the UARTs support DMA and are hooked up to the DMA controller.
Add the DMA channels for the UARTs
Applied to sunxi/dt-for-7.1 in local tree, thanks!
[1/2] arm64: dts: allwinner: sun50i-a64: add UART DMA channels
commit: 1e80a0367bca7ffe3dfff41948474fe3c3ad3587
[2/2] arm64: dts: allwinner: sun50i-h6: add UART DMA channels
commit: 2e4858d2f027080827c5fc557306a06fbfcecd0aBest regards,
Signature · 1 line
Chen-Yu Tsai <[email protected]>