Merge branch 'efi-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
[deliverable/linux.git] / Documentation / devicetree / bindings / dma / renesas,usb-dmac.txt
CommitLineData
a7267831
YS
1* Renesas USB DMA Controller Device Tree bindings
2
3Required Properties:
0b2eed49
SH
4-compatible: "renesas,<soctype>-usb-dmac", "renesas,usb-dmac" as fallback.
5 Examples with soctypes are:
6 - "renesas,r8a7790-usb-dmac" (R-Car H2)
7 - "renesas,r8a7791-usb-dmac" (R-Car M2-W)
8 - "renesas,r8a7793-usb-dmac" (R-Car M2-N)
9 - "renesas,r8a7794-usb-dmac" (R-Car E2)
10 - "renesas,r8a7795-usb-dmac" (R-Car H3)
a7267831
YS
11- reg: base address and length of the registers block for the DMAC
12- interrupts: interrupt specifiers for the DMAC, one for each entry in
13 interrupt-names.
14- interrupt-names: one entry per channel, named "ch%u", where %u is the
15 channel number ranging from zero to the number of channels minus one.
16- clocks: a list of phandle + clock-specifier pairs.
17- #dma-cells: must be <1>, the cell specifies the channel number of the DMAC
18 port connected to the DMA client.
19- dma-channels: number of DMA channels
20
21Example: R8A7790 (R-Car H2) USB-DMACs
22
23 usb_dmac0: dma-controller@e65a0000 {
0b2eed49 24 compatible = "renesas,r8a7790-usb-dmac", "renesas,usb-dmac";
a7267831
YS
25 reg = <0 0xe65a0000 0 0x100>;
26 interrupts = <0 109 IRQ_TYPE_LEVEL_HIGH
27 0 109 IRQ_TYPE_LEVEL_HIGH>;
28 interrupt-names = "ch0", "ch1";
29 clocks = <&mstp3_clks R8A7790_CLK_USBDMAC0>;
30 #dma-cells = <1>;
31 dma-channels = <2>;
32 };
33
34 usb_dmac1: dma-controller@e65b0000 {
35 compatible = "renesas,usb-dmac";
36 reg = <0 0xe65b0000 0 0x100>;
37 interrupts = <0 110 IRQ_TYPE_LEVEL_HIGH
38 0 110 IRQ_TYPE_LEVEL_HIGH>;
39 interrupt-names = "ch0", "ch1";
40 clocks = <&mstp3_clks R8A7790_CLK_USBDMAC1>;
41 #dma-cells = <1>;
42 dma-channels = <2>;
43 };
This page took 0.077768 seconds and 5 git commands to generate.