DMA Engine development
 help / color / mirror / Atom feed
* [v8,7/7] arm: dts: ls1021a: add qdma device tree nodes
@ 2018-08-17  2:54 Wen He
  0 siblings, 0 replies; only message in thread
From: Wen He @ 2018-08-17  2:54 UTC (permalink / raw)
  To: vkoul, dmaengine; +Cc: robh+dt, leoyang.li, jiafei.pan, peng.ma, wen.he_1

add the qDMA device tree nodes for LS1021A devices.

Signed-off-by: Wen He <wen.he_1@nxp.com>
---
 arch/arm/boot/dts/ls1021a.dtsi | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/arch/arm/boot/dts/ls1021a.dtsi b/arch/arm/boot/dts/ls1021a.dtsi
index c55d479..cdff6bd 100644
--- a/arch/arm/boot/dts/ls1021a.dtsi
+++ b/arch/arm/boot/dts/ls1021a.dtsi
@@ -571,6 +571,21 @@
 				 <&clockgen 4 1>;
 		};
 
+		qdma: dma-controller@8390000 {
+			compatible = "fsl,ls1021a-qdma";
+			reg = <0x0 0x8398000 0x0 0x1000>, /* Controller regs */
+				<0x0 0x8399000 0x0 0x1000>, /* Status regs */
+				<0x0 0x839a000 0x0 0x2000>; /* Block regs */
+			interrupts = <GIC_SPI 185 IRQ_TYPE_LEVEL_HIGH>,
+					<GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>;
+			interrupt-names = "qdma-error", "qdma-queue";
+			dma-channels = <8>;
+			fsl,dma-queues = <2>;
+			status-sizes = <64>;
+			queue-sizes = <64 64>;
+			big-endian;
+		};
+
 		dcu: dcu@2ce0000 {
 			compatible = "fsl,ls1021a-dcu";
 			reg = <0x0 0x2ce0000 0x0 0x10000>;

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2018-08-17  2:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-17  2:54 [v8,7/7] arm: dts: ls1021a: add qdma device tree nodes Wen He

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox