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,sm7150-rpmh.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Qualcomm RPMh Network-On-Chip Interconnect on SM7150
8
9maintainers:
10  - Danila Tikhonov <danila@jiaxyga.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,sm7150-rpmh.h
17
18allOf:
19  - $ref: qcom,rpmh-common.yaml#
20
21properties:
22  compatible:
23    enum:
24      - qcom,sm7150-aggre1-noc
25      - qcom,sm7150-aggre2-noc
26      - qcom,sm7150-compute-noc
27      - qcom,sm7150-config-noc
28      - qcom,sm7150-dc-noc
29      - qcom,sm7150-gem-noc
30      - qcom,sm7150-mc-virt
31      - qcom,sm7150-mmss-noc
32      - qcom,sm7150-system-noc
33
34  reg:
35    maxItems: 1
36
37# Child node's properties
38patternProperties:
39  '^interconnect-[0-9]+$':
40    type: object
41    description:
42      The interconnect providers do not have a separate QoS register space,
43      but share parent's space.
44
45    allOf:
46      - $ref: qcom,rpmh-common.yaml#
47
48    properties:
49      compatible:
50        enum:
51          - qcom,sm7150-camnoc-virt
52
53    required:
54      - compatible
55
56    unevaluatedProperties: false
57
58required:
59  - compatible
60  - reg
61
62unevaluatedProperties: false
63
64examples:
65  - |
66    mc_virt: interconnect@1380000 {
67        compatible = "qcom,sm7150-mc-virt";
68        reg = <0x01380000 0x40000>;
69        #interconnect-cells = <2>;
70        qcom,bcm-voters = <&apps_bcm_voter>;
71    };
72
73    system_noc: interconnect@1620000 {
74        compatible = "qcom,sm7150-system-noc";
75        reg = <0x01620000 0x40000>;
76        #interconnect-cells = <2>;
77        qcom,bcm-voters = <&apps_bcm_voter>;
78
79        camnoc_virt: interconnect-0 {
80            compatible = "qcom,sm7150-camnoc-virt";
81            #interconnect-cells = <2>;
82            qcom,bcm-voters = <&apps_bcm_voter>;
83        };
84    };
85