xref: /linux/Documentation/devicetree/bindings/interconnect/qcom,sc7280-rpmh.yaml (revision 6822b0c92b435dec18d4317ddb424a63632b6a31)
1f8a363c4SKrzysztof Kozlowski# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2f8a363c4SKrzysztof Kozlowski%YAML 1.2
3f8a363c4SKrzysztof Kozlowski---
4f8a363c4SKrzysztof Kozlowski$id: http://devicetree.org/schemas/interconnect/qcom,sc7280-rpmh.yaml#
5f8a363c4SKrzysztof Kozlowski$schema: http://devicetree.org/meta-schemas/core.yaml#
6f8a363c4SKrzysztof Kozlowski
7f8a363c4SKrzysztof Kozlowskititle: Qualcomm RPMh Network-On-Chip Interconnect on SC7280
8f8a363c4SKrzysztof Kozlowski
9f8a363c4SKrzysztof Kozlowskimaintainers:
10f8a363c4SKrzysztof Kozlowski  - Bjorn Andersson <andersson@kernel.org>
11f8a363c4SKrzysztof Kozlowski  - Konrad Dybcio <konrad.dybcio@linaro.org>
12f8a363c4SKrzysztof Kozlowski
13f8a363c4SKrzysztof Kozlowskidescription: |
14f8a363c4SKrzysztof Kozlowski  RPMh interconnect providers support system bandwidth requirements through
15f8a363c4SKrzysztof Kozlowski  RPMh hardware accelerators known as Bus Clock Manager (BCM).
16f8a363c4SKrzysztof Kozlowski
17f8a363c4SKrzysztof Kozlowski  See also:: include/dt-bindings/interconnect/qcom,sc7280.h
18f8a363c4SKrzysztof Kozlowski
19f8a363c4SKrzysztof Kozlowskiproperties:
20f8a363c4SKrzysztof Kozlowski  compatible:
21f8a363c4SKrzysztof Kozlowski    enum:
22f8a363c4SKrzysztof Kozlowski      - qcom,sc7280-aggre1-noc
23f8a363c4SKrzysztof Kozlowski      - qcom,sc7280-aggre2-noc
24f8a363c4SKrzysztof Kozlowski      - qcom,sc7280-clk-virt
25f8a363c4SKrzysztof Kozlowski      - qcom,sc7280-cnoc2
26f8a363c4SKrzysztof Kozlowski      - qcom,sc7280-cnoc3
27f8a363c4SKrzysztof Kozlowski      - qcom,sc7280-dc-noc
28f8a363c4SKrzysztof Kozlowski      - qcom,sc7280-gem-noc
29f8a363c4SKrzysztof Kozlowski      - qcom,sc7280-lpass-ag-noc
30f8a363c4SKrzysztof Kozlowski      - qcom,sc7280-mc-virt
31f8a363c4SKrzysztof Kozlowski      - qcom,sc7280-mmss-noc
32f8a363c4SKrzysztof Kozlowski      - qcom,sc7280-nsp-noc
33f8a363c4SKrzysztof Kozlowski      - qcom,sc7280-system-noc
34f8a363c4SKrzysztof Kozlowski
35f8a363c4SKrzysztof Kozlowski  reg:
36f8a363c4SKrzysztof Kozlowski    maxItems: 1
37f8a363c4SKrzysztof Kozlowski
38*6822b0c9SOdelu Kukatla  clocks:
39*6822b0c9SOdelu Kukatla    minItems: 1
40*6822b0c9SOdelu Kukatla    maxItems: 2
41*6822b0c9SOdelu Kukatla
42f8a363c4SKrzysztof Kozlowskirequired:
43f8a363c4SKrzysztof Kozlowski  - compatible
44f8a363c4SKrzysztof Kozlowski
45f8a363c4SKrzysztof KozlowskiallOf:
46f8a363c4SKrzysztof Kozlowski  - $ref: qcom,rpmh-common.yaml#
47f8a363c4SKrzysztof Kozlowski  - if:
48f8a363c4SKrzysztof Kozlowski      properties:
49f8a363c4SKrzysztof Kozlowski        compatible:
50f8a363c4SKrzysztof Kozlowski          contains:
51f8a363c4SKrzysztof Kozlowski            enum:
52f8a363c4SKrzysztof Kozlowski              - qcom,sc7280-clk-virt
53f8a363c4SKrzysztof Kozlowski    then:
54f8a363c4SKrzysztof Kozlowski      properties:
55f8a363c4SKrzysztof Kozlowski        reg: false
56f8a363c4SKrzysztof Kozlowski    else:
57f8a363c4SKrzysztof Kozlowski      required:
58f8a363c4SKrzysztof Kozlowski        - reg
59f8a363c4SKrzysztof Kozlowski
60*6822b0c9SOdelu Kukatla  - if:
61*6822b0c9SOdelu Kukatla      properties:
62*6822b0c9SOdelu Kukatla        compatible:
63*6822b0c9SOdelu Kukatla          contains:
64*6822b0c9SOdelu Kukatla            enum:
65*6822b0c9SOdelu Kukatla              - qcom,sc7280-aggre1-noc
66*6822b0c9SOdelu Kukatla    then:
67*6822b0c9SOdelu Kukatla      properties:
68*6822b0c9SOdelu Kukatla        clocks:
69*6822b0c9SOdelu Kukatla          items:
70*6822b0c9SOdelu Kukatla            - description: aggre UFS PHY AXI clock
71*6822b0c9SOdelu Kukatla            - description: aggre USB3 PRIM AXI clock
72*6822b0c9SOdelu Kukatla
73*6822b0c9SOdelu Kukatla  - if:
74*6822b0c9SOdelu Kukatla      properties:
75*6822b0c9SOdelu Kukatla        compatible:
76*6822b0c9SOdelu Kukatla          contains:
77*6822b0c9SOdelu Kukatla            enum:
78*6822b0c9SOdelu Kukatla              - qcom,sc7280-aggre2-noc
79*6822b0c9SOdelu Kukatla    then:
80*6822b0c9SOdelu Kukatla      properties:
81*6822b0c9SOdelu Kukatla        clocks:
82*6822b0c9SOdelu Kukatla          items:
83*6822b0c9SOdelu Kukatla            - description: RPMH CC IPA clock
84*6822b0c9SOdelu Kukatla
85*6822b0c9SOdelu Kukatla  - if:
86*6822b0c9SOdelu Kukatla      properties:
87*6822b0c9SOdelu Kukatla        compatible:
88*6822b0c9SOdelu Kukatla          contains:
89*6822b0c9SOdelu Kukatla            enum:
90*6822b0c9SOdelu Kukatla              - qcom,sc7280-aggre1-noc
91*6822b0c9SOdelu Kukatla              - qcom,sc7280-aggre2-noc
92*6822b0c9SOdelu Kukatla    then:
93*6822b0c9SOdelu Kukatla      required:
94*6822b0c9SOdelu Kukatla        - clocks
95*6822b0c9SOdelu Kukatla    else:
96*6822b0c9SOdelu Kukatla      properties:
97*6822b0c9SOdelu Kukatla        clocks: false
98*6822b0c9SOdelu Kukatla
99f8a363c4SKrzysztof KozlowskiunevaluatedProperties: false
100f8a363c4SKrzysztof Kozlowski
101f8a363c4SKrzysztof Kozlowskiexamples:
102f8a363c4SKrzysztof Kozlowski  - |
103*6822b0c9SOdelu Kukatla    #include <dt-bindings/clock/qcom,gcc-sc7280.h>
104f8a363c4SKrzysztof Kozlowski    interconnect {
105f8a363c4SKrzysztof Kozlowski        compatible = "qcom,sc7280-clk-virt";
106f8a363c4SKrzysztof Kozlowski        #interconnect-cells = <2>;
107f8a363c4SKrzysztof Kozlowski        qcom,bcm-voters = <&apps_bcm_voter>;
108f8a363c4SKrzysztof Kozlowski    };
109f8a363c4SKrzysztof Kozlowski
110f8a363c4SKrzysztof Kozlowski    interconnect@9100000 {
111f8a363c4SKrzysztof Kozlowski        reg = <0x9100000 0xe2200>;
112f8a363c4SKrzysztof Kozlowski        compatible = "qcom,sc7280-gem-noc";
113f8a363c4SKrzysztof Kozlowski        #interconnect-cells = <2>;
114f8a363c4SKrzysztof Kozlowski        qcom,bcm-voters = <&apps_bcm_voter>;
115f8a363c4SKrzysztof Kozlowski    };
116*6822b0c9SOdelu Kukatla
117*6822b0c9SOdelu Kukatla    interconnect@16e0000 {
118*6822b0c9SOdelu Kukatla        reg = <0x016e0000 0x1c080>;
119*6822b0c9SOdelu Kukatla        compatible = "qcom,sc7280-aggre1-noc";
120*6822b0c9SOdelu Kukatla        #interconnect-cells = <2>;
121*6822b0c9SOdelu Kukatla        qcom,bcm-voters = <&apps_bcm_voter>;
122*6822b0c9SOdelu Kukatla        clocks = <&gcc GCC_AGGRE_UFS_PHY_AXI_CLK>,
123*6822b0c9SOdelu Kukatla                 <&gcc GCC_AGGRE_USB3_PRIM_AXI_CLK>;
124*6822b0c9SOdelu Kukatla    };
125