xref: /linux/Documentation/devicetree/bindings/interconnect/qcom,qcs615-rpmh.yaml (revision 6b830c6a023ff6e8fe05dbe47a9e5cd276df09ee)
1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/interconnect/qcom,qcs615-rpmh.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Qualcomm RPMh Network-On-Chip Interconnect on QCS615
8
9maintainers:
10  - Raviteja Laggyshetty <quic_rlaggysh@quicinc.com>
11
12description: |
13  RPMh interconnect providers support system bandwidth requirements through
14  RPMh hardware accelerators known as Bus Clock Manager (BCM). The provider is
15  able to communicate with the BCM through the Resource State Coordinator (RSC)
16  associated with each execution environment. Provider nodes must point to at
17  least one RPMh device child node pertaining to their RSC and each provider
18  can map to multiple RPMh resources.
19
20  See also: include/dt-bindings/interconnect/qcom,qcs615-rpmh.h
21
22properties:
23  compatible:
24    enum:
25      - qcom,qcs615-aggre1-noc
26      - qcom,qcs615-camnoc-virt
27      - qcom,qcs615-config-noc
28      - qcom,qcs615-dc-noc
29      - qcom,qcs615-gem-noc
30      - qcom,qcs615-ipa-virt
31      - qcom,qcs615-mc-virt
32      - qcom,qcs615-mmss-noc
33      - qcom,qcs615-system-noc
34
35  reg:
36    maxItems: 1
37
38required:
39  - compatible
40
41allOf:
42  - $ref: qcom,rpmh-common.yaml#
43  - if:
44      properties:
45        compatible:
46          contains:
47            enum:
48              - qcom,qcs615-camnoc-virt
49              - qcom,qcs615-ipa-virt
50              - qcom,qcs615-mc-virt
51    then:
52      properties:
53        reg: false
54    else:
55      required:
56        - reg
57
58unevaluatedProperties: false
59
60examples:
61  - |
62    gem_noc: interconnect@9680000 {
63        compatible = "qcom,qcs615-gem-noc";
64        reg = <0x9680000 0x3e200>;
65        #interconnect-cells = <2>;
66        qcom,bcm-voters = <&apps_bcm_voter>;
67    };
68
69    mc_virt: interconnect-2 {
70        compatible = "qcom,qcs615-mc-virt";
71        #interconnect-cells = <2>;
72        qcom,bcm-voters = <&apps_bcm_voter>;
73    };
74