renesas,usb-dmac.txt 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. * Renesas USB DMA Controller Device Tree bindings
  2. Required Properties:
  3. -compatible: "renesas,<soctype>-usb-dmac", "renesas,usb-dmac" as fallback.
  4. Examples with soctypes are:
  5. - "renesas,r8a7743-usb-dmac" (RZ/G1M)
  6. - "renesas,r8a7745-usb-dmac" (RZ/G1E)
  7. - "renesas,r8a7790-usb-dmac" (R-Car H2)
  8. - "renesas,r8a7791-usb-dmac" (R-Car M2-W)
  9. - "renesas,r8a7793-usb-dmac" (R-Car M2-N)
  10. - "renesas,r8a7794-usb-dmac" (R-Car E2)
  11. - "renesas,r8a7795-usb-dmac" (R-Car H3)
  12. - "renesas,r8a7796-usb-dmac" (R-Car M3-W)
  13. - "renesas,r8a77965-usb-dmac" (R-Car M3-N)
  14. - "renesas,r8a77990-usb-dmac" (R-Car E3)
  15. - "renesas,r8a77995-usb-dmac" (R-Car D3)
  16. - reg: base address and length of the registers block for the DMAC
  17. - interrupts: interrupt specifiers for the DMAC, one for each entry in
  18. interrupt-names.
  19. - interrupt-names: one entry per channel, named "ch%u", where %u is the
  20. channel number ranging from zero to the number of channels minus one.
  21. - clocks: a list of phandle + clock-specifier pairs.
  22. - #dma-cells: must be <1>, the cell specifies the channel number of the DMAC
  23. port connected to the DMA client.
  24. - dma-channels: number of DMA channels
  25. Example: R8A7790 (R-Car H2) USB-DMACs
  26. usb_dmac0: dma-controller@e65a0000 {
  27. compatible = "renesas,r8a7790-usb-dmac", "renesas,usb-dmac";
  28. reg = <0 0xe65a0000 0 0x100>;
  29. interrupts = <0 109 IRQ_TYPE_LEVEL_HIGH
  30. 0 109 IRQ_TYPE_LEVEL_HIGH>;
  31. interrupt-names = "ch0", "ch1";
  32. clocks = <&mstp3_clks R8A7790_CLK_USBDMAC0>;
  33. #dma-cells = <1>;
  34. dma-channels = <2>;
  35. };
  36. usb_dmac1: dma-controller@e65b0000 {
  37. compatible = "renesas,usb-dmac";
  38. reg = <0 0xe65b0000 0 0x100>;
  39. interrupts = <0 110 IRQ_TYPE_LEVEL_HIGH
  40. 0 110 IRQ_TYPE_LEVEL_HIGH>;
  41. interrupt-names = "ch0", "ch1";
  42. clocks = <&mstp3_clks R8A7790_CLK_USBDMAC1>;
  43. #dma-cells = <1>;
  44. dma-channels = <2>;
  45. };