ti-edma.txt 1.0 KB

12345678910111213141516171819202122232425262728293031323334
  1. TI EDMA
  2. Required properties:
  3. - compatible : "ti,edma3"
  4. - ti,edma-regions: Number of regions
  5. - ti,edma-slots: Number of slots
  6. - #dma-cells: Should be set to <1>
  7. Clients should use a single channel number per DMA request.
  8. - dma-channels: Specify total DMA channels per CC
  9. - reg: Memory map for accessing module
  10. - interrupt-parent: Interrupt controller the interrupt is routed through
  11. - interrupts: Exactly 3 interrupts need to be specified in the order:
  12. 1. Transfer completion interrupt.
  13. 2. Memory protection interrupt.
  14. 3. Error interrupt.
  15. Optional properties:
  16. - ti,hwmods: Name of the hwmods associated to the EDMA
  17. - ti,edma-xbar-event-map: Crossbar event to channel map
  18. Example:
  19. edma: edma@49000000 {
  20. reg = <0x49000000 0x10000>;
  21. interrupt-parent = <&intc>;
  22. interrupts = <12 13 14>;
  23. compatible = "ti,edma3";
  24. ti,hwmods = "tpcc", "tptc0", "tptc1", "tptc2";
  25. #dma-cells = <1>;
  26. dma-channels = <64>;
  27. ti,edma-regions = <4>;
  28. ti,edma-slots = <256>;
  29. ti,edma-xbar-event-map = <1 12
  30. 2 13>;
  31. };