xref: /linux/Documentation/devicetree/bindings/interconnect/qcom,qcs8300-rpmh.yaml (revision 7f71507851fc7764b36a3221839607d3a45c2025)
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,qcs8300-rpmh.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Qualcomm RPMh Network-On-Chip Interconnect on QCS8300
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).
15
16  See also: include/dt-bindings/interconnect/qcom,qcs8300-rpmh.h
17
18properties:
19  compatible:
20    enum:
21      - qcom,qcs8300-aggre1-noc
22      - qcom,qcs8300-aggre2-noc
23      - qcom,qcs8300-clk-virt
24      - qcom,qcs8300-config-noc
25      - qcom,qcs8300-dc-noc
26      - qcom,qcs8300-gem-noc
27      - qcom,qcs8300-gpdsp-anoc
28      - qcom,qcs8300-lpass-ag-noc
29      - qcom,qcs8300-mc-virt
30      - qcom,qcs8300-mmss-noc
31      - qcom,qcs8300-nspa-noc
32      - qcom,qcs8300-pcie-anoc
33      - qcom,qcs8300-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,qcs8300-clk-virt
49              - qcom,qcs8300-mc-virt
50    then:
51      properties:
52        reg: false
53    else:
54      required:
55        - reg
56
57unevaluatedProperties: false
58
59examples:
60  - |
61    gem_noc: interconnect@9100000 {
62        compatible = "qcom,qcs8300-gem-noc";
63        reg = <0x9100000 0xf7080>;
64        #interconnect-cells = <2>;
65        qcom,bcm-voters = <&apps_bcm_voter>;
66    };
67
68    clk_virt: interconnect-0 {
69        compatible = "qcom,qcs8300-clk-virt";
70        #interconnect-cells = <2>;
71        qcom,bcm-voters = <&apps_bcm_voter>;
72    };
73