| 1 |
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) |
| 2 |
%YAML 1.2 |
| 3 |
--- |
| 4 |
$id: http://devicetree.org/schemas/interconnect/qcom,sm6350-rpmh.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 |
|
| 7 |
title: Qualcomm SM6350 RPMh Network-On-Chip Interconnect |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- Luca Weiss <[email protected]> |
| 11 |
|
| 12 |
description: |
| 13 |
Qualcomm RPMh-based interconnect provider on SM6350. |
| 14 |
|
| 15 |
properties: |
| 16 |
compatible: |
| 17 |
enum: |
| 18 |
- qcom,sm6350-aggre1-noc |
| 19 |
- qcom,sm6350-aggre2-noc |
| 20 |
- qcom,sm6350-config-noc |
| 21 |
- qcom,sm6350-dc-noc |
| 22 |
- qcom,sm6350-gem-noc |
| 23 |
- qcom,sm6350-mmss-noc |
| 24 |
- qcom,sm6350-npu-noc |
| 25 |
- qcom,sm6350-system-noc |
| 26 |
|
| 27 |
reg: |
| 28 |
maxItems: 1 |
| 29 |
|
| 30 |
clocks: |
| 31 |
minItems: 1 |
| 32 |
maxItems: 2 |
| 33 |
|
| 34 |
patternProperties: |
| 35 |
'^interconnect-[a-z0-9\-]+$': |
| 36 |
type: object |
| 37 |
description: |
| 38 |
The interconnect providers do not have a separate QoS register space, |
| 39 |
but share parent's space. |
| 40 |
$ref: qcom,rpmh-common.yaml# |
| 41 |
|
| 42 |
properties: |
| 43 |
compatible: |
| 44 |
enum: |
| 45 |
- qcom,sm6350-clk-virt |
| 46 |
- qcom,sm6350-compute-noc |
| 47 |
|
| 48 |
required: |
| 49 |
- compatible |
| 50 |
|
| 51 |
unevaluatedProperties: false |
| 52 |
|
| 53 |
required: |
| 54 |
- compatible |
| 55 |
- reg |
| 56 |
|
| 57 |
allOf: |
| 58 |
- $ref: qcom,rpmh-common.yaml# |
| 59 |
- if: |
| 60 |
properties: |
| 61 |
compatible: |
| 62 |
contains: |
| 63 |
enum: |
| 64 |
- qcom,sm6350-aggre1-noc |
| 65 |
then: |
| 66 |
properties: |
| 67 |
clocks: |
| 68 |
items: |
| 69 |
- description: aggre UFS PHY AXI clock |
| 70 |
|
| 71 |
- if: |
| 72 |
properties: |
| 73 |
compatible: |
| 74 |
contains: |
| 75 |
enum: |
| 76 |
- qcom,sm6350-aggre2-noc |
| 77 |
then: |
| 78 |
properties: |
| 79 |
clocks: |
| 80 |
items: |
| 81 |
- description: aggre USB3 PRIM AXI clock |
| 82 |
- description: RPMH CC IPA clock |
| 83 |
|
| 84 |
- if: |
| 85 |
properties: |
| 86 |
compatible: |
| 87 |
contains: |
| 88 |
enum: |
| 89 |
- qcom,sm6350-aggre1-noc |
| 90 |
- qcom,sm6350-aggre2-noc |
| 91 |
then: |
| 92 |
required: |
| 93 |
- clocks |
| 94 |
else: |
| 95 |
properties: |
| 96 |
clocks: false |
| 97 |
|
| 98 |
unevaluatedProperties: false |
| 99 |
|
| 100 |
examples: |
| 101 |
- | |
| 102 |
#include <dt-bindings/clock/qcom,gcc-sm6350.h> |
| 103 |
#include <dt-bindings/clock/qcom,rpmh.h> |
| 104 |
|
| 105 |
config_noc: interconnect@1500000 { |
| 106 |
compatible = "qcom,sm6350-config-noc"; |
| 107 |
reg = <0x01500000 0x28000>; |
| 108 |
#interconnect-cells = <2>; |
| 109 |
qcom,bcm-voters = <&apps_bcm_voter>; |
| 110 |
}; |
| 111 |
|
| 112 |
aggre2_noc: interconnect@1700000 { |
| 113 |
compatible = "qcom,sm6350-aggre2-noc"; |
| 114 |
reg = <0x01700000 0x1f880>; |
| 115 |
#interconnect-cells = <2>; |
| 116 |
qcom,bcm-voters = <&apps_bcm_voter>; |
| 117 |
clocks = <&gcc GCC_AGGRE_USB3_PRIM_AXI_CLK>, |
| 118 |
<&rpmhcc RPMH_IPA_CLK>; |
| 119 |
|
| 120 |
compute_noc: interconnect-compute-noc { |
| 121 |
compatible = "qcom,sm6350-compute-noc"; |
| 122 |
#interconnect-cells = <2>; |
| 123 |
qcom,bcm-voters = <&apps_bcm_voter>; |
| 124 |
}; |
| 125 |
}; |