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