ste-coh901318.txt 768 B

123456789101112131415161718192021222324252627282930313233
  1. ST-Ericsson COH 901 318 DMA Controller
  2. This is a DMA controller which has begun as a fork of the
  3. ARM PL08x PrimeCell VHDL code.
  4. Required properties:
  5. - compatible: should be "stericsson,coh901318"
  6. - reg: register locations and length
  7. - interrupts: the single DMA IRQ
  8. - #dma-cells: must be set to <1>, as the channels on the
  9. COH 901 318 are simple and identified by a single number
  10. - dma-channels: the number of DMA channels handled
  11. Example:
  12. dmac: dma-controller@c00020000 {
  13. compatible = "stericsson,coh901318";
  14. reg = <0xc0020000 0x1000>;
  15. interrupt-parent = <&vica>;
  16. interrupts = <2>;
  17. #dma-cells = <1>;
  18. dma-channels = <40>;
  19. };
  20. Consumers example:
  21. uart0: serial@c0013000 {
  22. compatible = "...";
  23. (...)
  24. dmas = <&dmac 17 &dmac 18>;
  25. dma-names = "tx", "rx";
  26. };