qcom,msm8953.yaml 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/interconnect/qcom,msm8953.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: Qualcomm MSM8953 Network-On-Chip interconnect
  7. maintainers:
  8. - Barnabas Czeman <barnabas.czeman@mainlining.org>
  9. description: |
  10. The Qualcomm MSM8953 interconnect providers support adjusting the
  11. bandwidth requirements between the various NoC fabrics.
  12. See also: include/dt-bindings/interconnect/qcom,msm8953.h
  13. properties:
  14. compatible:
  15. enum:
  16. - qcom,msm8953-bimc
  17. - qcom,msm8953-pcnoc
  18. - qcom,msm8953-snoc
  19. reg:
  20. maxItems: 1
  21. clocks:
  22. maxItems: 1
  23. clock-names:
  24. maxItems: 1
  25. '#interconnect-cells':
  26. const: 2
  27. patternProperties:
  28. '^interconnect-[a-z0-9\-]+$':
  29. type: object
  30. $ref: qcom,rpm-common.yaml#
  31. unevaluatedProperties: false
  32. description:
  33. The interconnect providers do not have a separate QoS register space,
  34. but share parent's space.
  35. properties:
  36. compatible:
  37. const: qcom,msm8953-snoc-mm
  38. required:
  39. - compatible
  40. - '#interconnect-cells'
  41. required:
  42. - compatible
  43. - reg
  44. - '#interconnect-cells'
  45. allOf:
  46. - $ref: qcom,rpm-common.yaml#
  47. - if:
  48. properties:
  49. compatible:
  50. const: qcom,msm8953-pcnoc
  51. then:
  52. properties:
  53. clocks:
  54. items:
  55. - description: PCNOC USB3 AXI Clock.
  56. clock-names:
  57. const: pcnoc_usb3_axi
  58. required:
  59. - clocks
  60. - clock-names
  61. else:
  62. properties:
  63. clocks: false
  64. clock-names: false
  65. additionalProperties: false
  66. examples:
  67. - |
  68. #include <dt-bindings/clock/qcom,gcc-msm8953.h>
  69. snoc: interconnect@580000 {
  70. compatible = "qcom,msm8953-snoc";
  71. reg = <0x580000 0x16080>;
  72. #interconnect-cells = <2>;
  73. snoc_mm: interconnect-snoc {
  74. compatible = "qcom,msm8953-snoc-mm";
  75. #interconnect-cells = <2>;
  76. };
  77. };