From: hongbo.zhang@nxp.com (hongbo.zhang at nxp.com)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] arm64: dts: ls1046a: add qdma device tree node
Date: Tue, 15 Nov 2016 11:24:37 +0800 [thread overview]
Message-ID: <1479180277-3823-1-git-send-email-hongbo.zhang@nxp.com> (raw)
From: Hongbo Zhang <hongbo.zhang@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@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
next reply other threads:[~2016-11-15 3:24 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-15 3:24 hongbo.zhang at nxp.com [this message]
2016-11-15 5:23 ` [PATCH] arm64: dts: ls1046a: add qdma device tree node H.B. Zhang
2016-12-30 0:46 ` Shawn Guo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1479180277-3823-1-git-send-email-hongbo.zhang@nxp.com \
--to=hongbo.zhang@nxp.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox