aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>2018-08-19 21:59:47 +0530
committerManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>2018-08-20 13:44:51 +0530
commitc099723a4875150d5e3eedc2cd58bb21fbcc1248 (patch)
tree076fd62de388b7f80b144e5df27ab749758428d8
parent42881e867e310200b43cc0f3f33e94e4abd8603a (diff)
download96b-common-c099723a4875150d5e3eedc2cd58bb21fbcc1248.tar.gz
arm64: dts: hisilicon: Add DMA Engine support for Hi3670 SoChikey970_pinctrl+gpio
Add DMA Engine support for HiSilicon Hi3670 SoC by reusing the K3 DMA driver. Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
-rw-r--r--arch/arm64/boot/dts/hisilicon/hi3670.dtsi13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/hisilicon/hi3670.dtsi b/arch/arm64/boot/dts/hisilicon/hi3670.dtsi
index dd1921c0017c..78304b0bed73 100644
--- a/arch/arm64/boot/dts/hisilicon/hi3670.dtsi
+++ b/arch/arm64/boot/dts/hisilicon/hi3670.dtsi
@@ -269,6 +269,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 HI3670_CLK_GATE_DMAC>;
+ dma-no-cci;
+ dma-type = "hi3670_dma";
+ };
+
gpio0: gpio@e8a0b000 {
compatible = "arm,pl061", "arm,primecell";
reg = <0x0 0xe8a0b000 0x0 0x1000>;