xref: /freebsd/sys/contrib/device-tree/Bindings/interconnect/qcom,x1e80100-rpmh.yaml (revision 8d13bc63c0e1d50bc9e47ac1f26329c999bfecf0)
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/interconnect/qcom,x1e80100-rpmh.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Qualcomm RPMh Network-On-Chip Interconnect on X1E80100
8
9maintainers:
10  - Rajendra Nayak <quic_rjendra@quicinc.com>
11  - Abel Vesa <abel.vesa@linaro.org>
12
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
21  See also:: include/dt-bindings/interconnect/qcom,x1e80100-rpmh.h
22
23properties:
24  compatible:
25    enum:
26      - qcom,x1e80100-aggre1-noc
27      - qcom,x1e80100-aggre2-noc
28      - qcom,x1e80100-clk-virt
29      - qcom,x1e80100-cnoc-cfg
30      - qcom,x1e80100-cnoc-main
31      - qcom,x1e80100-gem-noc
32      - qcom,x1e80100-lpass-ag-noc
33      - qcom,x1e80100-lpass-lpiaon-noc
34      - qcom,x1e80100-lpass-lpicx-noc
35      - qcom,x1e80100-mc-virt
36      - qcom,x1e80100-mmss-noc
37      - qcom,x1e80100-nsp-noc
38      - qcom,x1e80100-pcie-center-anoc
39      - qcom,x1e80100-pcie-north-anoc
40      - qcom,x1e80100-pcie-south-anoc
41      - qcom,x1e80100-system-noc
42      - qcom,x1e80100-usb-center-anoc
43      - qcom,x1e80100-usb-north-anoc
44      - qcom,x1e80100-usb-south-anoc
45
46  reg:
47    maxItems: 1
48
49required:
50  - compatible
51
52allOf:
53  - $ref: qcom,rpmh-common.yaml#
54  - if:
55      properties:
56        compatible:
57          contains:
58            enum:
59              - qcom,x1e80100-clk-virt
60              - qcom,x1e80100-mc-virt
61    then:
62      properties:
63        reg: false
64    else:
65      required:
66        - reg
67
68unevaluatedProperties: false
69
70examples:
71  - |
72    clk_virt: interconnect-0 {
73      compatible = "qcom,x1e80100-clk-virt";
74      #interconnect-cells = <2>;
75      qcom,bcm-voters = <&apps_bcm_voter>;
76    };
77
78    aggre1_noc: interconnect@16e0000 {
79      compatible = "qcom,x1e80100-aggre1-noc";
80      reg = <0x016e0000 0x14400>;
81      #interconnect-cells = <2>;
82      qcom,bcm-voters = <&apps_bcm_voter>;
83    };
84