qcom,tbu.yaml 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/iommu/qcom,tbu.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: Qualcomm TBU (Translation Buffer Unit)
  7. maintainers:
  8. - Georgi Djakov <quic_c_gdjako@quicinc.com>
  9. description:
  10. The Qualcomm SMMU500 implementation consists of TCU and TBU. The TBU contains
  11. a Translation Lookaside Buffer (TLB) that caches page tables. TBUs provides
  12. debug features to trace and trigger debug transactions. There are multiple TBU
  13. instances with each client core.
  14. properties:
  15. compatible:
  16. enum:
  17. - qcom,sc7280-tbu
  18. - qcom,sdm845-tbu
  19. reg:
  20. maxItems: 1
  21. clocks:
  22. maxItems: 1
  23. interconnects:
  24. maxItems: 1
  25. power-domains:
  26. maxItems: 1
  27. qcom,stream-id-range:
  28. description: |
  29. Phandle of a SMMU device and Stream ID range (address and size) that
  30. is assigned by the TBU
  31. $ref: /schemas/types.yaml#/definitions/phandle-array
  32. items:
  33. - items:
  34. - description: phandle of a smmu node
  35. - description: stream id base address
  36. - description: stream id size
  37. required:
  38. - compatible
  39. - reg
  40. - qcom,stream-id-range
  41. additionalProperties: false
  42. examples:
  43. - |
  44. #include <dt-bindings/clock/qcom,gcc-sdm845.h>
  45. #include <dt-bindings/interconnect/qcom,icc.h>
  46. #include <dt-bindings/interconnect/qcom,sdm845.h>
  47. tbu@150e1000 {
  48. compatible = "qcom,sdm845-tbu";
  49. reg = <0x150e1000 0x1000>;
  50. clocks = <&gcc GCC_AGGRE_NOC_PCIE_TBU_CLK>;
  51. interconnects = <&system_noc MASTER_GNOC_SNOC QCOM_ICC_TAG_ACTIVE_ONLY
  52. &config_noc SLAVE_IMEM_CFG QCOM_ICC_TAG_ACTIVE_ONLY>;
  53. power-domains = <&gcc HLOS1_VOTE_AGGRE_NOC_MMU_PCIE_TBU_GDSC>;
  54. qcom,stream-id-range = <&apps_smmu 0x1c00 0x400>;
  55. };
  56. ...