]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - Documentation/devicetree/bindings/dma/sun6i-dma.txt
Merge tag 'devicetree-for-4.15' of git://git.kernel.org/pub/scm/linux/kernel/git...
[mirror_ubuntu-bionic-kernel.git] / Documentation / devicetree / bindings / dma / sun6i-dma.txt
index 717851407fac1c5f4eb71bb55c23b1d7464315f5..d4c34774d626fc4829b93827d83b26fc18c5ff49 100644 (file)
@@ -27,6 +27,32 @@ Example:
                #dma-cells = <1>;
        };
 
+------------------------------------------------------------------------------
+For A64 DMA controller:
+
+Required properties:
+- compatible:  "allwinner,sun50i-a64-dma"
+- dma-channels: Number of DMA channels supported by the controller.
+               Refer to Documentation/devicetree/bindings/dma/dma.txt
+- all properties above, i.e. reg, interrupts, clocks, resets and #dma-cells
+
+Optional properties:
+- dma-requests: Number of DMA request signals supported by the controller.
+               Refer to Documentation/devicetree/bindings/dma/dma.txt
+
+Example:
+       dma: dma-controller@1c02000 {
+               compatible = "allwinner,sun50i-a64-dma";
+               reg = <0x01c02000 0x1000>;
+               interrupts = <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>;
+               clocks = <&ccu CLK_BUS_DMA>;
+               dma-channels = <8>;
+               dma-requests = <27>;
+               resets = <&ccu RST_BUS_DMA>;
+               #dma-cells = <1>;
+       };
+------------------------------------------------------------------------------
+
 Clients:
 
 DMA clients connected to the A31 DMA controller must use the format