mirror of
https://github.com/torvalds/linux.git
synced 2024-12-30 23:02:08 +00:00
5543de66e2
This patch adds support for r8a7743/5 SoCs. The Renesas RZ/G1[ME] (R8A7743/5) usbdmac engine is identical to the R-Car Gen2 family. No driver change is needed due to the fallback compatible value "renesas,r8a7743-usb-dmac". Adding the SoC-specific compatible values here has two purposes: 1. Document which SoCs have this hardware module, 2. Allow checkpatch to validate compatible values. Signed-off-by: Biju Das <biju.das@bp.renesas.com> Signed-off-by: Chris Paterson <chris.paterson2@renesas.com> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
47 lines
1.7 KiB
Plaintext
47 lines
1.7 KiB
Plaintext
* Renesas USB DMA Controller Device Tree bindings
|
|
|
|
Required Properties:
|
|
-compatible: "renesas,<soctype>-usb-dmac", "renesas,usb-dmac" as fallback.
|
|
Examples with soctypes are:
|
|
- "renesas,r8a7743-usb-dmac" (RZ/G1M)
|
|
- "renesas,r8a7745-usb-dmac" (RZ/G1E)
|
|
- "renesas,r8a7790-usb-dmac" (R-Car H2)
|
|
- "renesas,r8a7791-usb-dmac" (R-Car M2-W)
|
|
- "renesas,r8a7793-usb-dmac" (R-Car M2-N)
|
|
- "renesas,r8a7794-usb-dmac" (R-Car E2)
|
|
- "renesas,r8a7795-usb-dmac" (R-Car H3)
|
|
- "renesas,r8a7796-usb-dmac" (R-Car M3-W)
|
|
- reg: base address and length of the registers block for the DMAC
|
|
- interrupts: interrupt specifiers for the DMAC, one for each entry in
|
|
interrupt-names.
|
|
- interrupt-names: one entry per channel, named "ch%u", where %u is the
|
|
channel number ranging from zero to the number of channels minus one.
|
|
- clocks: a list of phandle + clock-specifier pairs.
|
|
- #dma-cells: must be <1>, the cell specifies the channel number of the DMAC
|
|
port connected to the DMA client.
|
|
- dma-channels: number of DMA channels
|
|
|
|
Example: R8A7790 (R-Car H2) USB-DMACs
|
|
|
|
usb_dmac0: dma-controller@e65a0000 {
|
|
compatible = "renesas,r8a7790-usb-dmac", "renesas,usb-dmac";
|
|
reg = <0 0xe65a0000 0 0x100>;
|
|
interrupts = <0 109 IRQ_TYPE_LEVEL_HIGH
|
|
0 109 IRQ_TYPE_LEVEL_HIGH>;
|
|
interrupt-names = "ch0", "ch1";
|
|
clocks = <&mstp3_clks R8A7790_CLK_USBDMAC0>;
|
|
#dma-cells = <1>;
|
|
dma-channels = <2>;
|
|
};
|
|
|
|
usb_dmac1: dma-controller@e65b0000 {
|
|
compatible = "renesas,usb-dmac";
|
|
reg = <0 0xe65b0000 0 0x100>;
|
|
interrupts = <0 110 IRQ_TYPE_LEVEL_HIGH
|
|
0 110 IRQ_TYPE_LEVEL_HIGH>;
|
|
interrupt-names = "ch0", "ch1";
|
|
clocks = <&mstp3_clks R8A7790_CLK_USBDMAC1>;
|
|
#dma-cells = <1>;
|
|
dma-channels = <2>;
|
|
};
|