blob: 9318b845ec359bda726df0280ae338605a06f2cf [file] [log] [blame]
Tom Rini53633a82024-02-29 12:33:36 -05001# 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>
Tom Rini6bb92fc2024-05-20 09:54:58 -060011 - Odelu Kukatla <quic_okukatla@quicinc.com>
Tom Rini53633a82024-02-29 12:33:36 -050012
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,sc8180x-aggre1-noc
40 - qcom,sc8180x-aggre2-noc
41 - qcom,sc8180x-camnoc-virt
42 - qcom,sc8180x-compute-noc
43 - qcom,sc8180x-config-noc
44 - qcom,sc8180x-dc-noc
45 - qcom,sc8180x-gem-noc
46 - qcom,sc8180x-mc-virt
47 - qcom,sc8180x-mmss-noc
48 - qcom,sc8180x-qup-virt
49 - qcom,sc8180x-system-noc
50 - qcom,sdm670-aggre1-noc
51 - qcom,sdm670-aggre2-noc
52 - qcom,sdm670-config-noc
53 - qcom,sdm670-dc-noc
54 - qcom,sdm670-gladiator-noc
55 - qcom,sdm670-mem-noc
56 - qcom,sdm670-mmss-noc
57 - qcom,sdm670-system-noc
58 - qcom,sdm845-aggre1-noc
59 - qcom,sdm845-aggre2-noc
60 - qcom,sdm845-config-noc
61 - qcom,sdm845-dc-noc
62 - qcom,sdm845-gladiator-noc
63 - qcom,sdm845-mem-noc
64 - qcom,sdm845-mmss-noc
65 - qcom,sdm845-system-noc
66 - qcom,sdx55-mc-virt
67 - qcom,sdx55-mem-noc
68 - qcom,sdx55-system-noc
69 - qcom,sdx65-mc-virt
70 - qcom,sdx65-mem-noc
71 - qcom,sdx65-system-noc
72 - qcom,sm8150-aggre1-noc
73 - qcom,sm8150-aggre2-noc
74 - qcom,sm8150-camnoc-noc
75 - qcom,sm8150-compute-noc
76 - qcom,sm8150-config-noc
77 - qcom,sm8150-dc-noc
78 - qcom,sm8150-gem-noc
79 - qcom,sm8150-mc-virt
80 - qcom,sm8150-mmss-noc
81 - qcom,sm8150-system-noc
82 - qcom,sm8250-aggre1-noc
83 - qcom,sm8250-aggre2-noc
84 - qcom,sm8250-compute-noc
85 - qcom,sm8250-config-noc
86 - qcom,sm8250-dc-noc
87 - qcom,sm8250-gem-noc
88 - qcom,sm8250-mc-virt
89 - qcom,sm8250-mmss-noc
90 - qcom,sm8250-npu-noc
91 - qcom,sm8250-qup-virt
92 - qcom,sm8250-system-noc
93 - qcom,sm8350-aggre1-noc
94 - qcom,sm8350-aggre2-noc
95 - qcom,sm8350-config-noc
96 - qcom,sm8350-dc-noc
97 - qcom,sm8350-gem-noc
98 - qcom,sm8350-lpass-ag-noc
99 - qcom,sm8350-mc-virt
100 - qcom,sm8350-mmss-noc
101 - qcom,sm8350-compute-noc
102 - qcom,sm8350-system-noc
103
104 '#interconnect-cells': true
105
106required:
107 - compatible
108
109allOf:
110 - $ref: qcom,rpmh-common.yaml#
111 - if:
112 not:
113 properties:
114 compatible:
115 enum:
116 - qcom,sdx65-mc-virt
117 - qcom,sm8250-qup-virt
118 then:
119 required:
120 - reg
121
122
123unevaluatedProperties: false
124
125examples:
126 - |
127 #include <dt-bindings/interconnect/qcom,sdm845.h>
128
129 mem_noc: interconnect@1380000 {
130 compatible = "qcom,sdm845-mem-noc";
131 reg = <0x01380000 0x27200>;
132 #interconnect-cells = <1>;
133 qcom,bcm-voters = <&apps_bcm_voter>;
134 };
135
136 mmss_noc: interconnect@1740000 {
137 compatible = "qcom,sdm845-mmss-noc";
138 reg = <0x01740000 0x1c1000>;
139 #interconnect-cells = <1>;
140 qcom,bcm-voter-names = "apps", "disp";
141 qcom,bcm-voters = <&apps_bcm_voter>, <&disp_bcm_voter>;
142 };