arm64: dts: hi3660: add bindings for DMA
authorWang Ruyi <wangruyi@huawei.com>
Mon, 14 Aug 2017 09:50:48 +0000 (17:50 +0800)
committerWei Xu <xuwei5@hisilicon.com>
Wed, 16 Aug 2017 08:32:11 +0000 (09:32 +0100)
Add bindings for DMA.

Signed-off-by: Wang Ruyi <wangruyi@huawei.com>
Signed-off-by: Guodong Xu <guodong.xu@linaro.org>
Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
arch/arm64/boot/dts/hisilicon/hi3660.dtsi

index 41841f7ca71bdb68b552f6fa61255f4ef87d1d66..545d435d11b39ade14ff8f12482f6cc57ba13f44 100644 (file)
                        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>;