devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Guodong Xu <guodong.xu@linaro.org>
To: xuwei5@hisilicon.com, robh+dt@kernel.org, mark.rutland@arm.com,
	catalin.marinas@arm.com, will.deacon@arm.com,
	keescook@chromium.org, anton@enomsg.org, ccross@android.com,
	tony.luck@intel.com
Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	Wang Ruyi <wangruyi@huawei.com>,
	Guodong Xu <guodong.xu@linaro.org>
Subject: [PATCH v3 09/10] arm64: dts: hi3660: add bindings for DMA
Date: Mon, 14 Aug 2017 17:50:48 +0800	[thread overview]
Message-ID: <20170814095049.27701-10-guodong.xu@linaro.org> (raw)
In-Reply-To: <20170814095049.27701-1-guodong.xu@linaro.org>

From: Wang Ruyi <wangruyi@huawei.com>

Add bindings for DMA.

Signed-off-by: Wang Ruyi <wangruyi@huawei.com>
Signed-off-by: Guodong Xu <guodong.xu@linaro.org>
---
 arch/arm64/boot/dts/hisilicon/hi3660.dtsi | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/arch/arm64/boot/dts/hisilicon/hi3660.dtsi b/arch/arm64/boot/dts/hisilicon/hi3660.dtsi
index 41841f7..545d435 100644
--- a/arch/arm64/boot/dts/hisilicon/hi3660.dtsi
+++ b/arch/arm64/boot/dts/hisilicon/hi3660.dtsi
@@ -436,6 +436,19 @@
 			status = "disabled";
 		};
 
+		dma0: dma@fdf30000 {
+			compatible = "hisilicon,k3-dma-1.0";
+			reg = <0x0 0xfdf30000 0x0 0x1000>;
+			#dma-cells = <1>;
+			dma-channels = <16>;
+			dma-requests = <32>;
+			dma-min-chan = <1>;
+			interrupts = <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&crg_ctrl HI3660_CLK_GATE_DMAC>;
+			dma-no-cci;
+			dma-type = "hi3660_dma";
+		};
+
 		rtc0: rtc@fff04000 {
 			compatible = "arm,pl031", "arm,primecell";
 			reg = <0x0 0Xfff04000 0x0 0x1000>;
-- 
2.10.2

  parent reply	other threads:[~2017-08-14  9:50 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-14  9:50 [PATCH v3 00/10] arm64: dts: hi3660: add more device nodes Guodong Xu
     [not found] ` <20170814095049.27701-1-guodong.xu-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2017-08-14  9:50   ` [PATCH v3 01/10] arm64: dts: hi3660: enable idle states Guodong Xu
2017-08-14  9:50 ` [PATCH v3 02/10] arm64: dts: hi3660: add L2 cache topology Guodong Xu
2017-08-14  9:50 ` [PATCH v3 03/10] arm64: dts: hi3660: add pmu dt node for hi3660 Guodong Xu
2017-08-14  9:50 ` [PATCH v3 04/10] arm64: dts: hikey960: Add optee node Guodong Xu
2017-08-14  9:50 ` [PATCH v3 05/10] arm64: dts: hikey960: Add support for syscon-reboot-mode Guodong Xu
2017-08-14  9:50 ` [PATCH v3 06/10] arm64: dts: hikey960: Add pstore support Guodong Xu
2017-08-14  9:50 ` [PATCH v3 07/10] arm64: dts: hi3660: Reset the mmc hosts Guodong Xu
2017-08-14  9:50 ` [PATCH v3 08/10] arm64: dts: hikey960: change bluetooth uart max-speed to 3mbps Guodong Xu
2017-08-14  9:50 ` Guodong Xu [this message]
2017-08-14  9:50 ` [PATCH v3 10/10] arm64: dts: hi3660: enable watchdog Guodong Xu
2017-08-15 13:36 ` [PATCH v3 00/10] arm64: dts: hi3660: add more device nodes Wei Xu

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=20170814095049.27701-10-guodong.xu@linaro.org \
    --to=guodong.xu@linaro.org \
    --cc=anton@enomsg.org \
    --cc=catalin.marinas@arm.com \
    --cc=ccross@android.com \
    --cc=devicetree@vger.kernel.org \
    --cc=keescook@chromium.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=robh+dt@kernel.org \
    --cc=tony.luck@intel.com \
    --cc=wangruyi@huawei.com \
    --cc=will.deacon@arm.com \
    --cc=xuwei5@hisilicon.com \
    /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;
as well as URLs for NNTP newsgroup(s).