xref: /freebsd/sys/contrib/device-tree/Bindings/interconnect/qcom,sm6350-rpmh.yaml (revision b077aed33b7b6aefca7b17ddb250cf521f938613)
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/interconnect/qcom,sm6350-rpmh.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Qualcomm SM6350 RPMh Network-On-Chip Interconnect
8
9maintainers:
10  - Luca Weiss <luca.weiss@fairphone.com>
11
12description:
13  Qualcomm RPMh-based interconnect provider on SM6350.
14
15allOf:
16  - $ref: qcom,rpmh-common.yaml#
17
18properties:
19  compatible:
20    enum:
21      - qcom,sm6350-aggre1-noc
22      - qcom,sm6350-aggre2-noc
23      - qcom,sm6350-config-noc
24      - qcom,sm6350-dc-noc
25      - qcom,sm6350-gem-noc
26      - qcom,sm6350-mmss-noc
27      - qcom,sm6350-npu-noc
28      - qcom,sm6350-system-noc
29
30  reg:
31    maxItems: 1
32
33  '#interconnect-cells': true
34
35patternProperties:
36  '^interconnect-[a-z0-9\-]+$':
37    type: object
38    description:
39      The interconnect providers do not have a separate QoS register space,
40      but share parent's space.
41    $ref: qcom,rpmh-common.yaml#
42
43    properties:
44      compatible:
45        enum:
46          - qcom,sm6350-clk-virt
47          - qcom,sm6350-compute-noc
48
49      '#interconnect-cells': true
50
51    required:
52      - compatible
53
54    unevaluatedProperties: false
55
56required:
57  - compatible
58  - reg
59
60unevaluatedProperties: false
61
62examples:
63  - |
64    config_noc: interconnect@1500000 {
65        compatible = "qcom,sm6350-config-noc";
66        reg = <0x01500000 0x28000>;
67        #interconnect-cells = <2>;
68        qcom,bcm-voters = <&apps_bcm_voter>;
69    };
70
71    system_noc: interconnect@1620000 {
72        compatible = "qcom,sm6350-system-noc";
73        reg = <0x01620000 0x17080>;
74        #interconnect-cells = <2>;
75        qcom,bcm-voters = <&apps_bcm_voter>;
76
77        clk_virt: interconnect-clk-virt {
78            compatible = "qcom,sm6350-clk-virt";
79            #interconnect-cells = <2>;
80            qcom,bcm-voters = <&apps_bcm_voter>;
81        };
82    };
83