]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
arm64: dts: ls1043a: add qdma device tree nodes
authorPeng Ma <peng.ma@nxp.com>
Thu, 6 Dec 2018 11:18:22 +0000 (19:18 +0800)
committerShawn Guo <shawnguo@kernel.org>
Sat, 8 Dec 2018 02:28:39 +0000 (10:28 +0800)
add the qDMA device tree nodes for LS1043A devices.

Signed-off-by: Wen He <wen.he_1@nxp.com>
Signed-off-by: Peng Ma <peng.ma@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi

index 712cc27755cc270fef039a4f41ddfef13905e8d6..70057b4e46e87e8edc67e5de2e38f19cf7f41de7 100644 (file)
@@ -739,6 +739,28 @@ pcie@3600000 {
                                        <0000 0 0 4 &gic 0 157 0x4>;
                        status = "disabled";
                };
+
+               qdma: dma-controller@8380000 {
+                       compatible = "fsl,ls1021a-qdma", "fsl,ls1043a-qdma";
+                       reg = <0x0 0x8380000 0x0 0x1000>, /* Controller regs */
+                             <0x0 0x8390000 0x0 0x10000>, /* Status regs */
+                             <0x0 0x83a0000 0x0 0x40000>; /* Block regs */
+                       interrupts = <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>,
+                                    <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>,
+                                    <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>,
+                                    <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>,
+                                    <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>;
+                       interrupt-names = "qdma-error", "qdma-queue0",
+                               "qdma-queue1", "qdma-queue2", "qdma-queue3";
+                       dma-channels = <8>;
+                       block-number = <1>;
+                       block-offset = <0x10000>;
+                       fsl,dma-queues = <2>;
+                       status-sizes = <64>;
+                       queue-sizes = <64 64>;
+                       big-endian;
+               };
+
        };
 
        firmware {