[PATCH] arm64: dts: ls1046a: add qdma device tree node

hongbo.zhang at nxp.com hongbo.zhang at nxp.com
Mon Nov 14 19:24:37 PST 2016


From: Hongbo Zhang <hongbo.zhang at nxp.com>

The drivers/dma/fsl-qdma.c works for ls1046a too, this patch adds
device tree node for it.

Signed-off-by: Hongbo Zhang <hongbo.zhang at nxp.com>
---
 arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi
index 38806ca..6edf7cf 100644
--- a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi
@@ -511,5 +511,19 @@
 			interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
 			clocks = <&clockgen 4 1>;
 		};
+
+		qdma: qdma at 8380000 {
+			compatible = "fsl,ls1046a-qdma", "fsl,ls1021a-qdma";
+			reg = <0x0 0x838f000 0x0 0x11000 /* Controller regs */
+			       0x0 0x83a0000 0x0 0x40000>; /* Block regs */
+			interrupts = <0 152 0x4>,
+				     <0 39 0x4>;
+			interrupt-names = "qdma-error", "qdma-queue";
+			channels = <8>;
+			queues = <2>;
+			status-sizes = <64>;
+			queue-sizes = <64 64>;
+			big-endian;
+		};
 	};
 };
-- 
2.1.4





More information about the linux-arm-kernel mailing list