xref: /freebsd/sys/contrib/device-tree/Bindings/interconnect/qcom,rpmh.yaml (revision 5def4c47d4bd90b209b9b4a4ba9faec15846d8fd)
16be33864SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
26be33864SEmmanuel Vadot%YAML 1.2
36be33864SEmmanuel Vadot---
46be33864SEmmanuel Vadot$id: http://devicetree.org/schemas/interconnect/qcom,rpmh.yaml#
56be33864SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
66be33864SEmmanuel Vadot
76be33864SEmmanuel Vadottitle: Qualcomm RPMh Network-On-Chip Interconnect
86be33864SEmmanuel Vadot
96be33864SEmmanuel Vadotmaintainers:
106be33864SEmmanuel Vadot  - Georgi Djakov <georgi.djakov@linaro.org>
116be33864SEmmanuel Vadot  - Odelu Kukatla <okukatla@codeaurora.org>
126be33864SEmmanuel Vadot
136be33864SEmmanuel Vadotdescription: |
146be33864SEmmanuel Vadot   RPMh interconnect providers support system bandwidth requirements through
156be33864SEmmanuel Vadot   RPMh hardware accelerators known as Bus Clock Manager (BCM). The provider is
166be33864SEmmanuel Vadot   able to communicate with the BCM through the Resource State Coordinator (RSC)
176be33864SEmmanuel Vadot   associated with each execution environment. Provider nodes must point to at
186be33864SEmmanuel Vadot   least one RPMh device child node pertaining to their RSC and each provider
196be33864SEmmanuel Vadot   can map to multiple RPMh resources.
206be33864SEmmanuel Vadot
216be33864SEmmanuel Vadotproperties:
226be33864SEmmanuel Vadot  reg:
236be33864SEmmanuel Vadot    maxItems: 1
246be33864SEmmanuel Vadot
256be33864SEmmanuel Vadot  compatible:
266be33864SEmmanuel Vadot    enum:
276be33864SEmmanuel Vadot      - qcom,sc7180-aggre1-noc
286be33864SEmmanuel Vadot      - qcom,sc7180-aggre2-noc
296be33864SEmmanuel Vadot      - qcom,sc7180-camnoc-virt
306be33864SEmmanuel Vadot      - qcom,sc7180-compute-noc
316be33864SEmmanuel Vadot      - qcom,sc7180-config-noc
326be33864SEmmanuel Vadot      - qcom,sc7180-dc-noc
336be33864SEmmanuel Vadot      - qcom,sc7180-gem-noc
346be33864SEmmanuel Vadot      - qcom,sc7180-ipa-virt
356be33864SEmmanuel Vadot      - qcom,sc7180-mc-virt
366be33864SEmmanuel Vadot      - qcom,sc7180-mmss-noc
376be33864SEmmanuel Vadot      - qcom,sc7180-npu-noc
386be33864SEmmanuel Vadot      - qcom,sc7180-qup-virt
396be33864SEmmanuel Vadot      - qcom,sc7180-system-noc
406be33864SEmmanuel Vadot      - qcom,sdm845-aggre1-noc
416be33864SEmmanuel Vadot      - qcom,sdm845-aggre2-noc
426be33864SEmmanuel Vadot      - qcom,sdm845-config-noc
436be33864SEmmanuel Vadot      - qcom,sdm845-dc-noc
446be33864SEmmanuel Vadot      - qcom,sdm845-gladiator-noc
456be33864SEmmanuel Vadot      - qcom,sdm845-mem-noc
466be33864SEmmanuel Vadot      - qcom,sdm845-mmss-noc
476be33864SEmmanuel Vadot      - qcom,sdm845-system-noc
48*5def4c47SEmmanuel Vadot      - qcom,sdx55-ipa-virt
49*5def4c47SEmmanuel Vadot      - qcom,sdx55-mc-virt
50*5def4c47SEmmanuel Vadot      - qcom,sdx55-mem-noc
51*5def4c47SEmmanuel Vadot      - qcom,sdx55-system-noc
526be33864SEmmanuel Vadot      - qcom,sm8150-aggre1-noc
536be33864SEmmanuel Vadot      - qcom,sm8150-aggre2-noc
546be33864SEmmanuel Vadot      - qcom,sm8150-camnoc-noc
556be33864SEmmanuel Vadot      - qcom,sm8150-compute-noc
566be33864SEmmanuel Vadot      - qcom,sm8150-config-noc
576be33864SEmmanuel Vadot      - qcom,sm8150-dc-noc
586be33864SEmmanuel Vadot      - qcom,sm8150-gem-noc
596be33864SEmmanuel Vadot      - qcom,sm8150-ipa-virt
606be33864SEmmanuel Vadot      - qcom,sm8150-mc-virt
616be33864SEmmanuel Vadot      - qcom,sm8150-mmss-noc
626be33864SEmmanuel Vadot      - qcom,sm8150-system-noc
636be33864SEmmanuel Vadot      - qcom,sm8250-aggre1-noc
646be33864SEmmanuel Vadot      - qcom,sm8250-aggre2-noc
656be33864SEmmanuel Vadot      - qcom,sm8250-compute-noc
666be33864SEmmanuel Vadot      - qcom,sm8250-config-noc
676be33864SEmmanuel Vadot      - qcom,sm8250-dc-noc
686be33864SEmmanuel Vadot      - qcom,sm8250-gem-noc
696be33864SEmmanuel Vadot      - qcom,sm8250-ipa-virt
706be33864SEmmanuel Vadot      - qcom,sm8250-mc-virt
716be33864SEmmanuel Vadot      - qcom,sm8250-mmss-noc
726be33864SEmmanuel Vadot      - qcom,sm8250-npu-noc
736be33864SEmmanuel Vadot      - qcom,sm8250-system-noc
746be33864SEmmanuel Vadot
756be33864SEmmanuel Vadot  '#interconnect-cells':
76*5def4c47SEmmanuel Vadot    enum: [ 1, 2 ]
776be33864SEmmanuel Vadot
786be33864SEmmanuel Vadot  qcom,bcm-voters:
796be33864SEmmanuel Vadot    $ref: /schemas/types.yaml#/definitions/phandle-array
806be33864SEmmanuel Vadot    description: |
816be33864SEmmanuel Vadot      List of phandles to qcom,bcm-voter nodes that are required by
826be33864SEmmanuel Vadot      this interconnect to send RPMh commands.
836be33864SEmmanuel Vadot
846be33864SEmmanuel Vadot  qcom,bcm-voter-names:
856be33864SEmmanuel Vadot    $ref: /schemas/types.yaml#/definitions/string-array
866be33864SEmmanuel Vadot    description: |
876be33864SEmmanuel Vadot      Names for each of the qcom,bcm-voters specified.
886be33864SEmmanuel Vadot
896be33864SEmmanuel Vadotrequired:
906be33864SEmmanuel Vadot  - compatible
916be33864SEmmanuel Vadot  - reg
926be33864SEmmanuel Vadot  - '#interconnect-cells'
936be33864SEmmanuel Vadot  - qcom,bcm-voters
946be33864SEmmanuel Vadot
956be33864SEmmanuel VadotadditionalProperties: false
966be33864SEmmanuel Vadot
976be33864SEmmanuel Vadotexamples:
986be33864SEmmanuel Vadot  - |
996be33864SEmmanuel Vadot      #include <dt-bindings/interconnect/qcom,sdm845.h>
1006be33864SEmmanuel Vadot
1016be33864SEmmanuel Vadot      mem_noc: interconnect@1380000 {
1026be33864SEmmanuel Vadot             compatible = "qcom,sdm845-mem-noc";
1036be33864SEmmanuel Vadot             reg = <0x01380000 0x27200>;
1046be33864SEmmanuel Vadot             #interconnect-cells = <1>;
1056be33864SEmmanuel Vadot             qcom,bcm-voters = <&apps_bcm_voter>;
1066be33864SEmmanuel Vadot      };
1076be33864SEmmanuel Vadot
1086be33864SEmmanuel Vadot      mmss_noc: interconnect@1740000 {
1096be33864SEmmanuel Vadot             compatible = "qcom,sdm845-mmss-noc";
1106be33864SEmmanuel Vadot             reg = <0x01740000 0x1c1000>;
1116be33864SEmmanuel Vadot             #interconnect-cells = <1>;
1126be33864SEmmanuel Vadot             qcom,bcm-voter-names = "apps", "disp";
1136be33864SEmmanuel Vadot             qcom,bcm-voters = <&apps_bcm_voter>, <&disp_bcm_voter>;
1146be33864SEmmanuel Vadot      };
115