xref: /freebsd/sys/contrib/device-tree/Bindings/interconnect/qcom,sar2130p-rpmh.yaml (revision 833e5d42ab135b0238e61c5b3c19b8619677cbfa)
15f62a964SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
25f62a964SEmmanuel Vadot%YAML 1.2
35f62a964SEmmanuel Vadot---
45f62a964SEmmanuel Vadot$id: http://devicetree.org/schemas/interconnect/qcom,sar2130p-rpmh.yaml#
55f62a964SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
65f62a964SEmmanuel Vadot
75f62a964SEmmanuel Vadottitle: Qualcomm RPMh Network-On-Chip Interconnect on SAR2130P
85f62a964SEmmanuel Vadot
95f62a964SEmmanuel Vadotmaintainers:
105f62a964SEmmanuel Vadot  - Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
115f62a964SEmmanuel Vadot  - Georgi Djakov <djakov@kernel.org>
125f62a964SEmmanuel Vadot
135f62a964SEmmanuel Vadotdescription: |
145f62a964SEmmanuel Vadot  RPMh interconnect providers support system bandwidth requirements through
155f62a964SEmmanuel Vadot  RPMh hardware accelerators known as Bus Clock Manager (BCM). The provider is
165f62a964SEmmanuel Vadot  able to communicate with the BCM through the Resource State Coordinator (RSC)
175f62a964SEmmanuel Vadot  associated with each execution environment. Provider nodes must point to at
185f62a964SEmmanuel Vadot  least one RPMh device child node pertaining to their RSC and each provider
195f62a964SEmmanuel Vadot  can map to multiple RPMh resources.
205f62a964SEmmanuel Vadot
21*833e5d42SEmmanuel Vadot  See also: include/dt-bindings/interconnect/qcom,sar2130p-rpmh.h
225f62a964SEmmanuel Vadot
235f62a964SEmmanuel Vadotproperties:
245f62a964SEmmanuel Vadot  compatible:
255f62a964SEmmanuel Vadot    enum:
265f62a964SEmmanuel Vadot      - qcom,sar2130p-clk-virt
275f62a964SEmmanuel Vadot      - qcom,sar2130p-config-noc
285f62a964SEmmanuel Vadot      - qcom,sar2130p-gem-noc
295f62a964SEmmanuel Vadot      - qcom,sar2130p-lpass-ag-noc
305f62a964SEmmanuel Vadot      - qcom,sar2130p-mc-virt
315f62a964SEmmanuel Vadot      - qcom,sar2130p-mmss-noc
325f62a964SEmmanuel Vadot      - qcom,sar2130p-nsp-noc
335f62a964SEmmanuel Vadot      - qcom,sar2130p-pcie-anoc
345f62a964SEmmanuel Vadot      - qcom,sar2130p-system-noc
355f62a964SEmmanuel Vadot
365f62a964SEmmanuel Vadot  reg:
375f62a964SEmmanuel Vadot    maxItems: 1
385f62a964SEmmanuel Vadot
395f62a964SEmmanuel Vadot  clocks:
405f62a964SEmmanuel Vadot    minItems: 1
415f62a964SEmmanuel Vadot    maxItems: 2
425f62a964SEmmanuel Vadot
435f62a964SEmmanuel Vadotrequired:
445f62a964SEmmanuel Vadot  - compatible
455f62a964SEmmanuel Vadot
465f62a964SEmmanuel VadotallOf:
475f62a964SEmmanuel Vadot  - $ref: qcom,rpmh-common.yaml#
485f62a964SEmmanuel Vadot  - if:
495f62a964SEmmanuel Vadot      properties:
505f62a964SEmmanuel Vadot        compatible:
515f62a964SEmmanuel Vadot          contains:
525f62a964SEmmanuel Vadot            enum:
535f62a964SEmmanuel Vadot              - qcom,sar2130p-clk-virt
545f62a964SEmmanuel Vadot              - qcom,sar2130p-mc-virt
555f62a964SEmmanuel Vadot    then:
565f62a964SEmmanuel Vadot      properties:
575f62a964SEmmanuel Vadot        reg: false
585f62a964SEmmanuel Vadot    else:
595f62a964SEmmanuel Vadot      required:
605f62a964SEmmanuel Vadot        - reg
615f62a964SEmmanuel Vadot
625f62a964SEmmanuel Vadot  - if:
635f62a964SEmmanuel Vadot      properties:
645f62a964SEmmanuel Vadot        compatible:
655f62a964SEmmanuel Vadot          contains:
665f62a964SEmmanuel Vadot            enum:
675f62a964SEmmanuel Vadot              - qcom,sar2130p-pcie-anoc
685f62a964SEmmanuel Vadot    then:
695f62a964SEmmanuel Vadot      properties:
705f62a964SEmmanuel Vadot        clocks:
715f62a964SEmmanuel Vadot          items:
725f62a964SEmmanuel Vadot            - description: aggre-NOC PCIe AXI clock
735f62a964SEmmanuel Vadot            - description: cfg-NOC PCIe a-NOC AHB clock
745f62a964SEmmanuel Vadot
755f62a964SEmmanuel Vadot  - if:
765f62a964SEmmanuel Vadot      properties:
775f62a964SEmmanuel Vadot        compatible:
785f62a964SEmmanuel Vadot          contains:
795f62a964SEmmanuel Vadot            enum:
805f62a964SEmmanuel Vadot              - qcom,sar2130p-system-noc
815f62a964SEmmanuel Vadot    then:
825f62a964SEmmanuel Vadot      properties:
835f62a964SEmmanuel Vadot        clocks:
845f62a964SEmmanuel Vadot          items:
855f62a964SEmmanuel Vadot            - description: aggre USB3 PRIM AXI clock
865f62a964SEmmanuel Vadot
875f62a964SEmmanuel Vadot  - if:
885f62a964SEmmanuel Vadot      properties:
895f62a964SEmmanuel Vadot        compatible:
905f62a964SEmmanuel Vadot          contains:
915f62a964SEmmanuel Vadot            enum:
925f62a964SEmmanuel Vadot              - qcom,sar2130p-system-noc
935f62a964SEmmanuel Vadot              - qcom,sar2130p-pcie-anoc
945f62a964SEmmanuel Vadot    then:
955f62a964SEmmanuel Vadot      required:
965f62a964SEmmanuel Vadot        - clocks
975f62a964SEmmanuel Vadot    else:
985f62a964SEmmanuel Vadot      properties:
995f62a964SEmmanuel Vadot        clocks: false
1005f62a964SEmmanuel Vadot
1015f62a964SEmmanuel VadotunevaluatedProperties: false
1025f62a964SEmmanuel Vadot
1035f62a964SEmmanuel Vadotexamples:
1045f62a964SEmmanuel Vadot  - |
1055f62a964SEmmanuel Vadot    clk_virt: interconnect-0 {
1065f62a964SEmmanuel Vadot      compatible = "qcom,sar2130p-clk-virt";
1075f62a964SEmmanuel Vadot      #interconnect-cells = <2>;
1085f62a964SEmmanuel Vadot      qcom,bcm-voters = <&apps_bcm_voter>;
1095f62a964SEmmanuel Vadot    };
1105f62a964SEmmanuel Vadot
1115f62a964SEmmanuel Vadot    aggre1_noc: interconnect@1680000 {
1125f62a964SEmmanuel Vadot      compatible = "qcom,sar2130p-system-noc";
1135f62a964SEmmanuel Vadot      reg = <0x01680000 0x29080>;
1145f62a964SEmmanuel Vadot      #interconnect-cells = <2>;
1155f62a964SEmmanuel Vadot      clocks = <&gcc_prim_axi_clk>;
1165f62a964SEmmanuel Vadot      qcom,bcm-voters = <&apps_bcm_voter>;
1175f62a964SEmmanuel Vadot    };
118