qcom,qdu1000-rpmh.yaml 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/interconnect/qcom,qdu1000-rpmh.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: Qualcomm RPMh Network-On-Chip Interconnect on QDU1000
  7. maintainers:
  8. - Georgi Djakov <djakov@kernel.org>
  9. - Odelu Kukatla <quic_okukatla@quicinc.com>
  10. description: |
  11. RPMh interconnect providers support system bandwidth requirements through
  12. RPMh hardware accelerators known as Bus Clock Manager (BCM). The provider is
  13. able to communicate with the BCM through the Resource State Coordinator (RSC)
  14. associated with each execution environment. Provider nodes must point to at
  15. least one RPMh device child node pertaining to their RSC and each provider
  16. can map to multiple RPMh resources.
  17. properties:
  18. compatible:
  19. enum:
  20. - qcom,qdu1000-clk-virt
  21. - qcom,qdu1000-gem-noc
  22. - qcom,qdu1000-mc-virt
  23. - qcom,qdu1000-system-noc
  24. '#interconnect-cells': true
  25. reg:
  26. maxItems: 1
  27. allOf:
  28. - $ref: qcom,rpmh-common.yaml#
  29. - if:
  30. properties:
  31. compatible:
  32. contains:
  33. enum:
  34. - qcom,qdu1000-clk-virt
  35. - qcom,qdu1000-mc-virt
  36. then:
  37. properties:
  38. reg: false
  39. else:
  40. required:
  41. - reg
  42. required:
  43. - compatible
  44. unevaluatedProperties: false
  45. examples:
  46. - |
  47. #include <dt-bindings/interconnect/qcom,qdu1000-rpmh.h>
  48. system_noc: interconnect@1640000 {
  49. compatible = "qcom,qdu1000-system-noc";
  50. reg = <0x1640000 0x45080>;
  51. #interconnect-cells = <2>;
  52. qcom,bcm-voters = <&apps_bcm_voter>;
  53. };
  54. clk_virt: interconnect-0 {
  55. compatible = "qcom,qdu1000-clk-virt";
  56. #interconnect-cells = <2>;
  57. qcom,bcm-voters = <&apps_bcm_voter>;
  58. };