Documentation: DT: dma: Add Xilinx zynqmp dma device tree binding documentation
authorKedareswara rao Appana <appana.durga.rao@xilinx.com>
Fri, 1 Jul 2016 11:37:05 +0000 (17:07 +0530)
committerVinod Koul <vinod.koul@intel.com>
Fri, 8 Jul 2016 05:54:59 +0000 (11:24 +0530)
Device-tree binding documentation for Xilinx zynqmp dma engine
used in Zynq UltraScale+ MPSoC.

Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Punnaiah Choudary Kalluri <punnaia@xilinx.com>
Signed-off-by: Kedareswara rao Appana <appanad@xilinx.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Documentation/devicetree/bindings/dma/xilinx/zynqmp_dma.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/dma/xilinx/zynqmp_dma.txt b/Documentation/devicetree/bindings/dma/xilinx/zynqmp_dma.txt
new file mode 100644 (file)
index 0000000..a784cdd
--- /dev/null
@@ -0,0 +1,27 @@
+Xilinx ZynqMP DMA engine, it does support memory to memory transfers,
+memory to device and device to memory transfers. It also has flow
+control and rate control support for slave/peripheral dma access.
+
+Required properties:
+- compatible           : Should be "xlnx,zynqmp-dma-1.0"
+- reg                  : Memory map for gdma/adma module access.
+- interrupt-parent     : Interrupt controller the interrupt is routed through
+- interrupts           : Should contain DMA channel interrupt.
+- xlnx,bus-width       : Axi buswidth in bits. Should contain 128 or 64
+- clock-names          : List of input clocks "clk_main", "clk_apb"
+                         (see clock bindings for details)
+
+Optional properties:
+- dma-coherent         : Present if dma operations are coherent.
+
+Example:
+++++++++
+fpd_dma_chan1: dma@fd500000 {
+       compatible = "xlnx,zynqmp-dma-1.0";
+       reg = <0x0 0xFD500000 0x1000>;
+       interrupt-parent = <&gic>;
+       interrupts = <0 117 4>;
+       clock-names = "clk_main", "clk_apb";
+       xlnx,bus-width = <128>;
+       dma-coherent;
+};