xref: /linux/Documentation/devicetree/bindings/interconnect/qcom,rpmh.yaml (revision 24bce201d79807b668bf9d9e0aca801c5c0d5f78)
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/interconnect/qcom,rpmh.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Qualcomm RPMh Network-On-Chip Interconnect
8
9maintainers:
10  - Georgi Djakov <georgi.djakov@linaro.org>
11  - Odelu Kukatla <okukatla@codeaurora.org>
12
13description: |
14   RPMh interconnect providers support system bandwidth requirements through
15   RPMh hardware accelerators known as Bus Clock Manager (BCM). The provider is
16   able to communicate with the BCM through the Resource State Coordinator (RSC)
17   associated with each execution environment. Provider nodes must point to at
18   least one RPMh device child node pertaining to their RSC and each provider
19   can map to multiple RPMh resources.
20
21properties:
22  reg:
23    maxItems: 1
24
25  compatible:
26    enum:
27      - qcom,sc7180-aggre1-noc
28      - qcom,sc7180-aggre2-noc
29      - qcom,sc7180-camnoc-virt
30      - qcom,sc7180-compute-noc
31      - qcom,sc7180-config-noc
32      - qcom,sc7180-dc-noc
33      - qcom,sc7180-gem-noc
34      - qcom,sc7180-mc-virt
35      - qcom,sc7180-mmss-noc
36      - qcom,sc7180-npu-noc
37      - qcom,sc7180-qup-virt
38      - qcom,sc7180-system-noc
39      - qcom,sc7280-aggre1-noc
40      - qcom,sc7280-aggre2-noc
41      - qcom,sc7280-clk-virt
42      - qcom,sc7280-cnoc2
43      - qcom,sc7280-cnoc3
44      - qcom,sc7280-dc-noc
45      - qcom,sc7280-gem-noc
46      - qcom,sc7280-lpass-ag-noc
47      - qcom,sc7280-mc-virt
48      - qcom,sc7280-mmss-noc
49      - qcom,sc7280-nsp-noc
50      - qcom,sc7280-system-noc
51      - qcom,sc8180x-aggre1-noc
52      - qcom,sc8180x-aggre2-noc
53      - qcom,sc8180x-camnoc-virt
54      - qcom,sc8180x-compute-noc
55      - qcom,sc8180x-config-noc
56      - qcom,sc8180x-dc-noc
57      - qcom,sc8180x-gem-noc
58      - qcom,sc8180x-ipa-virt
59      - qcom,sc8180x-mc-virt
60      - qcom,sc8180x-mmss-noc
61      - qcom,sc8180x-qup-virt
62      - qcom,sc8180x-system-noc
63      - qcom,sc8280xp-aggre1-noc
64      - qcom,sc8280xp-aggre2-noc
65      - qcom,sc8280xp-clk-virt
66      - qcom,sc8280xp-config-noc
67      - qcom,sc8280xp-dc-noc
68      - qcom,sc8280xp-gem-noc
69      - qcom,sc8280xp-lpass-ag-noc
70      - qcom,sc8280xp-mc-virt
71      - qcom,sc8280xp-mmss-noc
72      - qcom,sc8280xp-nspa-noc
73      - qcom,sc8280xp-nspb-noc
74      - qcom,sc8280xp-system-noc
75      - qcom,sdm845-aggre1-noc
76      - qcom,sdm845-aggre2-noc
77      - qcom,sdm845-config-noc
78      - qcom,sdm845-dc-noc
79      - qcom,sdm845-gladiator-noc
80      - qcom,sdm845-mem-noc
81      - qcom,sdm845-mmss-noc
82      - qcom,sdm845-system-noc
83      - qcom,sdx55-mc-virt
84      - qcom,sdx55-mem-noc
85      - qcom,sdx55-system-noc
86      - qcom,sdx65-mc-virt
87      - qcom,sdx65-mem-noc
88      - qcom,sdx65-system-noc
89      - qcom,sm8150-aggre1-noc
90      - qcom,sm8150-aggre2-noc
91      - qcom,sm8150-camnoc-noc
92      - qcom,sm8150-compute-noc
93      - qcom,sm8150-config-noc
94      - qcom,sm8150-dc-noc
95      - qcom,sm8150-gem-noc
96      - qcom,sm8150-ipa-virt
97      - qcom,sm8150-mc-virt
98      - qcom,sm8150-mmss-noc
99      - qcom,sm8150-system-noc
100      - qcom,sm8250-aggre1-noc
101      - qcom,sm8250-aggre2-noc
102      - qcom,sm8250-compute-noc
103      - qcom,sm8250-config-noc
104      - qcom,sm8250-dc-noc
105      - qcom,sm8250-gem-noc
106      - qcom,sm8250-ipa-virt
107      - qcom,sm8250-mc-virt
108      - qcom,sm8250-mmss-noc
109      - qcom,sm8250-npu-noc
110      - qcom,sm8250-system-noc
111      - qcom,sm8350-aggre1-noc
112      - qcom,sm8350-aggre2-noc
113      - qcom,sm8350-config-noc
114      - qcom,sm8350-dc-noc
115      - qcom,sm8350-gem-noc
116      - qcom,sm8350-lpass-ag-noc
117      - qcom,sm8350-mc-virt
118      - qcom,sm8350-mmss-noc
119      - qcom,sm8350-compute-noc
120      - qcom,sm8350-system-noc
121      - qcom,sm8450-aggre1-noc
122      - qcom,sm8450-aggre2-noc
123      - qcom,sm8450-clk-virt
124      - qcom,sm8450-config-noc
125      - qcom,sm8450-gem-noc
126      - qcom,sm8450-lpass-ag-noc
127      - qcom,sm8450-mc-virt
128      - qcom,sm8450-mmss-noc
129      - qcom,sm8450-nsp-noc
130      - qcom,sm8450-pcie-anoc
131      - qcom,sm8450-system-noc
132
133  '#interconnect-cells':
134    enum: [ 1, 2 ]
135
136  qcom,bcm-voters:
137    $ref: /schemas/types.yaml#/definitions/phandle-array
138    items:
139      maxItems: 1
140    description: |
141      List of phandles to qcom,bcm-voter nodes that are required by
142      this interconnect to send RPMh commands.
143
144  qcom,bcm-voter-names:
145    description: |
146      Names for each of the qcom,bcm-voters specified.
147
148required:
149  - compatible
150  - reg
151  - '#interconnect-cells'
152  - qcom,bcm-voters
153
154additionalProperties: false
155
156examples:
157  - |
158      #include <dt-bindings/interconnect/qcom,sdm845.h>
159
160      mem_noc: interconnect@1380000 {
161             compatible = "qcom,sdm845-mem-noc";
162             reg = <0x01380000 0x27200>;
163             #interconnect-cells = <1>;
164             qcom,bcm-voters = <&apps_bcm_voter>;
165      };
166
167      mmss_noc: interconnect@1740000 {
168             compatible = "qcom,sdm845-mmss-noc";
169             reg = <0x01740000 0x1c1000>;
170             #interconnect-cells = <1>;
171             qcom,bcm-voter-names = "apps", "disp";
172             qcom,bcm-voters = <&apps_bcm_voter>, <&disp_bcm_voter>;
173      };
174