Path: blob/master/Documentation/devicetree/bindings/dma/apm-xgene-dma.txt
26308 views
Applied Micro X-Gene SoC DMA nodes12DMA nodes are defined to describe on-chip DMA interfaces in3APM X-Gene SoC.45Required properties for DMA interfaces:6- compatible: Should be "apm,xgene-dma".7- device_type: set to "dma".8- reg: Address and length of the register set for the device.9It contains the information of registers in the following order:101st - DMA control and status register address space.112nd - Descriptor ring control and status register address space.123rd - Descriptor ring command register address space.134th - Soc efuse register address space.14- interrupts: DMA has 5 interrupts sources. 1st interrupt is15DMA error reporting interrupt. 2nd, 3rd, 4th and 5th interrupts16are completion interrupts for each DMA channels.17- clocks: Reference to the clock entry.1819Optional properties:20- dma-coherent : Present if dma operations are coherent2122Example:23dmaclk: dmaclk@1f27c000 {24compatible = "apm,xgene-device-clock";25#clock-cells = <1>;26clocks = <&socplldiv2 0>;27reg = <0x0 0x1f27c000 0x0 0x1000>;28reg-names = "csr-reg";29clock-output-names = "dmaclk";30};3132dma: dma@1f270000 {33compatible = "apm,xgene-storm-dma";34device_type = "dma";35reg = <0x0 0x1f270000 0x0 0x10000>,36<0x0 0x1f200000 0x0 0x10000>,37<0x0 0x1b000000 0x0 0x400000>,38<0x0 0x1054a000 0x0 0x100>;39interrupts = <0x0 0x82 0x4>,40<0x0 0xb8 0x4>,41<0x0 0xb9 0x4>,42<0x0 0xba 0x4>,43<0x0 0xbb 0x4>;44dma-coherent;45clocks = <&dmaclk 0>;46};474849