1 * SHDMA Device Tree bindings
3 Sh-/r-mobile and r-car systems often have multiple identical DMA controller
4 instances, capable of serving any of a common set of DMA slave devices, using
5 the same configuration. To describe this topology we require all compatible
6 SHDMA DT nodes to be placed under a DMA multiplexer node. All such compatible
7 DMAC instances have the same number of channels and use the same DMA
8 descriptors. Therefore respective DMA DT bindings can also all be placed in the
9 multiplexer node. Even if there is only one such DMAC instance on a system, it
10 still has to be placed under such a multiplexer node.
15 - compatible: should be "renesas,shdma-mux"
16 - #dma-cells: should be <1>, see "dmas" property below
18 Optional properties (currently unused):
19 - dma-channels: number of DMA channels
20 - dma-requests: number of DMA request signals
25 - compatible: should be "renesas,shdma"
29 compatible = "renesas,shdma-mux";
33 reg = <0 0>; /* Needed for AUXDATA */
38 dma0: shdma@fe008020 {
39 compatible = "renesas,shdma";
40 reg = <0xfe008020 0x270>,
42 interrupt-parent = <&gic>;
50 interrupt-names = "error",
51 "ch0", "ch1", "ch2", "ch3",
55 dma1: shdma@fe018020 {
59 dma2: shdma@fe028020 {
67 - dmas: a list of <[DMA multiplexer phandle] [MID/RID value]> pairs,
68 where MID/RID values are fixed handles, specified in the SoC
70 - dma-names: a list of DMA channel names, one per "dmas" entry
75 dma-names = "tx", "rx";