qcom_bam_dma.txt 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. QCOM BAM DMA controller
  2. Required properties:
  3. - compatible: must contain "qcom,bam-v1.4.0" for MSM8974
  4. - reg: Address range for DMA registers
  5. - interrupts: Should contain the one interrupt shared by all channels
  6. - #dma-cells: must be <1>, the cell in the dmas property of the client device
  7. represents the channel number
  8. - clocks: required clock
  9. - clock-names: must contain "bam_clk" entry
  10. - qcom,ee : indicates the active Execution Environment identifier (0-7) used in
  11. the secure world.
  12. Example:
  13. uart-bam: dma@f9984000 = {
  14. compatible = "qcom,bam-v1.4.0";
  15. reg = <0xf9984000 0x15000>;
  16. interrupts = <0 94 0>;
  17. clocks = <&gcc GCC_BAM_DMA_AHB_CLK>;
  18. clock-names = "bam_clk";
  19. #dma-cells = <1>;
  20. qcom,ee = <0>;
  21. };
  22. DMA clients must use the format described in the dma.txt file, using a two cell
  23. specifier for each channel.
  24. Example:
  25. serial@f991e000 {
  26. compatible = "qcom,msm-uart";
  27. reg = <0xf991e000 0x1000>
  28. <0xf9944000 0x19000>;
  29. interrupts = <0 108 0>;
  30. clocks = <&gcc GCC_BLSP1_UART2_APPS_CLK>,
  31. <&gcc GCC_BLSP1_AHB_CLK>;
  32. clock-names = "core", "iface";
  33. dmas = <&uart-bam 0>, <&uart-bam 1>;
  34. dma-names = "rx", "tx";
  35. };