apm-xgene-dma.txt 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. Applied Micro X-Gene SoC DMA nodes
  2. DMA nodes are defined to describe on-chip DMA interfaces in
  3. APM X-Gene SoC.
  4. Required properties for DMA interfaces:
  5. - compatible: Should be "apm,xgene-dma".
  6. - device_type: set to "dma".
  7. - reg: Address and length of the register set for the device.
  8. It contains the information of registers in the following order:
  9. 1st - DMA control and status register address space.
  10. 2nd - Descriptor ring control and status register address space.
  11. 3rd - Descriptor ring command register address space.
  12. 4th - Soc efuse register address space.
  13. - interrupts: DMA has 5 interrupts sources. 1st interrupt is
  14. DMA error reporting interrupt. 2nd, 3rd, 4th and 5th interrupts
  15. are completion interrupts for each DMA channels.
  16. - clocks: Reference to the clock entry.
  17. Optional properties:
  18. - dma-coherent : Present if dma operations are coherent
  19. Example:
  20. dmaclk: dmaclk@1f27c000 {
  21. compatible = "apm,xgene-device-clock";
  22. #clock-cells = <1>;
  23. clocks = <&socplldiv2 0>;
  24. reg = <0x0 0x1f27c000 0x0 0x1000>;
  25. reg-names = "csr-reg";
  26. clock-output-names = "dmaclk";
  27. };
  28. dma: dma@1f270000 {
  29. compatible = "apm,xgene-storm-dma";
  30. device_type = "dma";
  31. reg = <0x0 0x1f270000 0x0 0x10000>,
  32. <0x0 0x1f200000 0x0 0x10000>,
  33. <0x0 0x1b000000 0x0 0x400000>,
  34. <0x0 0x1054a000 0x0 0x100>;
  35. interrupts = <0x0 0x82 0x4>,
  36. <0x0 0xb8 0x4>,
  37. <0x0 0xb9 0x4>,
  38. <0x0 0xba 0x4>,
  39. <0x0 0xbb 0x4>;
  40. dma-coherent;
  41. clocks = <&dmaclk 0>;
  42. };