renesas,usb-dmac.txt 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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,r8a7790-usb-dmac" (R-Car H2)
  6. - "renesas,r8a7791-usb-dmac" (R-Car M2-W)
  7. - "renesas,r8a7793-usb-dmac" (R-Car M2-N)
  8. - "renesas,r8a7794-usb-dmac" (R-Car E2)
  9. - "renesas,r8a7795-usb-dmac" (R-Car H3)
  10. - reg: base address and length of the registers block for the DMAC
  11. - interrupts: interrupt specifiers for the DMAC, one for each entry in
  12. interrupt-names.
  13. - interrupt-names: one entry per channel, named "ch%u", where %u is the
  14. channel number ranging from zero to the number of channels minus one.
  15. - clocks: a list of phandle + clock-specifier pairs.
  16. - #dma-cells: must be <1>, the cell specifies the channel number of the DMAC
  17. port connected to the DMA client.
  18. - dma-channels: number of DMA channels
  19. Example: R8A7790 (R-Car H2) USB-DMACs
  20. usb_dmac0: dma-controller@e65a0000 {
  21. compatible = "renesas,r8a7790-usb-dmac", "renesas,usb-dmac";
  22. reg = <0 0xe65a0000 0 0x100>;
  23. interrupts = <0 109 IRQ_TYPE_LEVEL_HIGH
  24. 0 109 IRQ_TYPE_LEVEL_HIGH>;
  25. interrupt-names = "ch0", "ch1";
  26. clocks = <&mstp3_clks R8A7790_CLK_USBDMAC0>;
  27. #dma-cells = <1>;
  28. dma-channels = <2>;
  29. };
  30. usb_dmac1: dma-controller@e65b0000 {
  31. compatible = "renesas,usb-dmac";
  32. reg = <0 0xe65b0000 0 0x100>;
  33. interrupts = <0 110 IRQ_TYPE_LEVEL_HIGH
  34. 0 110 IRQ_TYPE_LEVEL_HIGH>;
  35. interrupt-names = "ch0", "ch1";
  36. clocks = <&mstp3_clks R8A7790_CLK_USBDMAC1>;
  37. #dma-cells = <1>;
  38. dma-channels = <2>;
  39. };