msm_iommu_v0.txt 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. * Qualcomm MSM IOMMU v0
  2. Required properties:
  3. - compatible : one of:
  4. - "qcom,msm-smmu-v0"
  5. - reg : offset and length of the register set for the device.
  6. - qcom,glb-offset : Offset for the global register base.
  7. Optional properties:
  8. - interrupts : should contain the performance monitor overflow interrupt number.
  9. - qcom,iommu-pmu-ngroups: Number of Performance Monitor Unit (PMU) groups.
  10. - qcom,iommu-pmu-ncounters: Number of PMU counters per group.
  11. - qcom,iommu-pmu-event-classes: List of event classes supported.
  12. - qcom,needs-alt-core-clk : boolean to enable the secondary core clock for
  13. access to the IOMMU configuration registers
  14. - Bus scaling properties: See msm_bus.txt
  15. - qcom,msm-enable-remote-spinlock : boolean to enable use of remote spinlock
  16. - List of sub nodes, one for each of the translation context banks supported.
  17. Required properties for each sub-node:
  18. - compatible : "qcom,msm-smmu-v0-ctx"
  19. - reg : offset and length of the register set for the context bank.
  20. - interrupts : should contain the context bank interrupt.
  21. - qcom,iommu-ctx-mids : List of machine identifiers associated with this
  22. translation context.
  23. - label : Name of the context bank
  24. Optional properties for each sub-node:
  25. - none
  26. Example:
  27. qcom,iommu@fd000000 {
  28. compatible = "qcom,msm-smmu-v0";
  29. #address-cells = <1>;
  30. #size-cells = <1>;
  31. ranges;
  32. reg = <0xfd890000 0x10000>;
  33. qcom,glb-offset = <0xF000>;
  34. interrupts = <0 38 0>;
  35. qcom,iommu-pmu-ngroups = <1>;
  36. qcom,iommu-pmu-ncounters = <4>;
  37. qcom,iommu-pmu-event-classes = <0x08
  38. 0x11>;
  39. qcom,iommu-ctx@fd000000 {
  40. compatible = "qcom,msm-smmu-v0-ctx";
  41. reg = <0xfd000000 0x1000>;
  42. interrupts = <0 250 0>;
  43. qcom,iommu-ctx-mids = <0 3>;
  44. label = "a_label";
  45. };