xref: /linux/Documentation/devicetree/bindings/interconnect/qcom,sc7280-rpmh.yaml (revision 2731835f3f2e5b0642ad82a3a0265c98a552283e)
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>
11*0710c3d3SKonrad Dybcio  - Konrad Dybcio <konradybcio@kernel.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
386822b0c9SOdelu Kukatla  clocks:
396822b0c9SOdelu Kukatla    minItems: 1
406822b0c9SOdelu Kukatla    maxItems: 2
416822b0c9SOdelu 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
606822b0c9SOdelu Kukatla  - if:
616822b0c9SOdelu Kukatla      properties:
626822b0c9SOdelu Kukatla        compatible:
636822b0c9SOdelu Kukatla          contains:
646822b0c9SOdelu Kukatla            enum:
656822b0c9SOdelu Kukatla              - qcom,sc7280-aggre1-noc
666822b0c9SOdelu Kukatla    then:
676822b0c9SOdelu Kukatla      properties:
686822b0c9SOdelu Kukatla        clocks:
696822b0c9SOdelu Kukatla          items:
706822b0c9SOdelu Kukatla            - description: aggre UFS PHY AXI clock
716822b0c9SOdelu Kukatla            - description: aggre USB3 PRIM AXI clock
726822b0c9SOdelu Kukatla
736822b0c9SOdelu Kukatla  - if:
746822b0c9SOdelu Kukatla      properties:
756822b0c9SOdelu Kukatla        compatible:
766822b0c9SOdelu Kukatla          contains:
776822b0c9SOdelu Kukatla            enum:
786822b0c9SOdelu Kukatla              - qcom,sc7280-aggre2-noc
796822b0c9SOdelu Kukatla    then:
806822b0c9SOdelu Kukatla      properties:
816822b0c9SOdelu Kukatla        clocks:
826822b0c9SOdelu Kukatla          items:
836822b0c9SOdelu Kukatla            - description: RPMH CC IPA clock
846822b0c9SOdelu Kukatla
856822b0c9SOdelu Kukatla  - if:
866822b0c9SOdelu Kukatla      properties:
876822b0c9SOdelu Kukatla        compatible:
886822b0c9SOdelu Kukatla          contains:
896822b0c9SOdelu Kukatla            enum:
906822b0c9SOdelu Kukatla              - qcom,sc7280-aggre1-noc
916822b0c9SOdelu Kukatla              - qcom,sc7280-aggre2-noc
926822b0c9SOdelu Kukatla    then:
936822b0c9SOdelu Kukatla      required:
946822b0c9SOdelu Kukatla        - clocks
956822b0c9SOdelu Kukatla    else:
966822b0c9SOdelu Kukatla      properties:
976822b0c9SOdelu Kukatla        clocks: false
986822b0c9SOdelu Kukatla
99f8a363c4SKrzysztof KozlowskiunevaluatedProperties: false
100f8a363c4SKrzysztof Kozlowski
101f8a363c4SKrzysztof Kozlowskiexamples:
102f8a363c4SKrzysztof Kozlowski  - |
1036822b0c9SOdelu 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    };
1166822b0c9SOdelu Kukatla
1176822b0c9SOdelu Kukatla    interconnect@16e0000 {
1186822b0c9SOdelu Kukatla        reg = <0x016e0000 0x1c080>;
1196822b0c9SOdelu Kukatla        compatible = "qcom,sc7280-aggre1-noc";
1206822b0c9SOdelu Kukatla        #interconnect-cells = <2>;
1216822b0c9SOdelu Kukatla        qcom,bcm-voters = <&apps_bcm_voter>;
1226822b0c9SOdelu Kukatla        clocks = <&gcc GCC_AGGRE_UFS_PHY_AXI_CLK>,
1236822b0c9SOdelu Kukatla                 <&gcc GCC_AGGRE_USB3_PRIM_AXI_CLK>;
1246822b0c9SOdelu Kukatla    };
125