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,sc7280-rpmh.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Qualcomm RPMh Network-On-Chip Interconnect on SC7280
8
9maintainers:
10  - Bjorn Andersson <andersson@kernel.org>
11  - Konrad Dybcio <konrad.dybcio@linaro.org>
12
13description: |
14  RPMh interconnect providers support system bandwidth requirements through
15  RPMh hardware accelerators known as Bus Clock Manager (BCM).
16
17  See also:: include/dt-bindings/interconnect/qcom,sc7280.h
18
19properties:
20  compatible:
21    enum:
22      - qcom,sc7280-aggre1-noc
23      - qcom,sc7280-aggre2-noc
24      - qcom,sc7280-clk-virt
25      - qcom,sc7280-cnoc2
26      - qcom,sc7280-cnoc3
27      - qcom,sc7280-dc-noc
28      - qcom,sc7280-gem-noc
29      - qcom,sc7280-lpass-ag-noc
30      - qcom,sc7280-mc-virt
31      - qcom,sc7280-mmss-noc
32      - qcom,sc7280-nsp-noc
33      - qcom,sc7280-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,sc7280-clk-virt
49    then:
50      properties:
51        reg: false
52    else:
53      required:
54        - reg
55
56unevaluatedProperties: false
57
58examples:
59  - |
60    interconnect {
61        compatible = "qcom,sc7280-clk-virt";
62        #interconnect-cells = <2>;
63        qcom,bcm-voters = <&apps_bcm_voter>;
64    };
65
66    interconnect@9100000 {
67        reg = <0x9100000 0xe2200>;
68        compatible = "qcom,sc7280-gem-noc";
69        #interconnect-cells = <2>;
70        qcom,bcm-voters = <&apps_bcm_voter>;
71    };
72