Skip to content

Commit 1e80a03

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

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1000,6 +1000,8 @@
10001000
reg-io-width = <4>;
10011001
clocks = <&ccu CLK_BUS_UART0>;
10021002
resets = <&ccu RST_BUS_UART0>;
1003+
dmas = <&dma 6>, <&dma 6>;
1004+
dma-names = "tx", "rx";
10031005
status = "disabled";
10041006
};
10051007

@@ -1011,6 +1013,8 @@
10111013
reg-io-width = <4>;
10121014
clocks = <&ccu CLK_BUS_UART1>;
10131015
resets = <&ccu RST_BUS_UART1>;
1016+
dmas = <&dma 7>, <&dma 7>;
1017+
dma-names = "tx", "rx";
10141018
status = "disabled";
10151019
};
10161020

@@ -1022,6 +1026,8 @@
10221026
reg-io-width = <4>;
10231027
clocks = <&ccu CLK_BUS_UART2>;
10241028
resets = <&ccu RST_BUS_UART2>;
1029+
dmas = <&dma 8>, <&dma 8>;
1030+
dma-names = "tx", "rx";
10251031
status = "disabled";
10261032
};
10271033

@@ -1033,6 +1039,8 @@
10331039
reg-io-width = <4>;
10341040
clocks = <&ccu CLK_BUS_UART3>;
10351041
resets = <&ccu RST_BUS_UART3>;
1042+
dmas = <&dma 9>, <&dma 9>;
1043+
dma-names = "tx", "rx";
10361044
status = "disabled";
10371045
};
10381046

@@ -1044,6 +1052,8 @@
10441052
reg-io-width = <4>;
10451053
clocks = <&ccu CLK_BUS_UART4>;
10461054
resets = <&ccu RST_BUS_UART4>;
1055+
dmas = <&dma 10>, <&dma 10>;
1056+
dma-names = "tx", "rx";
10471057
status = "disabled";
10481058
};
10491059

0 commit comments

Comments
 (0)