Re: [v11 4/7] arm: dts: ls1021a: add qdma device tree nodes

2018-12-05 Thread Shawn Guo
On Tue, Oct 30, 2018 at 10:36:01AM +0800, Peng Ma wrote:
> add the qDMA device tree nodes for LS1021A devices.
> 
> Signed-off-by: Wen He 
> Signed-off-by: Peng Ma 

Applied, thanks.


[v11 4/7] arm: dts: ls1021a: add qdma device tree nodes

2018-10-29 Thread Peng Ma
add the qDMA device tree nodes for LS1021A devices.

Signed-off-by: Wen He 
Signed-off-by: Peng Ma 
---
change in v11:
- no

 arch/arm/boot/dts/ls1021a.dtsi |   20 
 1 files changed, 20 insertions(+), 0 deletions(-)

diff --git a/arch/arm/boot/dts/ls1021a.dtsi b/arch/arm/boot/dts/ls1021a.dtsi
index f184905..c0ed6be 100644
--- a/arch/arm/boot/dts/ls1021a.dtsi
+++ b/arch/arm/boot/dts/ls1021a.dtsi
@@ -806,5 +806,25 @@
#size-cells = <1>;
ranges = <0x0 0x0 0x1001 0x1>;
};
+
+   qdma: dma-controller@839 {
+   compatible = "fsl,ls1021a-qdma";
+   reg = <0x0 0x8388000 0x0 0x1000>, /* Controller regs */
+ <0x0 0x8389000 0x0 0x1000>, /* Status regs */
+ <0x0 0x838a000 0x0 0x2000>; /* Block regs */
+   interrupts = ,
+,
+;
+   interrupt-names = "qdma-error",
+   "qdma-queue0", "qdma-queue1";
+   dma-channels = <8>;
+   block-number = <1>;
+   block-offset = <0x1000>;
+   fsl,dma-queues = <2>;
+   status-sizes = <64>;
+   queue-sizes = <64 64>;
+   big-endian;
+   };
+
};
 };
-- 
1.7.1