diff mbox

[2/2] dma: dts: Add Freescale qDMA engine driver support

Message ID 1441950833-27684-2-git-send-email-yao.yuan@freescale.com (mailing list archive)
State Changes Requested
Headers show

Commit Message

yao yuan Sept. 11, 2015, 5:53 a.m. UTC
Add Freescale Queue Direct Memory Access(qDMA) controller support.
This module can be found on LS-1 and LS-2 SoCs.

This add the legacy mode support for qDMA.

Signed-off-by: Yuan Yao <yao.yuan@freescale.com>
---
 arch/arm/boot/dts/ls1021a.dtsi | 10 ++++++++++
 1 file changed, 10 insertions(+)
diff mbox

Patch

diff --git a/arch/arm/boot/dts/ls1021a.dtsi b/arch/arm/boot/dts/ls1021a.dtsi
index 973a496..fa82dae 100644
--- a/arch/arm/boot/dts/ls1021a.dtsi
+++ b/arch/arm/boot/dts/ls1021a.dtsi
@@ -388,6 +388,16 @@ 
 				 <&platform_clk 1>;
 		};
 
+		qdma: qdma@8389000 {
+			      compatible = "fsl,ls-qdma";
+			      reg = <0x0 0x8389000 0x0 0x20000>;
+			      interrupts = <GIC_SPI 170 IRQ_TYPE_LEVEL_HIGH>,
+					 <GIC_SPI 170 IRQ_TYPE_LEVEL_HIGH>;
+			      interrupt-names = "qdma-tx", "qdma-err";
+			      channels = <1>;
+			      big-endian;
+		};
+
 		mdio0: mdio@2d24000 {
 			compatible = "gianfar";
 			device_type = "mdio";