brintos

brintos / linux-shallow public Read only

0
0
Text · 2.1 KiB · 71cf7e2 Raw
93 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/interconnect/qcom,sdx75-rpmh.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Qualcomm RPMh Network-On-Chip Interconnect on SDX758 9maintainers:10  - Rohit Agarwal <quic_rohiagar@quicinc.com>11 12description:13  RPMh interconnect providers support system bandwidth requirements through14  RPMh hardware accelerators known as Bus Clock Manager (BCM). The provider is15  able to communicate with the BCM through the Resource State Coordinator (RSC)16  associated with each execution environment. Provider nodes must point to at17  least one RPMh device child node pertaining to their RSC and each provider18  can map to multiple RPMh resources.19 20properties:21  compatible:22    enum:23      - qcom,sdx75-clk-virt24      - qcom,sdx75-dc-noc25      - qcom,sdx75-gem-noc26      - qcom,sdx75-mc-virt27      - qcom,sdx75-pcie-anoc28      - qcom,sdx75-system-noc29 30  '#interconnect-cells': true31 32  reg:33    maxItems: 134 35  clocks:36    maxItems: 137 38required:39  - compatible40 41allOf:42  - $ref: qcom,rpmh-common.yaml#43  - if:44      properties:45        compatible:46          contains:47            enum:48              - qcom,sdx75-clk-virt49              - qcom,sdx75-mc-virt50    then:51      properties:52        reg: false53    else:54      required:55        - reg56 57  - if:58      properties:59        compatible:60          contains:61            enum:62              - qcom,sdx75-clk-virt63    then:64      properties:65        clocks:66          items:67            - description: RPMH CC QPIC Clock68      required:69        - clocks70    else:71      properties:72        clocks: false73 74unevaluatedProperties: false75 76examples:77  - |78    #include <dt-bindings/clock/qcom,rpmh.h>79 80    clk_virt: interconnect-0 {81            compatible = "qcom,sdx75-clk-virt";82            #interconnect-cells = <2>;83            qcom,bcm-voters = <&apps_bcm_voter>;84            clocks = <&rpmhcc RPMH_QPIC_CLK>;85    };86 87    system_noc: interconnect@1640000 {88            compatible = "qcom,sdx75-system-noc";89            reg = <0x1640000 0x4b400>;90            #interconnect-cells = <2>;91            qcom,bcm-voters = <&apps_bcm_voter>;92    };93