Commit | Line | Data |
---|---|---|
bf3156dd MP |
1 | TI EDMA |
2 | ||
3 | Required properties: | |
4 | - compatible : "ti,edma3" | |
bf3156dd MP |
5 | - #dma-cells: Should be set to <1> |
6 | Clients should use a single channel number per DMA request. | |
bf3156dd MP |
7 | - reg: Memory map for accessing module |
8 | - interrupt-parent: Interrupt controller the interrupt is routed through | |
9 | - interrupts: Exactly 3 interrupts need to be specified in the order: | |
10 | 1. Transfer completion interrupt. | |
11 | 2. Memory protection interrupt. | |
12 | 3. Error interrupt. | |
13 | Optional properties: | |
14 | - ti,hwmods: Name of the hwmods associated to the EDMA | |
15 | - ti,edma-xbar-event-map: Crossbar event to channel map | |
16 | ||
efc24e14 PU |
17 | Deprecated properties: |
18 | Listed here in case one wants to boot an old kernel with new DTB. These | |
19 | properties might need to be added to the new DTS files. | |
20 | - ti,edma-regions: Number of regions | |
21 | - ti,edma-slots: Number of slots | |
22 | - dma-channels: Specify total DMA channels per CC | |
23 | ||
bf3156dd MP |
24 | Example: |
25 | ||
26 | edma: edma@49000000 { | |
27 | reg = <0x49000000 0x10000>; | |
28 | interrupt-parent = <&intc>; | |
29 | interrupts = <12 13 14>; | |
30 | compatible = "ti,edma3"; | |
31 | ti,hwmods = "tpcc", "tptc0", "tptc1", "tptc2"; | |
32 | #dma-cells = <1>; | |
cf7eb979 TG |
33 | ti,edma-xbar-event-map = /bits/ 16 <1 12 |
34 | 2 13>; | |
bf3156dd | 35 | }; |