@@ -712,6 +712,8 @@
reg-shift = <2>;
reg-io-width = <4>;
clocks = <&apb1_gates 16>;
+ dmas = <&dma 0 8>, <&dma 0 8>;
+ dma-names = "rx", "tx";
status = "disabled";
};
@@ -722,6 +724,8 @@
reg-shift = <2>;
reg-io-width = <4>;
clocks = <&apb1_gates 17>;
+ dmas = <&dma 0 9>, <&dma 0 9>;
+ dma-names = "rx", "tx";
status = "disabled";
};
@@ -732,6 +736,8 @@
reg-shift = <2>;
reg-io-width = <4>;
clocks = <&apb1_gates 18>;
+ dmas = <&dma 0 10>, <&dma 0 10>;
+ dma-names = "rx", "tx";
status = "disabled";
};
@@ -742,6 +748,8 @@
reg-shift = <2>;
reg-io-width = <4>;
clocks = <&apb1_gates 19>;
+ dmas = <&dma 0 11>, <&dma 0 11>;
+ dma-names = "rx", "tx";
status = "disabled";
};
@@ -752,6 +760,8 @@
reg-shift = <2>;
reg-io-width = <4>;
clocks = <&apb1_gates 20>;
+ dmas = <&dma 0 12>, <&dma 0 12>;
+ dma-names = "rx", "tx";
status = "disabled";
};
@@ -762,6 +772,8 @@
reg-shift = <2>;
reg-io-width = <4>;
clocks = <&apb1_gates 21>;
+ dmas = <&dma 0 13>, <&dma 0 13>;
+ dma-names = "rx", "tx";
status = "disabled";
};
@@ -772,6 +784,8 @@
reg-shift = <2>;
reg-io-width = <4>;
clocks = <&apb1_gates 22>;
+ dmas = <&dma 0 14>, <&dma 0 14>;
+ dma-names = "rx", "tx";
status = "disabled";
};
@@ -782,6 +796,8 @@
reg-shift = <2>;
reg-io-width = <4>;
clocks = <&apb1_gates 23>;
+ dmas = <&dma 0 15>, <&dma 0 15>;
+ dma-names = "rx", "tx";
status = "disabled";
};
Our UARTs also support DMA transfers, let's enable them for the sake of testing. Signed-off-by: Emilio López <emilio@elopez.com.ar> --- arch/arm/boot/dts/sun7i-a20.dtsi | 16 ++++++++++++++++ 1 file changed, 16 insertions(+)