Skip to content

Commit 2e4858d

Browse files
committed
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 Acked-by: Jernej Skrabec <jernej.skrabec@gmail.com> Link: https://patch.msgid.link/20260324161930.1602083-2-wens@kernel.org Signed-off-by: Chen-Yu Tsai <wens@kernel.org>
1 parent 1e80a03 commit 2e4858d

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -540,6 +540,8 @@
540540
reg-io-width = <4>;
541541
clocks = <&ccu CLK_BUS_UART0>;
542542
resets = <&ccu RST_BUS_UART0>;
543+
dmas = <&dma 14>, <&dma 14>;
544+
dma-names = "tx", "rx";
543545
status = "disabled";
544546
};
545547

@@ -551,6 +553,8 @@
551553
reg-io-width = <4>;
552554
clocks = <&ccu CLK_BUS_UART1>;
553555
resets = <&ccu RST_BUS_UART1>;
556+
dmas = <&dma 15>, <&dma 15>;
557+
dma-names = "tx", "rx";
554558
status = "disabled";
555559
};
556560

@@ -562,6 +566,8 @@
562566
reg-io-width = <4>;
563567
clocks = <&ccu CLK_BUS_UART2>;
564568
resets = <&ccu RST_BUS_UART2>;
569+
dmas = <&dma 16>, <&dma 16>;
570+
dma-names = "tx", "rx";
565571
status = "disabled";
566572
};
567573

@@ -573,6 +579,8 @@
573579
reg-io-width = <4>;
574580
clocks = <&ccu CLK_BUS_UART3>;
575581
resets = <&ccu RST_BUS_UART3>;
582+
dmas = <&dma 17>, <&dma 17>;
583+
dma-names = "tx", "rx";
576584
status = "disabled";
577585
};
578586

0 commit comments

Comments
 (0)