xref: /linux/Documentation/devicetree/bindings/interconnect/qcom,sm8450-rpmh.yaml (revision 2731835f3f2e5b0642ad82a3a0265c98a552283e)
12fafc335SKrzysztof Kozlowski# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
22fafc335SKrzysztof Kozlowski%YAML 1.2
32fafc335SKrzysztof Kozlowski---
42fafc335SKrzysztof Kozlowski$id: http://devicetree.org/schemas/interconnect/qcom,sm8450-rpmh.yaml#
52fafc335SKrzysztof Kozlowski$schema: http://devicetree.org/meta-schemas/core.yaml#
62fafc335SKrzysztof Kozlowski
72fafc335SKrzysztof Kozlowskititle: Qualcomm RPMh Network-On-Chip Interconnect on SM8450
82fafc335SKrzysztof Kozlowski
92fafc335SKrzysztof Kozlowskimaintainers:
102fafc335SKrzysztof Kozlowski  - Bjorn Andersson <andersson@kernel.org>
11*0710c3d3SKonrad Dybcio  - Konrad Dybcio <konradybcio@kernel.org>
122fafc335SKrzysztof Kozlowski
132fafc335SKrzysztof Kozlowskidescription: |
142fafc335SKrzysztof Kozlowski  RPMh interconnect providers support system bandwidth requirements through
152fafc335SKrzysztof Kozlowski  RPMh hardware accelerators known as Bus Clock Manager (BCM).
162fafc335SKrzysztof Kozlowski
172fafc335SKrzysztof Kozlowski  See also:: include/dt-bindings/interconnect/qcom,sm8450.h
182fafc335SKrzysztof Kozlowski
192fafc335SKrzysztof Kozlowskiproperties:
202fafc335SKrzysztof Kozlowski  compatible:
212fafc335SKrzysztof Kozlowski    enum:
222fafc335SKrzysztof Kozlowski      - qcom,sm8450-aggre1-noc
232fafc335SKrzysztof Kozlowski      - qcom,sm8450-aggre2-noc
242fafc335SKrzysztof Kozlowski      - qcom,sm8450-clk-virt
252fafc335SKrzysztof Kozlowski      - qcom,sm8450-config-noc
262fafc335SKrzysztof Kozlowski      - qcom,sm8450-gem-noc
272fafc335SKrzysztof Kozlowski      - qcom,sm8450-lpass-ag-noc
282fafc335SKrzysztof Kozlowski      - qcom,sm8450-mc-virt
292fafc335SKrzysztof Kozlowski      - qcom,sm8450-mmss-noc
302fafc335SKrzysztof Kozlowski      - qcom,sm8450-nsp-noc
312fafc335SKrzysztof Kozlowski      - qcom,sm8450-pcie-anoc
322fafc335SKrzysztof Kozlowski      - qcom,sm8450-system-noc
332fafc335SKrzysztof Kozlowski
342fafc335SKrzysztof Kozlowski  reg:
352fafc335SKrzysztof Kozlowski    maxItems: 1
362fafc335SKrzysztof Kozlowski
372fafc335SKrzysztof Kozlowski  clocks:
382fafc335SKrzysztof Kozlowski    minItems: 1
392fafc335SKrzysztof Kozlowski    maxItems: 4
402fafc335SKrzysztof Kozlowski
412fafc335SKrzysztof Kozlowskirequired:
422fafc335SKrzysztof Kozlowski  - compatible
432fafc335SKrzysztof Kozlowski
442fafc335SKrzysztof KozlowskiallOf:
452fafc335SKrzysztof Kozlowski  - $ref: qcom,rpmh-common.yaml#
462fafc335SKrzysztof Kozlowski  - if:
472fafc335SKrzysztof Kozlowski      properties:
482fafc335SKrzysztof Kozlowski        compatible:
492fafc335SKrzysztof Kozlowski          contains:
502fafc335SKrzysztof Kozlowski            enum:
512fafc335SKrzysztof Kozlowski              - qcom,sm8450-clk-virt
522fafc335SKrzysztof Kozlowski              - qcom,sm8450-mc-virt
532fafc335SKrzysztof Kozlowski    then:
542fafc335SKrzysztof Kozlowski      properties:
552fafc335SKrzysztof Kozlowski        reg: false
562fafc335SKrzysztof Kozlowski    else:
572fafc335SKrzysztof Kozlowski      required:
582fafc335SKrzysztof Kozlowski        - reg
592fafc335SKrzysztof Kozlowski
602fafc335SKrzysztof Kozlowski  - if:
612fafc335SKrzysztof Kozlowski      properties:
622fafc335SKrzysztof Kozlowski        compatible:
632fafc335SKrzysztof Kozlowski          contains:
642fafc335SKrzysztof Kozlowski            enum:
652fafc335SKrzysztof Kozlowski              - qcom,sm8450-aggre1-noc
662fafc335SKrzysztof Kozlowski    then:
672fafc335SKrzysztof Kozlowski      properties:
682fafc335SKrzysztof Kozlowski        clocks:
692fafc335SKrzysztof Kozlowski          items:
702fafc335SKrzysztof Kozlowski            - description: aggre UFS PHY AXI clock
712fafc335SKrzysztof Kozlowski            - description: aggre USB3 PRIM AXI clock
722fafc335SKrzysztof Kozlowski
732fafc335SKrzysztof Kozlowski  - if:
742fafc335SKrzysztof Kozlowski      properties:
752fafc335SKrzysztof Kozlowski        compatible:
762fafc335SKrzysztof Kozlowski          contains:
772fafc335SKrzysztof Kozlowski            enum:
782fafc335SKrzysztof Kozlowski              - qcom,sm8450-aggre2-noc
792fafc335SKrzysztof Kozlowski    then:
802fafc335SKrzysztof Kozlowski      properties:
812fafc335SKrzysztof Kozlowski        clocks:
822fafc335SKrzysztof Kozlowski          items:
832fafc335SKrzysztof Kozlowski            - description: aggre-NOC PCIe 0 AXI clock
842fafc335SKrzysztof Kozlowski            - description: aggre-NOC PCIe 1 AXI clock
852fafc335SKrzysztof Kozlowski            - description: aggre UFS PHY AXI clock
862fafc335SKrzysztof Kozlowski            - description: RPMH CC IPA clock
872fafc335SKrzysztof Kozlowski
882fafc335SKrzysztof Kozlowski  - if:
892fafc335SKrzysztof Kozlowski      properties:
902fafc335SKrzysztof Kozlowski        compatible:
912fafc335SKrzysztof Kozlowski          contains:
922fafc335SKrzysztof Kozlowski            enum:
932fafc335SKrzysztof Kozlowski              - qcom,sm8450-aggre1-noc
942fafc335SKrzysztof Kozlowski              - qcom,sm8450-aggre2-noc
952fafc335SKrzysztof Kozlowski    then:
962fafc335SKrzysztof Kozlowski      required:
972fafc335SKrzysztof Kozlowski        - clocks
982fafc335SKrzysztof Kozlowski    else:
992fafc335SKrzysztof Kozlowski      properties:
1002fafc335SKrzysztof Kozlowski        clocks: false
1012fafc335SKrzysztof Kozlowski
1022fafc335SKrzysztof KozlowskiunevaluatedProperties: false
1032fafc335SKrzysztof Kozlowski
1042fafc335SKrzysztof Kozlowskiexamples:
1052fafc335SKrzysztof Kozlowski  - |
1062fafc335SKrzysztof Kozlowski    #include <dt-bindings/clock/qcom,gcc-sm8450.h>
1072fafc335SKrzysztof Kozlowski    #include <dt-bindings/clock/qcom,rpmh.h>
1082fafc335SKrzysztof Kozlowski
1092fafc335SKrzysztof Kozlowski    interconnect-0 {
1102fafc335SKrzysztof Kozlowski        compatible = "qcom,sm8450-clk-virt";
1112fafc335SKrzysztof Kozlowski        #interconnect-cells = <2>;
1122fafc335SKrzysztof Kozlowski        qcom,bcm-voters = <&apps_bcm_voter>;
1132fafc335SKrzysztof Kozlowski    };
1142fafc335SKrzysztof Kozlowski
1152fafc335SKrzysztof Kozlowski    interconnect@1700000 {
1162fafc335SKrzysztof Kozlowski        compatible = "qcom,sm8450-aggre2-noc";
1172fafc335SKrzysztof Kozlowski        reg = <0x01700000 0x31080>;
1182fafc335SKrzysztof Kozlowski        #interconnect-cells = <2>;
1192fafc335SKrzysztof Kozlowski        qcom,bcm-voters = <&apps_bcm_voter>;
1202fafc335SKrzysztof Kozlowski        clocks = <&gcc GCC_AGGRE_NOC_PCIE_0_AXI_CLK>,
1212fafc335SKrzysztof Kozlowski                 <&gcc GCC_AGGRE_NOC_PCIE_1_AXI_CLK>,
1222fafc335SKrzysztof Kozlowski                 <&gcc GCC_AGGRE_UFS_PHY_AXI_CLK>,
1232fafc335SKrzysztof Kozlowski                 <&rpmhcc RPMH_IPA_CLK>;
1242fafc335SKrzysztof Kozlowski    };
125