mtk-hsdma.txt 1.1 KB

123456789101112131415161718192021222324252627282930313233
  1. MediaTek High-Speed DMA Controller
  2. ==================================
  3. This device follows the generic DMA bindings defined in dma/dma.txt.
  4. Required properties:
  5. - compatible: Must be one of
  6. "mediatek,mt7622-hsdma": for MT7622 SoC
  7. "mediatek,mt7623-hsdma": for MT7623 SoC
  8. - reg: Should contain the register's base address and length.
  9. - interrupts: Should contain a reference to the interrupt used by this
  10. device.
  11. - clocks: Should be the clock specifiers corresponding to the entry in
  12. clock-names property.
  13. - clock-names: Should contain "hsdma" entries.
  14. - power-domains: Phandle to the power domain that the device is part of
  15. - #dma-cells: The length of the DMA specifier, must be <1>. This one cell
  16. in dmas property of a client device represents the channel
  17. number.
  18. Example:
  19. hsdma: dma-controller@1b007000 {
  20. compatible = "mediatek,mt7623-hsdma";
  21. reg = <0 0x1b007000 0 0x1000>;
  22. interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_LOW>;
  23. clocks = <&ethsys CLK_ETHSYS_HSDMA>;
  24. clock-names = "hsdma";
  25. power-domains = <&scpsys MT2701_POWER_DOMAIN_ETH>;
  26. #dma-cells = <1>;
  27. };
  28. DMA clients must use the format described in dma/dma.txt file.