moxa,moxart-dma.txt 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. MOXA ART DMA Controller
  2. See dma.txt first
  3. Required properties:
  4. - compatible : Must be "moxa,moxart-dma"
  5. - reg : Should contain registers location and length
  6. - interrupts : Should contain an interrupt-specifier for the sole
  7. interrupt generated by the device
  8. - #dma-cells : Should be 1, a single cell holding a line request number
  9. Example:
  10. dma: dma@90500000 {
  11. compatible = "moxa,moxart-dma";
  12. reg = <0x90500080 0x40>;
  13. interrupts = <24 0>;
  14. #dma-cells = <1>;
  15. };
  16. Clients:
  17. DMA clients connected to the MOXA ART DMA controller must use the format
  18. described in the dma.txt file, using a two-cell specifier for each channel:
  19. a phandle plus one integer cells.
  20. The two cells in order are:
  21. 1. A phandle pointing to the DMA controller.
  22. 2. Peripheral identifier for the hardware handshaking interface.
  23. Example:
  24. Use specific request line passing from dma
  25. For example, MMC request line is 5
  26. sdhci: sdhci@98e00000 {
  27. compatible = "moxa,moxart-sdhci";
  28. reg = <0x98e00000 0x5C>;
  29. interrupts = <5 0>;
  30. clocks = <&clk_apb>;
  31. dmas = <&dma 5>,
  32. <&dma 5>;
  33. dma-names = "tx", "rx";
  34. };