renesas,usb-dmac.txt 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. * Renesas USB DMA Controller Device Tree bindings
  2. Required Properties:
  3. - compatible: must contain "renesas,usb-dmac"
  4. - reg: base address and length of the registers block for the DMAC
  5. - interrupts: interrupt specifiers for the DMAC, one for each entry in
  6. interrupt-names.
  7. - interrupt-names: one entry per channel, named "ch%u", where %u is the
  8. channel number ranging from zero to the number of channels minus one.
  9. - clocks: a list of phandle + clock-specifier pairs.
  10. - #dma-cells: must be <1>, the cell specifies the channel number of the DMAC
  11. port connected to the DMA client.
  12. - dma-channels: number of DMA channels
  13. Example: R8A7790 (R-Car H2) USB-DMACs
  14. usb_dmac0: dma-controller@e65a0000 {
  15. compatible = "renesas,usb-dmac";
  16. reg = <0 0xe65a0000 0 0x100>;
  17. interrupts = <0 109 IRQ_TYPE_LEVEL_HIGH
  18. 0 109 IRQ_TYPE_LEVEL_HIGH>;
  19. interrupt-names = "ch0", "ch1";
  20. clocks = <&mstp3_clks R8A7790_CLK_USBDMAC0>;
  21. #dma-cells = <1>;
  22. dma-channels = <2>;
  23. };
  24. usb_dmac1: dma-controller@e65b0000 {
  25. compatible = "renesas,usb-dmac";
  26. reg = <0 0xe65b0000 0 0x100>;
  27. interrupts = <0 110 IRQ_TYPE_LEVEL_HIGH
  28. 0 110 IRQ_TYPE_LEVEL_HIGH>;
  29. interrupt-names = "ch0", "ch1";
  30. clocks = <&mstp3_clks R8A7790_CLK_USBDMAC1>;
  31. #dma-cells = <1>;
  32. dma-channels = <2>;
  33. };