Peios Learn
Documentation

Peios

Peios Peios Kernel Universal Directory Project

Developer Tools

Trail Acta Provium clackatoo CAF GCSL Pekit

Applications

Framewright

Standards and Conventions

Standards and Conventions Peios Specifications
Peios Kernel

Interconnect bindings

Single-page view · as markdown

Generic i.MX bus frequency device

Peios Kernel / Hardware and drivers / Device-tree binding reference / Interconnect bindings

Schema identifier ($id): "http://devicetree.org/schemas/interconnect/fsl,imx8m-noc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Peng Fan <peng.fan@nxp.com>"

The i.MX SoC family has multiple buses for which clock frequency (and sometimes voltage) can be adjusted.

Some of those buses expose register areas mentioned in the memory maps as GPV ("Global Programmers View") but not all. Access to this area might be denied for normal (non-secure) world.

The buses are based on externally licensed IPs such as ARM NIC-301 and Arteris FlexNOC but DT bindings are specific to the integration of these bus interconnect IPs into imx SOCs.

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

Allowed values (enum): "fsl,imx8mm-nic", "fsl,imx8mn-nic", "fsl,imx8mp-nic", "fsl,imx8mq-nic"

Item 2

Exact value (const): "fsl,imx8m-nic"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "fsl,imx8mm-noc", "fsl,imx8mn-noc", "fsl,imx8mp-noc", "fsl,imx8mq-noc"

Item 2

Exact value (const): "fsl,imx8m-noc"

Rule 3

Exact value (const): "fsl,imx8m-nic"

reg — not listed as required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

operating-points-v2 — not listed as required here #

true — No constraints added by this property rule.

opp-table — not listed as required here #

Value type (type): "object"

fsl,ddrc — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

Phandle to DDR Controller.

#interconnect-cells — not listed as required here #

If specified then also act as an interconnect provider. Should only be set once per soc on the main noc.

Exact value (const): 1

Required in this object (required): "compatible", "clocks"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/imx8mm-clock.h>
#include <dt-bindings/interconnect/imx8mm.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>

noc: interconnect@32700000 {
    compatible = "fsl,imx8mm-noc", "fsl,imx8m-noc";
    reg = <0x32700000 0x100000>;
    clocks = <&clk IMX8MM_CLK_NOC>;
    #interconnect-cells = <1>;
    fsl,ddrc = <&ddrc>;

    operating-points-v2 = <&noc_opp_table>;
    noc_opp_table: opp-table {
        compatible = "operating-points-v2";

        opp-133333333 {
            opp-hz = /bits/ 64 <133333333>;
        };
        opp-800000000 {
            opp-hz = /bits/ 64 <800000000>;
        };
    };
};

ddrc: memory-controller@3d400000 {
    compatible = "fsl,imx8mm-ddrc", "fsl,imx8m-ddrc";
    reg = <0x3d400000 0x400000>;
    clock-names = "core", "pll", "alt", "apb";
    clocks = <&clk IMX8MM_CLK_DRAM_CORE>,
             <&clk IMX8MM_DRAM_PLL>,
             <&clk IMX8MM_CLK_DRAM_ALT>,
             <&clk IMX8MM_CLK_DRAM_APB>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

MediaTek Cache Coherent Interconnect (CCI) frequency and voltage scaling

Peios Kernel / Hardware and drivers / Device-tree binding reference / Interconnect bindings

Schema identifier ($id): "http://devicetree.org/schemas/interconnect/mediatek,cci.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Jia-Wei Chang <jia-wei.chang@mediatek.com>", "Johnson Wang <johnson.wang@mediatek.com>"

MediaTek Cache Coherent Interconnect (CCI) is a hardware engine used by MT8183 and MT8186 SoCs to scale the frequency and adjust the voltage in hardware. It can also optimize the voltage to reduce the power consumption.

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "mediatek,mt8183-cci", "mediatek,mt8186-cci"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "mediatek,mt7988-cci"

Item 2

Exact value (const): "mediatek,mt8183-cci"

clocks — required here #

Array item rules (items) #

Item 1

The multiplexer for clock input of the bus.

Item 2

A parent of "bus" clock which is used as an intermediate clock source when the original clock source (PLL) is under transition and not stable yet.

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "cci"

Item 2

Exact value (const): "intermediate"

operating-points-v2 — required here #

true — No constraints added by this property rule.

opp-table — not listed as required here #

Value type (type): "object"

proc-supply — required here #

Phandle of the regulator for CCI that provides the supply voltage.

sram-supply — not listed as required here #

Phandle of the regulator for sram of CCI that provides the supply voltage. When it is present, the implementation needs to do "voltage tracking" to step by step scale up/down Vproc and Vsram to fit SoC specific needs. When absent, the voltage scaling flow is handled by hardware, hence no software "voltage tracking" is needed.

Required in this object (required): "compatible", "clocks", "clock-names", "operating-points-v2", "proc-supply"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/mt8183-clk.h>
cci: cci {
    compatible = "mediatek,mt8183-cci";
    clocks = <&mcucfg CLK_MCU_BUS_SEL>,
             <&topckgen CLK_TOP_ARMPLL_DIV_PLL1>;
    clock-names = "cci", "intermediate";
    operating-points-v2 = <&cci_opp>;
    proc-supply = <&mt6358_vproc12_reg>;
};

cci_opp: opp-table-cci {
    compatible = "operating-points-v2";
    opp-shared;
    opp2_00: opp-273000000 {
        opp-hz = /bits/ 64 <273000000>;
        opp-microvolt = <650000>;
    };
    opp2_01: opp-338000000 {
        opp-hz = /bits/ 64 <338000000>;
        opp-microvolt = <687500>;
    };
    opp2_02: opp-403000000 {
        opp-hz = /bits/ 64 <403000000>;
        opp-microvolt = <718750>;
    };
    opp2_03: opp-463000000 {
        opp-hz = /bits/ 64 <463000000>;
        opp-microvolt = <756250>;
    };
    opp2_04: opp-546000000 {
        opp-hz = /bits/ 64 <546000000>;
        opp-microvolt = <800000>;
    };
    opp2_05: opp-624000000 {
        opp-hz = /bits/ 64 <624000000>;
        opp-microvolt = <818750>;
    };
    opp2_06: opp-689000000 {
        opp-hz = /bits/ 64 <689000000>;
        opp-microvolt = <850000>;
    };
    opp2_07: opp-767000000 {
        opp-hz = /bits/ 64 <767000000>;
        opp-microvolt = <868750>;
    };
    opp2_08: opp-845000000 {
        opp-hz = /bits/ 64 <845000000>;
        opp-microvolt = <893750>;
    };
    opp2_09: opp-871000000 {
        opp-hz = /bits/ 64 <871000000>;
        opp-microvolt = <906250>;
    };
    opp2_10: opp-923000000 {
        opp-hz = /bits/ 64 <923000000>;
        opp-microvolt = <931250>;
    };
    opp2_11: opp-962000000 {
        opp-hz = /bits/ 64 <962000000>;
        opp-microvolt = <943750>;
    };
    opp2_12: opp-1027000000 {
        opp-hz = /bits/ 64 <1027000000>;
        opp-microvolt = <975000>;
    };
    opp2_13: opp-1092000000 {
        opp-hz = /bits/ 64 <1092000000>;
        opp-microvolt = <1000000>;
    };
    opp2_14: opp-1144000000 {
        opp-hz = /bits/ 64 <1144000000>;
        opp-microvolt = <1025000>;
    };
    opp2_15: opp-1196000000 {
        opp-hz = /bits/ 64 <1196000000>;
        opp-microvolt = <1050000>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

MediaTek External Memory Interface (EMI) Interconnect

Peios Kernel / Hardware and drivers / Device-tree binding reference / Interconnect bindings

Schema identifier ($id): "http://devicetree.org/schemas/interconnect/mediatek,mt8183-emi.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>"

EMI interconnect providers support system bandwidth requirements through Dynamic Voltage Frequency Scaling Resource Collector (DVFSRC) hardware. The provider is able to communicate with the DVFSRC through Secure Monitor Call (SMC).

           ICC provider         ICC Nodes
                            ----          ----
           _________       |CPU |   |--- |VPU |
  _____   |         |-----  ----    |     ----
 |     |->|  DRAM   |       ----    |     ----
 |DRAM |->|scheduler|----- |GPU |   |--- |DISP|
 |     |->|  (EMI)  |       ----    |     ----
 |_____|->|_________|---.   -----   |     ----
             /|\         `-|MMSYS|--|--- |VDEC|
              |             -----   |     ----
              |                     |     ----
              | change DRAM freq    |--- |VENC|
           --------                 |     ----
  SMC --> | DVFSRC |                |     ----
           --------                 |--- |IMG |
                                    |     ----
                                    |     ----
                                    |--- |CAM |
                                          ----

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "mediatek,mt8183-emi", "mediatek,mt8195-emi", "mediatek,mt8196-emi"

#interconnect-cells — required here #

Exact value (const): 1

Required in this object (required): "compatible", "#interconnect-cells"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Qualcomm BCM-Voter Interconnect

Peios Kernel / Hardware and drivers / Device-tree binding reference / Interconnect bindings

Schema identifier ($id): "http://devicetree.org/schemas/interconnect/qcom,bcm-voter.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Georgi Djakov <georgi.djakov@linaro.org>"

The Bus Clock Manager (BCM) is a dedicated hardware accelerator that manages shared system resources by aggregating requests from multiple Resource State Coordinators (RSC). Interconnect providers are able to vote for aggregated thresholds values from consumers by communicating through their respective RSCs.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "qcom,bcm-voter"

qcom,tcs-wait — not listed as required here #

Optional mask of which TCSs (Triggered Command Sets) wait for completion upon triggering. If not specified, then the AMC and WAKE sets wait for completion. The mask bits are available in the QCOM_ICC_TAG_* defines.

The AMC TCS is triggered immediately when icc_set_bw() is called. The WAKE/SLEEP TCSs are triggered when the RSC transitions between active and sleep modes.

In most cases, it's necessary to wait in both the AMC and WAKE sets to ensure resources are available before use. If a specific RSC and its use cases can ensure sufficient delay by other means, then this can be overridden to reduce latencies.

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Required in this object (required): "compatible"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #


apps_bcm_voter: bcm-voter {
    compatible = "qcom,bcm-voter";
};

#include <dt-bindings/interconnect/qcom,icc.h>

disp_bcm_voter: bcm-voter {
    compatible = "qcom,bcm-voter";
    qcom,tcs-wait = <QCOM_ICC_TAG_AMC>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

Line 47: Example 1: apps bcm_voter on SDM845 SoC should be defined inside &apps_rsc node

Line 48: as defined in Documentation/devicetree/bindings/soc/qcom/qcom,rpmh-rsc.yaml

Line 55: Example 2: disp bcm_voter on SDM845 should be defined inside &disp_rsc node

Line 56: as defined in Documentation/devicetree/bindings/soc/qcom/qcom,rpmh-rsc.yaml

Qualcomm RPMh Network-On-Chip Interconnect on GLYMUR

Peios Kernel / Hardware and drivers / Device-tree binding reference / Interconnect bindings

Schema identifier ($id): "http://devicetree.org/schemas/interconnect/qcom,glymur-rpmh.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Raviteja Laggyshetty <raviteja.laggyshetty@oss.qualcomm.com>"

RPMh interconnect providers support system bandwidth requirements through RPMh hardware accelerators known as Bus Clock Manager (BCM). The provider is able to communicate with the BCM through the Resource State Coordinator (RSC) associated with each execution environment. Provider nodes must point to at least one RPMh device child node pertaining to their RSC and each provider can map to multiple RPMh resources.

See also: include/dt-bindings/interconnect/qcom,glymur-rpmh.h

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "qcom,glymur-aggre1-noc", "qcom,glymur-aggre2-noc", "qcom,glymur-aggre3-noc", "qcom,glymur-aggre4-noc", "qcom,glymur-clk-virt", "qcom,glymur-cnoc-cfg", "qcom,glymur-cnoc-main", "qcom,glymur-hscnoc", "qcom,glymur-lpass-ag-noc", "qcom,glymur-lpass-lpiaon-noc", "qcom,glymur-lpass-lpicx-noc", "qcom,glymur-mc-virt", "qcom,glymur-mmss-noc", "qcom,glymur-nsinoc", "qcom,glymur-nsp-noc", "qcom,glymur-oobm-ss-noc", "qcom,glymur-pcie-east-anoc", "qcom,glymur-pcie-east-slv-noc", "qcom,glymur-pcie-west-anoc", "qcom,glymur-pcie-west-slv-noc", "qcom,glymur-system-noc"

reg — not listed as required here #

Maximum number of items (maxItems): 1

clocks — not listed as required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 4

Required in this object (required): "compatible"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,rpmh-common.yaml#

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,glymur-clk-virt", "qcom,glymur-mc-virt"

When the condition matches (then) #

Properties and child nodes (properties)

reg — not listed as required here

false — Not permitted by this property rule.

When the condition does not match (else) #

Required in this object (required): "reg"

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,glymur-pcie-west-anoc"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

aggre PCIE_3A WEST AXI clock

Item 2

aggre PCIE_3B WEST AXI clock

Item 3

aggre PCIE_4 WEST AXI clock

Item 4

aggre PCIE_6 WEST AXI clock

Rule 4 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,glymur-pcie-east-anoc"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

aggre PCIE_5 EAST AXI clock

Rule 5 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,glymur-aggre2-noc"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

aggre USB3 TERT AXI clock

Item 2

aggre USB4_2 AXI clock

Item 3

aggre UFS PHY AXI clock

Rule 6 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,glymur-aggre4-noc"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

aggre USB3 PRIM AXI clock

Item 2

aggre USB3 SEC AXI clock

Item 3

aggre USB4_0 AXI clock

Item 4

aggre USB4_1 AXI clock

Rule 7 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,glymur-pcie-west-anoc", "qcom,glymur-pcie-east-anoc", "qcom,glymur-aggre2-noc", "qcom,glymur-aggre4-noc"

When the condition matches (then) #

Required in this object (required): "clocks"

When the condition does not match (else) #

Properties and child nodes (properties)

clocks — not listed as required here

false — Not permitted by this property rule.

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,glymur-gcc.h>
clk_virt: interconnect-0 {
  compatible = "qcom,glymur-clk-virt";
  #interconnect-cells = <2>;
  qcom,bcm-voters = <&apps_bcm_voter>;
};

aggre1_noc: interconnect@16e0000 {
  compatible = "qcom,glymur-aggre1-noc";
  reg = <0x016e0000 0x14400>;
  #interconnect-cells = <2>;
  qcom,bcm-voters = <&apps_bcm_voter>;
};

aggre4_noc: interconnect@1740000 {
  compatible = "qcom,glymur-aggre4-noc";
  reg = <0x01740000 0x14400>;
  #interconnect-cells = <2>;
  qcom,bcm-voters = <&apps_bcm_voter>;
  clocks = <&gcc GCC_AGGRE_USB3_PRIM_AXI_CLK>,
           <&gcc GCC_AGGRE_USB3_SEC_AXI_CLK>,
           <&gcc GCC_AGGRE_USB4_0_AXI_CLK>,
           <&gcc GCC_AGGRE_USB4_1_AXI_CLK>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

Qualcomm RPMh Network-On-Chip Interconnect on Kaanapali

Peios Kernel / Hardware and drivers / Device-tree binding reference / Interconnect bindings

Schema identifier ($id): "http://devicetree.org/schemas/interconnect/qcom,kaanapali-rpmh.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Raviteja Laggyshetty <raviteja.laggyshetty@oss.qualcomm.com>"

RPMh interconnect providers support system bandwidth requirements through RPMh hardware accelerators known as Bus Clock Manager (BCM). The provider is able to communicate with the BCM through the Resource State Coordinator (RSC) associated with each execution environment. Provider nodes must point to at least one RPMh device child node pertaining to their RSC and each provider can map to multiple RPMh resources.

See also: include/dt-bindings/interconnect/qcom,kaanapali-rpmh.h

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "qcom,kaanapali-aggre-noc", "qcom,kaanapali-clk-virt", "qcom,kaanapali-cnoc-main", "qcom,kaanapali-cnoc-cfg", "qcom,kaanapali-gem-noc", "qcom,kaanapali-lpass-ag-noc", "qcom,kaanapali-lpass-lpiaon-noc", "qcom,kaanapali-lpass-lpicx-noc", "qcom,kaanapali-mc-virt", "qcom,kaanapali-mmss-noc", "qcom,kaanapali-nsp-noc", "qcom,kaanapali-pcie-anoc", "qcom,kaanapali-system-noc"

reg — not listed as required here #

Maximum number of items (maxItems): 1

clocks — not listed as required here #

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 3

Required in this object (required): "compatible"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,rpmh-common.yaml#

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,kaanapali-clk-virt", "qcom,kaanapali-mc-virt"

When the condition matches (then) #

Properties and child nodes (properties)

reg — not listed as required here

false — Not permitted by this property rule.

When the condition does not match (else) #

Required in this object (required): "reg"

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,kaanapali-pcie-anoc"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

aggre-NOC PCIe AXI clock

Item 2

cfg-NOC PCIe a-NOC AHB clock

Rule 4 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,kaanapali-aggre-noc"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

aggre UFS PHY AXI clock

Item 2

aggre USB3 PRIM AXI clock

Item 3

RPMH CC IPA clock

Rule 5 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,kaanapali-aggre-noc", "qcom,kaanapali-pcie-anoc"

When the condition matches (then) #

Required in this object (required): "clocks"

When the condition does not match (else) #

Properties and child nodes (properties)

clocks — not listed as required here

false — Not permitted by this property rule.

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

clk_virt: interconnect-0 {
  compatible = "qcom,kaanapali-clk-virt";
  #interconnect-cells = <2>;
  qcom,bcm-voters = <&apps_bcm_voter>;
};

aggre_noc: interconnect@16e0000 {
  compatible = "qcom,kaanapali-aggre-noc";
  reg = <0x016e0000 0x42400>;
  #interconnect-cells = <2>;
  clocks = <&gcc_aggre_ufs_phy_axi_clk>,
           <&gcc_aggre_usb3_prim_axi_clk>,
           <&rpmhcc_ipa_clk>;
  qcom,bcm-voters = <&apps_bcm_voter>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

Qualcomm RPMh Network-On-Chip Interconnect on Milos SoC

Peios Kernel / Hardware and drivers / Device-tree binding reference / Interconnect bindings

Schema identifier ($id): "http://devicetree.org/schemas/interconnect/qcom,milos-rpmh.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Luca Weiss <luca.weiss@fairphone.com>"

RPMh interconnect providers support system bandwidth requirements through RPMh hardware accelerators known as Bus Clock Manager (BCM). The provider is able to communicate with the BCM through the Resource State Coordinator (RSC) associated with each execution environment. Provider nodes must point to at least one RPMh device child node pertaining to their RSC and each provider can map to multiple RPMh resources.

See also: include/dt-bindings/interconnect/qcom,milos-rpmh.h

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "qcom,milos-aggre1-noc", "qcom,milos-aggre2-noc", "qcom,milos-clk-virt", "qcom,milos-cnoc-cfg", "qcom,milos-cnoc-main", "qcom,milos-gem-noc", "qcom,milos-lpass-ag-noc", "qcom,milos-mc-virt", "qcom,milos-mmss-noc", "qcom,milos-nsp-noc", "qcom,milos-pcie-anoc", "qcom,milos-system-noc"

reg — not listed as required here #

Maximum number of items (maxItems): 1

clocks — not listed as required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

Required in this object (required): "compatible"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,rpmh-common.yaml#

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,milos-clk-virt", "qcom,milos-mc-virt"

When the condition matches (then) #

Properties and child nodes (properties)

reg — not listed as required here

false — Not permitted by this property rule.

When the condition does not match (else) #

Required in this object (required): "reg"

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,milos-pcie-anoc"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

aggre-NOC PCIe AXI clock

Item 2

cfg-NOC PCIe a-NOC AHB clock

Rule 4 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,milos-aggre1-noc"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

aggre USB3 PRIM AXI clock

Item 2

aggre UFS PHY AXI clock

Rule 5 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,milos-aggre2-noc"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

RPMH CC IPA clock

Rule 6 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,milos-aggre1-noc", "qcom,milos-aggre2-noc", "qcom,milos-pcie-anoc"

When the condition matches (then) #

Required in this object (required): "clocks"

When the condition does not match (else) #

Properties and child nodes (properties)

clocks — not listed as required here

false — Not permitted by this property rule.

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,milos-gcc.h>

interconnect-0 {
    compatible = "qcom,milos-clk-virt";
    #interconnect-cells = <2>;
    qcom,bcm-voters = <&apps_bcm_voter>;
};

interconnect@16e0000 {
    compatible = "qcom,milos-aggre1-noc";
    reg = <0x016e0000 0x16400>;
    #interconnect-cells = <2>;
    clocks = <&gcc GCC_AGGRE_USB3_PRIM_AXI_CLK>,
             <&gcc GCC_AGGRE_UFS_PHY_AXI_CLK>;
    qcom,bcm-voters = <&apps_bcm_voter>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

Qualcomm MSM8937/MSM8939/MSM8976 Network-On-Chip interconnect

Peios Kernel / Hardware and drivers / Device-tree binding reference / Interconnect bindings

Schema identifier ($id): "http://devicetree.org/schemas/interconnect/qcom,msm8939.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Konrad Dybcio <konradybcio@kernel.org>"

The Qualcomm MSM8937/MSM8939/MSM8976 interconnect providers support adjusting the bandwidth requirements between the various NoC fabrics.

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,rpm-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "qcom,msm8937-bimc", "qcom,msm8937-pcnoc", "qcom,msm8937-snoc", "qcom,msm8939-bimc", "qcom,msm8939-pcnoc", "qcom,msm8939-snoc", "qcom,msm8976-bimc", "qcom,msm8976-pcnoc", "qcom,msm8976-snoc"

reg — required here #

Maximum number of items (maxItems): 1

Properties matching a name pattern (patternProperties) #

^interconnect-[a-z0-9\-]+$ — name matches this regular expression #

Value type (type): "object"

Shared schema rule ($ref): qcom,rpm-common.yaml#

The interconnect providers do not have a separate QoS register space, but share parent's space.

All of these rules must match (allOf) #

Rule 1

Shared schema rule ($ref): qcom,rpm-common.yaml#

Properties and child nodes (properties) #

compatible — required here

Allowed values (enum): "qcom,msm8937-snoc-mm", "qcom,msm8939-snoc-mm", "qcom,msm8976-snoc-mm"

Required in this object (required): "compatible"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Required in this object (required): "compatible", "reg"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,rpmcc.h>

snoc: interconnect@580000 {
    compatible = "qcom,msm8939-snoc";
    reg = <0x00580000 0x14000>;
    #interconnect-cells = <1>;

    snoc_mm: interconnect-snoc {
        compatible = "qcom,msm8939-snoc-mm";
        #interconnect-cells = <1>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

Qualcomm MSM8953 Network-On-Chip interconnect

Peios Kernel / Hardware and drivers / Device-tree binding reference / Interconnect bindings

Schema identifier ($id): "http://devicetree.org/schemas/interconnect/qcom,msm8953.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Barnabas Czeman <barnabas.czeman@mainlining.org>"

The Qualcomm MSM8953 interconnect providers support adjusting the bandwidth requirements between the various NoC fabrics.

See also: include/dt-bindings/interconnect/qcom,msm8953.h

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "qcom,msm8953-bimc", "qcom,msm8953-pcnoc", "qcom,msm8953-snoc"

reg — required here #

Maximum number of items (maxItems): 1

clocks — not listed as required here #

Maximum number of items (maxItems): 1

clock-names — not listed as required here #

Maximum number of items (maxItems): 1

#interconnect-cells — required here #

Exact value (const): 2

Properties matching a name pattern (patternProperties) #

^interconnect-[a-z0-9\-]+$ — name matches this regular expression #

Value type (type): "object"

Shared schema rule ($ref): qcom,rpm-common.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

The interconnect providers do not have a separate QoS register space, but share parent's space.

Properties and child nodes (properties) #

compatible — required here

Exact value (const): "qcom,msm8953-snoc-mm"

Required in this object (required): "compatible", "#interconnect-cells"

Required in this object (required): "compatible", "reg", "#interconnect-cells"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,rpm-common.yaml#

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Exact value (const): "qcom,msm8953-pcnoc"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — required here

Array item rules (items)

Item 1

PCNOC USB3 AXI Clock.

clock-names — required here

Exact value (const): "pcnoc_usb3_axi"

Required in this object (required): "clocks", "clock-names"

When the condition does not match (else) #

Properties and child nodes (properties)

clocks — not listed as required here

false — Not permitted by this property rule.

clock-names — not listed as required here

false — Not permitted by this property rule.

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,gcc-msm8953.h>

interconnect@580000 {
    compatible = "qcom,msm8953-snoc";
    reg = <0x580000 0x16080>;

    #interconnect-cells = <2>;

    interconnect-snoc {
        compatible = "qcom,msm8953-snoc-mm";

        #interconnect-cells = <2>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

Qualcomm MSM8974 Network-On-Chip Interconnect

Peios Kernel / Hardware and drivers / Device-tree binding reference / Interconnect bindings

Schema identifier ($id): "http://devicetree.org/schemas/interconnect/qcom,msm8974.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Brian Masney <masneyb@onstation.org>"

The Qualcomm MSM8974 interconnect providers support setting system bandwidth requirements between various network-on-chip fabrics.

Properties and child nodes (properties) #

reg — required here #

Maximum number of items (maxItems): 1

compatible — required here #

Allowed values (enum): "qcom,msm8974-bimc", "qcom,msm8974-cnoc", "qcom,msm8974-mmssnoc", "qcom,msm8974-ocmemnoc", "qcom,msm8974-pnoc", "qcom,msm8974-snoc"

#interconnect-cells — required here #

Exact value (const): 1

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "bus"

Item 2

Exact value (const): "bus_a"

clocks — required here #

Array item rules (items) #

Item 1

Bus Clock

Item 2

Bus A Clock

Required in this object (required): "compatible", "reg", "#interconnect-cells", "clock-names", "clocks"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,rpmcc.h>

interconnect@fc380000 {
    reg = <0xfc380000 0x6a000>;
    compatible = "qcom,msm8974-bimc";
    #interconnect-cells = <1>;
    clock-names = "bus", "bus_a";
    clocks = <&rpmcc RPM_SMD_BIMC_CLK>,
             <&rpmcc RPM_SMD_BIMC_A_CLK>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

Qualcomm MSM8996 Network-On-Chip interconnect

Peios Kernel / Hardware and drivers / Device-tree binding reference / Interconnect bindings

Schema identifier ($id): "http://devicetree.org/schemas/interconnect/qcom,msm8996.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Konrad Dybcio <konradybcio@kernel.org>"

The Qualcomm MSM8996 interconnect providers support adjusting the bandwidth requirements between the various NoC fabrics.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "qcom,msm8996-a0noc", "qcom,msm8996-a1noc", "qcom,msm8996-a2noc", "qcom,msm8996-bimc", "qcom,msm8996-cnoc", "qcom,msm8996-mnoc", "qcom,msm8996-pnoc", "qcom,msm8996-snoc"

reg — required here #

Maximum number of items (maxItems): 1

clock-names — not listed as required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 3

clocks — not listed as required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 3

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "reg"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,rpm-common.yaml#

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Exact value (const): "qcom,msm8996-a0noc"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

Aggregate0 System NoC AXI Clock.

Item 2

Aggregate0 Config NoC AHB Clock.

Item 3

Aggregate0 NoC MPU Clock.

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "aggre0_snoc_axi"

Item 2

Exact value (const): "aggre0_cnoc_ahb"

Item 3

Exact value (const): "aggre0_noc_mpu_cfg"

Required in this object (required): "power-domains"

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Exact value (const): "qcom,msm8996-mnoc"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

CPU-NoC High-performance Bus Clock.

clock-names — not listed as required here

Exact value (const): "iface"

Rule 4 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Exact value (const): "qcom,msm8996-a2noc"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

Aggregate2 NoC UFS AXI Clock

Item 2

UFS AXI Clock

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "aggre2_ufs_axi"

Item 2

Exact value (const): "ufs_axi"

Examples (examples) #

#include <dt-bindings/clock/qcom,gcc-msm8996.h>
#include <dt-bindings/clock/qcom,mmcc-msm8996.h>
#include <dt-bindings/clock/qcom,rpmcc.h>

bimc: interconnect@408000 {
    compatible = "qcom,msm8996-bimc";
    reg = <0x00408000 0x5a000>;
    #interconnect-cells = <1>;
};

a0noc: interconnect@543000 {
    compatible = "qcom,msm8996-a0noc";
    reg = <0x00543000 0x6000>;
    #interconnect-cells = <1>;
    clocks = <&gcc GCC_AGGRE0_SNOC_AXI_CLK>,
             <&gcc GCC_AGGRE0_CNOC_AHB_CLK>,
             <&gcc GCC_AGGRE0_NOC_MPU_CFG_AHB_CLK>;
    clock-names = "aggre0_snoc_axi",
                  "aggre0_cnoc_ahb",
                  "aggre0_noc_mpu_cfg";
    power-domains = <&gcc AGGRE0_NOC_GDSC>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

Qualcomm Interconnect Bandwidth Monitor

Peios Kernel / Hardware and drivers / Device-tree binding reference / Interconnect bindings

Schema identifier ($id): "http://devicetree.org/schemas/interconnect/qcom,msm8998-bwmon.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Krzysztof Kozlowski <krzk@kernel.org>"

Bandwidth Monitor measures current throughput on buses between various NoC fabrics and provides information when it crosses configured thresholds.

Certain SoCs might have more than one Bandwidth Monitors, for example on SDM845::
 - Measuring the bandwidth between CPUs and Last Level Cache Controller -
   called just BWMON,
 - Measuring the bandwidth between Last Level Cache Controller and memory
   (DDR) - called LLCC BWMON.

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Exact value (const): "qcom,msm8998-bwmon"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "qcom,glymur-cpu-bwmon", "qcom,kaanapali-cpu-bwmon", "qcom,qcm2290-cpu-bwmon", "qcom,qcs615-cpu-bwmon", "qcom,qcs8300-cpu-bwmon", "qcom,sa8775p-cpu-bwmon", "qcom,sc7180-cpu-bwmon", "qcom,sc7280-cpu-bwmon", "qcom,sc8280xp-cpu-bwmon", "qcom,sdm845-cpu-bwmon", "qcom,sm6115-cpu-bwmon", "qcom,sm6350-llcc-bwmon", "qcom,sm8250-cpu-bwmon", "qcom,sm8550-cpu-bwmon", "qcom,sm8650-cpu-bwmon", "qcom,sm8750-cpu-bwmon", "qcom,x1e80100-cpu-bwmon"

Item 2

Exact value (const): "qcom,sdm845-bwmon"

Rule 3

Array item rules (items)

Item 1

Allowed values (enum): "qcom,qcs615-llcc-bwmon", "qcom,qcs8300-llcc-bwmon", "qcom,sa8775p-llcc-bwmon", "qcom,sc7180-llcc-bwmon", "qcom,sc8280xp-llcc-bwmon", "qcom,sm6350-cpu-bwmon", "qcom,sm8250-llcc-bwmon", "qcom,sm8550-llcc-bwmon", "qcom,sm8650-llcc-bwmon", "qcom,x1e80100-llcc-bwmon"

Item 2

Exact value (const): "qcom,sc7280-llcc-bwmon"

Rule 4

Exact value (const): "qcom,sc7280-llcc-bwmon"

Rule 5

Exact value (const): "qcom,sdm845-llcc-bwmon"

interconnects — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

operating-points-v2 — required here #

true — No constraints added by this property rule.

opp-table — not listed as required here #

Value type (type): "object"

reg — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

reg-names — not listed as required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

nonposted-mmio — not listed as required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible", "interconnects", "interrupts", "operating-points-v2", "reg"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Exact value (const): "qcom,msm8998-bwmon"

When the condition matches (then) #

Properties and child nodes (properties)

reg — not listed as required here

Minimum number of items (minItems): 2

reg-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "monitor"

Item 2

Exact value (const): "global"

When the condition does not match (else) #

Properties and child nodes (properties)

reg — not listed as required here

Maximum number of items (maxItems): 1

reg-names — not listed as required here

Maximum number of items (maxItems): 1

Examples (examples) #

#include <dt-bindings/interconnect/qcom,sdm845.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>

pmu@1436400 {
    compatible = "qcom,sdm845-cpu-bwmon", "qcom,sdm845-bwmon";
    reg = <0x01436400 0x600>;
    interrupts = <GIC_SPI 581 IRQ_TYPE_LEVEL_HIGH>;
    interconnects = <&gladiator_noc MASTER_APPSS_PROC 3 &mem_noc SLAVE_LLCC 3>;

    operating-points-v2 = <&cpu_bwmon_opp_table>;

    cpu_bwmon_opp_table: opp-table {
        compatible = "operating-points-v2";
        opp-0 {
            opp-peak-kBps = <4800000>;
        };
        opp-1 {
            opp-peak-kBps = <9216000>;
        };
        opp-2 {
            opp-peak-kBps = <15052800>;
        };
        opp-3 {
            opp-peak-kBps = <20889600>;
        };
        opp-4 {
            opp-peak-kBps = <25497600>;
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Line 25: BWMON v4

Line 45: BWMON v4, unified register space

Line 59: BWMON v5

Line 60: BWMON v5

Line 73: BWMON v5 uses one register address space, v1-v4 use one or two.

Qualcomm Operating State Manager (OSM) L3 Interconnect Provider

Peios Kernel / Hardware and drivers / Device-tree binding reference / Interconnect bindings

Schema identifier ($id): "http://devicetree.org/schemas/interconnect/qcom,osm-l3.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Sibi Sankar <quic_sibis@quicinc.com>"

L3 cache bandwidth requirements on Qualcomm SoCs is serviced by the OSM. The OSM L3 interconnect provider aggregates the L3 bandwidth requests from CPU/GPU and relays it to the OSM.

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

Allowed values (enum): "qcom,sc7180-osm-l3", "qcom,sc8180x-osm-l3", "qcom,sdm670-osm-l3", "qcom,sdm845-osm-l3", "qcom,sm6350-osm-l3", "qcom,sm8150-osm-l3"

Item 2

Exact value (const): "qcom,osm-l3"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "qcom,sa8775p-epss-l3", "qcom,sc7280-epss-l3", "qcom,sc8280xp-epss-l3", "qcom,sm6375-cpucp-l3", "qcom,sm8250-epss-l3", "qcom,sm8350-epss-l3", "qcom,sm8650-epss-l3"

Item 2

Exact value (const): "qcom,epss-l3"

Rule 3

Array item rules (items)

Item 1

Allowed values (enum): "qcom,qcs8300-epss-l3"

Item 2

Exact value (const): "qcom,sa8775p-epss-l3"

Item 3

Exact value (const): "qcom,epss-l3"

Rule 4

Array item rules (items)

Item 1

Allowed values (enum): "qcom,qcs615-osm-l3"

Item 2

Exact value (const): "qcom,sm8150-osm-l3"

Item 3

Exact value (const): "qcom,osm-l3"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Array item rules (items) #

Item 1

xo clock

Item 2

alternate clock

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "xo"

Item 2

Exact value (const): "alternate"

#interconnect-cells — required here #

Exact value (const): 1

Required in this object (required): "compatible", "reg", "clocks", "clock-names", "#interconnect-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #


#define GPLL0               165
#define RPMH_CXO_CLK        0

osm_l3: interconnect@17d41000 {
  compatible = "qcom,sdm845-osm-l3", "qcom,osm-l3";
  reg = <0x17d41000 0x1400>;

  clocks = <&rpmhcc RPMH_CXO_CLK>, <&gcc GPLL0>;
  clock-names = "xo", "alternate";

  #interconnect-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Qualcomm QCM2290 Network-On-Chip interconnect

Peios Kernel / Hardware and drivers / Device-tree binding reference / Interconnect bindings

Schema identifier ($id): "http://devicetree.org/schemas/interconnect/qcom,qcm2290.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Shawn Guo <shawn.guo@linaro.org>"

The Qualcomm QCM2290 interconnect providers support adjusting the bandwidth requirements between the various NoC fabrics.

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,rpm-common.yaml#

Properties and child nodes (properties) #

reg — required here #

Maximum number of items (maxItems): 1

compatible — required here #

Allowed values (enum): "qcom,qcm2290-bimc", "qcom,qcm2290-cnoc", "qcom,qcm2290-snoc"

Properties matching a name pattern (patternProperties) #

^interconnect-[a-z0-9]+$ — name matches this regular expression #

Value type (type): "object"

The interconnect providers do not have a separate QoS register space, but share parent's space.

All of these rules must match (allOf) #

Rule 1

Shared schema rule ($ref): qcom,rpm-common.yaml#

Properties and child nodes (properties) #

compatible — required here

Allowed values (enum): "qcom,qcm2290-qup-virt", "qcom,qcm2290-mmrt-virt", "qcom,qcm2290-mmnrt-virt"

Required in this object (required): "compatible"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Required in this object (required): "compatible", "reg"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,rpmcc.h>

snoc: interconnect@1880000 {
    compatible = "qcom,qcm2290-snoc";
    reg = <0x01880000 0x60200>;
    #interconnect-cells = <1>;

    qup_virt: interconnect-qup {
        compatible = "qcom,qcm2290-qup-virt";
        #interconnect-cells = <1>;
    };

    mmnrt_virt: interconnect-mmnrt {
        compatible = "qcom,qcm2290-mmnrt-virt";
        #interconnect-cells = <1>;
    };

    mmrt_virt: interconnect-mmrt {
        compatible = "qcom,qcm2290-mmrt-virt";
        #interconnect-cells = <1>;
    };
};

cnoc: interconnect@1900000 {
    compatible = "qcom,qcm2290-cnoc";
    reg = <0x01900000 0x8200>;
    #interconnect-cells = <1>;
};

bimc: interconnect@4480000 {
    compatible = "qcom,qcm2290-bimc";
    reg = <0x04480000 0x80000>;
    #interconnect-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

Line 29: Child node's properties

Qualcomm RPMh Network-On-Chip Interconnect on QCS615

Peios Kernel / Hardware and drivers / Device-tree binding reference / Interconnect bindings

Schema identifier ($id): "http://devicetree.org/schemas/interconnect/qcom,qcs615-rpmh.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Raviteja Laggyshetty <quic_rlaggysh@quicinc.com>"

RPMh interconnect providers support system bandwidth requirements through RPMh hardware accelerators known as Bus Clock Manager (BCM). The provider is able to communicate with the BCM through the Resource State Coordinator (RSC) associated with each execution environment. Provider nodes must point to at least one RPMh device child node pertaining to their RSC and each provider can map to multiple RPMh resources.

See also: include/dt-bindings/interconnect/qcom,qcs615-rpmh.h

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "qcom,qcs615-aggre1-noc", "qcom,qcs615-camnoc-virt", "qcom,qcs615-config-noc", "qcom,qcs615-dc-noc", "qcom,qcs615-gem-noc", "qcom,qcs615-mc-virt", "qcom,qcs615-mmss-noc", "qcom,qcs615-system-noc"

reg — not listed as required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,rpmh-common.yaml#

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,qcs615-camnoc-virt", "qcom,qcs615-mc-virt"

When the condition matches (then) #

Properties and child nodes (properties)

reg — not listed as required here

false — Not permitted by this property rule.

When the condition does not match (else) #

Required in this object (required): "reg"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

gem_noc: interconnect@9680000 {
    compatible = "qcom,qcs615-gem-noc";
    reg = <0x9680000 0x3e200>;
    #interconnect-cells = <2>;
    qcom,bcm-voters = <&apps_bcm_voter>;
};

mc_virt: interconnect-2 {
    compatible = "qcom,qcs615-mc-virt";
    #interconnect-cells = <2>;
    qcom,bcm-voters = <&apps_bcm_voter>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Qualcomm RPMh Network-On-Chip Interconnect on QCS8300

Peios Kernel / Hardware and drivers / Device-tree binding reference / Interconnect bindings

Schema identifier ($id): "http://devicetree.org/schemas/interconnect/qcom,qcs8300-rpmh.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Raviteja Laggyshetty <quic_rlaggysh@quicinc.com>"

RPMh interconnect providers support system bandwidth requirements through RPMh hardware accelerators known as Bus Clock Manager (BCM).

See also: include/dt-bindings/interconnect/qcom,qcs8300-rpmh.h

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "qcom,qcs8300-aggre1-noc", "qcom,qcs8300-aggre2-noc", "qcom,qcs8300-clk-virt", "qcom,qcs8300-config-noc", "qcom,qcs8300-dc-noc", "qcom,qcs8300-gem-noc", "qcom,qcs8300-gpdsp-anoc", "qcom,qcs8300-lpass-ag-noc", "qcom,qcs8300-mc-virt", "qcom,qcs8300-mmss-noc", "qcom,qcs8300-nspa-noc", "qcom,qcs8300-pcie-anoc", "qcom,qcs8300-system-noc"

reg — not listed as required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,rpmh-common.yaml#

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,qcs8300-clk-virt", "qcom,qcs8300-mc-virt"

When the condition matches (then) #

Properties and child nodes (properties)

reg — not listed as required here

false — Not permitted by this property rule.

When the condition does not match (else) #

Required in this object (required): "reg"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

gem_noc: interconnect@9100000 {
    compatible = "qcom,qcs8300-gem-noc";
    reg = <0x9100000 0xf7080>;
    #interconnect-cells = <2>;
    qcom,bcm-voters = <&apps_bcm_voter>;
};

clk_virt: interconnect-0 {
    compatible = "qcom,qcs8300-clk-virt";
    #interconnect-cells = <2>;
    qcom,bcm-voters = <&apps_bcm_voter>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Qualcomm RPMh Network-On-Chip Interconnect on QDU1000

Peios Kernel / Hardware and drivers / Device-tree binding reference / Interconnect bindings

Schema identifier ($id): "http://devicetree.org/schemas/interconnect/qcom,qdu1000-rpmh.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Georgi Djakov <djakov@kernel.org>", "Odelu Kukatla <quic_okukatla@quicinc.com>"

RPMh interconnect providers support system bandwidth requirements through RPMh hardware accelerators known as Bus Clock Manager (BCM). The provider is able to communicate with the BCM through the Resource State Coordinator (RSC) associated with each execution environment. Provider nodes must point to at least one RPMh device child node pertaining to their RSC and each provider can map to multiple RPMh resources.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "qcom,qdu1000-clk-virt", "qcom,qdu1000-gem-noc", "qcom,qdu1000-mc-virt", "qcom,qdu1000-system-noc"

#interconnect-cells — not listed as required here #

true — No constraints added by this property rule.

reg — not listed as required here #

Maximum number of items (maxItems): 1

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,rpmh-common.yaml#

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,qdu1000-clk-virt", "qcom,qdu1000-mc-virt"

When the condition matches (then) #

Properties and child nodes (properties)

reg — not listed as required here

false — Not permitted by this property rule.

When the condition does not match (else) #

Required in this object (required): "reg"

Required in this object (required): "compatible"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interconnect/qcom,qdu1000-rpmh.h>

system_noc: interconnect@1640000 {
    compatible = "qcom,qdu1000-system-noc";
    reg = <0x1640000 0x45080>;
    #interconnect-cells = <2>;
    qcom,bcm-voters = <&apps_bcm_voter>;
};

clk_virt: interconnect-0 {
    compatible = "qcom,qdu1000-clk-virt";
    #interconnect-cells = <2>;
    qcom,bcm-voters = <&apps_bcm_voter>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

Qualcomm RPMh Network-On-Chip Interconnect

Peios Kernel / Hardware and drivers / Device-tree binding reference / Interconnect bindings

Schema identifier ($id): "http://devicetree.org/schemas/interconnect/qcom,rpm-common.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Konrad Dybcio <konradybcio@kernel.org>"

RPM interconnect providers support for managing system bandwidth requirements through manual requests based on either predefined values or as indicated by the bus monitor hardware. Each provider node represents a NoC bus master, driven by a dedicated clock source.

Properties and child nodes (properties) #

#interconnect-cells — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Exact value (const): 2

Rule 2

Exact value (const): 1

Deprecated (deprecated): true

Required in this object (required): "#interconnect-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

Qualcomm RPM Network-On-Chip Interconnect

Peios Kernel / Hardware and drivers / Device-tree binding reference / Interconnect bindings

Schema identifier ($id): "http://devicetree.org/schemas/interconnect/qcom,rpm.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Georgi Djakov <djakov@kernel.org>"

RPM interconnect providers support system bandwidth requirements through RPM processor. The provider is able to communicate with the RPM through the RPM shared memory device.

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,rpm-common.yaml#

Properties and child nodes (properties) #

reg — required here #

Maximum number of items (maxItems): 1

compatible — required here #

Allowed values (enum): "qcom,msm8909-bimc", "qcom,msm8909-pcnoc", "qcom,msm8909-snoc", "qcom,msm8916-bimc", "qcom,msm8916-pcnoc", "qcom,msm8916-snoc", "qcom,qcs404-bimc", "qcom,qcs404-pcnoc", "qcom,qcs404-snoc"

Required in this object (required): "compatible", "reg"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,rpmcc.h>

interconnect@400000 {
    compatible = "qcom,msm8916-bimc";
    reg = <0x00400000 0x62000>;
    #interconnect-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

Qualcomm RPMh Network-On-Chip Interconnect

Peios Kernel / Hardware and drivers / Device-tree binding reference / Interconnect bindings

Schema identifier ($id): "http://devicetree.org/schemas/interconnect/qcom,rpmh-common.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Georgi Djakov <djakov@kernel.org>", "Bjorn Andersson <bjorn.andersson@linaro.org>"

RPMh interconnect providers support system bandwidth requirements through RPMh hardware accelerators known as Bus Clock Manager (BCM). The provider is able to communicate with the BCM through the Resource State Coordinator (RSC) associated with each execution environment. Provider nodes must point to at least one RPMh device child node pertaining to their RSC and each provider can map to multiple RPMh resources.

Properties and child nodes (properties) #

#interconnect-cells — required here #

Allowed values (enum): 1, 2

qcom,bcm-voters — required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array

Array item rules (items) #

Maximum number of items (maxItems): 1

Maximum number of items (maxItems): 2

List of phandles to qcom,bcm-voter nodes that are required by this interconnect to send RPMh commands.

qcom,bcm-voter-names — not listed as required here #

Maximum number of items (maxItems): 2

Names for each of the qcom,bcm-voters specified.

Required in this object (required): "#interconnect-cells", "qcom,bcm-voters"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

Qualcomm RPMh Network-On-Chip Interconnect

Peios Kernel / Hardware and drivers / Device-tree binding reference / Interconnect bindings

Schema identifier ($id): "http://devicetree.org/schemas/interconnect/qcom,rpmh.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Georgi Djakov <georgi.djakov@linaro.org>", "Odelu Kukatla <quic_okukatla@quicinc.com>"

RPMh interconnect providers support system bandwidth requirements through RPMh hardware accelerators known as Bus Clock Manager (BCM). The provider is able to communicate with the BCM through the Resource State Coordinator (RSC) associated with each execution environment. Provider nodes must point to at least one RPMh device child node pertaining to their RSC and each provider can map to multiple RPMh resources.

Properties and child nodes (properties) #

reg — not listed as required here #

Maximum number of items (maxItems): 1

compatible — required here #

Allowed values (enum): "qcom,sc7180-aggre1-noc", "qcom,sc7180-aggre2-noc", "qcom,sc7180-camnoc-virt", "qcom,sc7180-compute-noc", "qcom,sc7180-config-noc", "qcom,sc7180-dc-noc", "qcom,sc7180-gem-noc", "qcom,sc7180-mc-virt", "qcom,sc7180-mmss-noc", "qcom,sc7180-npu-noc", "qcom,sc7180-qup-virt", "qcom,sc7180-system-noc", "qcom,sc8180x-aggre1-noc", "qcom,sc8180x-aggre2-noc", "qcom,sc8180x-camnoc-virt", "qcom,sc8180x-compute-noc", "qcom,sc8180x-config-noc", "qcom,sc8180x-dc-noc", "qcom,sc8180x-gem-noc", "qcom,sc8180x-mc-virt", "qcom,sc8180x-mmss-noc", "qcom,sc8180x-qup-virt", "qcom,sc8180x-system-noc", "qcom,sdm670-aggre1-noc", "qcom,sdm670-aggre2-noc", "qcom,sdm670-config-noc", "qcom,sdm670-dc-noc", "qcom,sdm670-gladiator-noc", "qcom,sdm670-mem-noc", "qcom,sdm670-mmss-noc", "qcom,sdm670-system-noc", "qcom,sdm845-aggre1-noc", "qcom,sdm845-aggre2-noc", "qcom,sdm845-config-noc", "qcom,sdm845-dc-noc", "qcom,sdm845-gladiator-noc", "qcom,sdm845-mem-noc", "qcom,sdm845-mmss-noc", "qcom,sdm845-system-noc", "qcom,sdx55-mc-virt", "qcom,sdx55-mem-noc", "qcom,sdx55-system-noc", "qcom,sdx65-mc-virt", "qcom,sdx65-mem-noc", "qcom,sdx65-system-noc", "qcom,sm8150-aggre1-noc", "qcom,sm8150-aggre2-noc", "qcom,sm8150-camnoc-virt", "qcom,sm8150-compute-noc", "qcom,sm8150-config-noc", "qcom,sm8150-dc-noc", "qcom,sm8150-gem-noc", "qcom,sm8150-mc-virt", "qcom,sm8150-mmss-noc", "qcom,sm8150-system-noc", "qcom,sm8250-aggre1-noc", "qcom,sm8250-aggre2-noc", "qcom,sm8250-compute-noc", "qcom,sm8250-config-noc", "qcom,sm8250-dc-noc", "qcom,sm8250-gem-noc", "qcom,sm8250-mc-virt", "qcom,sm8250-mmss-noc", "qcom,sm8250-npu-noc", "qcom,sm8250-qup-virt", "qcom,sm8250-system-noc", "qcom,sm8350-aggre1-noc", "qcom,sm8350-aggre2-noc", "qcom,sm8350-config-noc", "qcom,sm8350-dc-noc", "qcom,sm8350-gem-noc", "qcom,sm8350-lpass-ag-noc", "qcom,sm8350-mc-virt", "qcom,sm8350-mmss-noc", "qcom,sm8350-compute-noc", "qcom,sm8350-system-noc"

#interconnect-cells — not listed as required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,rpmh-common.yaml#

Rule 2 #

Condition (if) #

This rule must not match (not)

Properties and child nodes (properties)

compatible — not listed as required here

Allowed values (enum): "qcom,sc8180x-camnoc-virt", "qcom,sc8180x-mc-virt", "qcom,sc8180x-qup-virt", "qcom,sdx65-mc-virt", "qcom,sm8250-qup-virt"

When the condition matches (then) #

Required in this object (required): "reg"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interconnect/qcom,sdm845.h>

interconnect@1380000 {
    compatible = "qcom,sdm845-mem-noc";
    reg = <0x01380000 0x27200>;
    #interconnect-cells = <1>;
    qcom,bcm-voters = <&apps_bcm_voter>;
};

interconnect@1740000 {
    compatible = "qcom,sdm845-mmss-noc";
    reg = <0x01740000 0x1c1000>;
    #interconnect-cells = <1>;
    qcom,bcm-voter-names = "apps", "disp";
    qcom,bcm-voters = <&apps_bcm_voter>, <&disp_bcm_voter>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

Qualcomm RPMh Network-On-Chip Interconnect on SA8775P

Peios Kernel / Hardware and drivers / Device-tree binding reference / Interconnect bindings

Schema identifier ($id): "http://devicetree.org/schemas/interconnect/qcom,sa8775p-rpmh.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Bartosz Golaszewski <bartosz.golaszewski@linaro.org>"

RPMh interconnect providers support system bandwidth requirements through RPMh hardware accelerators known as Bus Clock Manager (BCM).

See also: include/dt-bindings/interconnect/qcom,sa8775p.h

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "qcom,sa8775p-aggre1-noc", "qcom,sa8775p-aggre2-noc", "qcom,sa8775p-clk-virt", "qcom,sa8775p-config-noc", "qcom,sa8775p-dc-noc", "qcom,sa8775p-gem-noc", "qcom,sa8775p-gpdsp-anoc", "qcom,sa8775p-lpass-ag-noc", "qcom,sa8775p-mc-virt", "qcom,sa8775p-mmss-noc", "qcom,sa8775p-nspa-noc", "qcom,sa8775p-nspb-noc", "qcom,sa8775p-pcie-anoc", "qcom,sa8775p-system-noc"

reg — not listed as required here #

Maximum number of items (maxItems): 1

clocks — not listed as required here #

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 5

Required in this object (required): "compatible"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,rpmh-common.yaml#

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,sa8775p-aggre1-noc"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

aggre UFS PHY AXI clock

Item 2

aggre QUP PRIM AXI clock

Item 3

aggre USB2 PRIM AXI clock

Item 4

aggre USB3 PRIM AXI clock

Item 5

aggre USB3 SEC AXI clock

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,sa8775p-aggre2-noc"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

aggre UFS CARD AXI clock

Item 2

RPMH CC IPA clock

Rule 4 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,sa8775p-config-noc", "qcom,sa8775p-dc-noc", "qcom,sa8775p-gem-noc", "qcom,sa8775p-gpdsp-anoc", "qcom,sa8775p-lpass-ag-noc", "qcom,sa8775p-mmss-noc", "qcom,sa8775p-nspa-noc", "qcom,sa8775p-nspb-noc", "qcom,sa8775p-pcie-anoc", "qcom,sa8775p-system-noc"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

false — Not permitted by this property rule.

Rule 5 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,sa8775p-clk-virt", "qcom,sa8775p-mc-virt"

When the condition matches (then) #

Properties and child nodes (properties)

reg — not listed as required here

false — Not permitted by this property rule.

clocks — not listed as required here

false — Not permitted by this property rule.

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,sa8775p-gcc.h>
clk_virt: interconnect-clk-virt {
    compatible = "qcom,sa8775p-clk-virt";
    #interconnect-cells = <2>;
    qcom,bcm-voters = <&apps_bcm_voter>;
};

aggre1_noc: interconnect@16c0000 {
    compatible = "qcom,sa8775p-aggre1-noc";
    reg = <0x016c0000 0x18080>;
    #interconnect-cells = <2>;
    qcom,bcm-voters = <&apps_bcm_voter>;
    clocks = <&gcc GCC_AGGRE_UFS_PHY_AXI_CLK>,
             <&gcc GCC_AGGRE_NOC_QUPV3_AXI_CLK>,
             <&gcc GCC_AGGRE_USB2_PRIM_AXI_CLK>,
             <&gcc GCC_AGGRE_USB3_PRIM_AXI_CLK>,
             <&gcc GCC_AGGRE_USB3_SEC_AXI_CLK>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Qualcomm RPMh Network-On-Chip Interconnect on SAR2130P

Peios Kernel / Hardware and drivers / Device-tree binding reference / Interconnect bindings

Schema identifier ($id): "http://devicetree.org/schemas/interconnect/qcom,sar2130p-rpmh.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Dmitry Baryshkov <dmitry.baryshkov@linaro.org>", "Georgi Djakov <djakov@kernel.org>"

RPMh interconnect providers support system bandwidth requirements through RPMh hardware accelerators known as Bus Clock Manager (BCM). The provider is able to communicate with the BCM through the Resource State Coordinator (RSC) associated with each execution environment. Provider nodes must point to at least one RPMh device child node pertaining to their RSC and each provider can map to multiple RPMh resources.

See also: include/dt-bindings/interconnect/qcom,sar2130p-rpmh.h

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "qcom,sar2130p-clk-virt", "qcom,sar2130p-config-noc", "qcom,sar2130p-gem-noc", "qcom,sar2130p-lpass-ag-noc", "qcom,sar2130p-mc-virt", "qcom,sar2130p-mmss-noc", "qcom,sar2130p-nsp-noc", "qcom,sar2130p-pcie-anoc", "qcom,sar2130p-system-noc"

reg — not listed as required here #

Maximum number of items (maxItems): 1

clocks — not listed as required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

Required in this object (required): "compatible"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,rpmh-common.yaml#

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,sar2130p-clk-virt", "qcom,sar2130p-mc-virt"

When the condition matches (then) #

Properties and child nodes (properties)

reg — not listed as required here

false — Not permitted by this property rule.

When the condition does not match (else) #

Required in this object (required): "reg"

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,sar2130p-pcie-anoc"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

aggre-NOC PCIe AXI clock

Item 2

cfg-NOC PCIe a-NOC AHB clock

Rule 4 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,sar2130p-system-noc"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

aggre USB3 PRIM AXI clock

Rule 5 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,sar2130p-system-noc", "qcom,sar2130p-pcie-anoc"

When the condition matches (then) #

Required in this object (required): "clocks"

When the condition does not match (else) #

Properties and child nodes (properties)

clocks — not listed as required here

false — Not permitted by this property rule.

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

clk_virt: interconnect-0 {
  compatible = "qcom,sar2130p-clk-virt";
  #interconnect-cells = <2>;
  qcom,bcm-voters = <&apps_bcm_voter>;
};

aggre1_noc: interconnect@1680000 {
  compatible = "qcom,sar2130p-system-noc";
  reg = <0x01680000 0x29080>;
  #interconnect-cells = <2>;
  clocks = <&gcc_prim_axi_clk>;
  qcom,bcm-voters = <&apps_bcm_voter>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

Qualcomm RPMh Network-On-Chip Interconnect on SC7280

Peios Kernel / Hardware and drivers / Device-tree binding reference / Interconnect bindings

Schema identifier ($id): "http://devicetree.org/schemas/interconnect/qcom,sc7280-rpmh.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Bjorn Andersson <andersson@kernel.org>", "Konrad Dybcio <konradybcio@kernel.org>"

RPMh interconnect providers support system bandwidth requirements through RPMh hardware accelerators known as Bus Clock Manager (BCM).

See also: include/dt-bindings/interconnect/qcom,sc7280.h

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "qcom,sc7280-aggre1-noc", "qcom,sc7280-aggre2-noc", "qcom,sc7280-clk-virt", "qcom,sc7280-cnoc2", "qcom,sc7280-cnoc3", "qcom,sc7280-dc-noc", "qcom,sc7280-gem-noc", "qcom,sc7280-lpass-ag-noc", "qcom,sc7280-mc-virt", "qcom,sc7280-mmss-noc", "qcom,sc7280-nsp-noc", "qcom,sc7280-system-noc"

reg — not listed as required here #

Maximum number of items (maxItems): 1

clocks — not listed as required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

Required in this object (required): "compatible"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,rpmh-common.yaml#

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,sc7280-clk-virt"

When the condition matches (then) #

Properties and child nodes (properties)

reg — not listed as required here

false — Not permitted by this property rule.

When the condition does not match (else) #

Required in this object (required): "reg"

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,sc7280-aggre1-noc"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

aggre UFS PHY AXI clock

Item 2

aggre USB3 PRIM AXI clock

Rule 4 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,sc7280-aggre2-noc"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

RPMH CC IPA clock

Rule 5 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,sc7280-aggre1-noc", "qcom,sc7280-aggre2-noc"

When the condition matches (then) #

Required in this object (required): "clocks"

When the condition does not match (else) #

Properties and child nodes (properties)

clocks — not listed as required here

false — Not permitted by this property rule.

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,gcc-sc7280.h>
interconnect {
    compatible = "qcom,sc7280-clk-virt";
    #interconnect-cells = <2>;
    qcom,bcm-voters = <&apps_bcm_voter>;
};

interconnect@9100000 {
    reg = <0x9100000 0xe2200>;
    compatible = "qcom,sc7280-gem-noc";
    #interconnect-cells = <2>;
    qcom,bcm-voters = <&apps_bcm_voter>;
};

interconnect@16e0000 {
    reg = <0x016e0000 0x1c080>;
    compatible = "qcom,sc7280-aggre1-noc";
    #interconnect-cells = <2>;
    qcom,bcm-voters = <&apps_bcm_voter>;
    clocks = <&gcc GCC_AGGRE_UFS_PHY_AXI_CLK>,
             <&gcc GCC_AGGRE_USB3_PRIM_AXI_CLK>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Qualcomm RPMh Network-On-Chip Interconnect on SC8280XP

Peios Kernel / Hardware and drivers / Device-tree binding reference / Interconnect bindings

Schema identifier ($id): "http://devicetree.org/schemas/interconnect/qcom,sc8280xp-rpmh.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Bjorn Andersson <andersson@kernel.org>", "Konrad Dybcio <konradybcio@kernel.org>"

RPMh interconnect providers support system bandwidth requirements through RPMh hardware accelerators known as Bus Clock Manager (BCM).

See also: include/dt-bindings/interconnect/qcom,sc8280xp.h

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "qcom,sc8280xp-aggre1-noc", "qcom,sc8280xp-aggre2-noc", "qcom,sc8280xp-clk-virt", "qcom,sc8280xp-config-noc", "qcom,sc8280xp-dc-noc", "qcom,sc8280xp-gem-noc", "qcom,sc8280xp-lpass-ag-noc", "qcom,sc8280xp-mc-virt", "qcom,sc8280xp-mmss-noc", "qcom,sc8280xp-nspa-noc", "qcom,sc8280xp-nspb-noc", "qcom,sc8280xp-system-noc"

Required in this object (required): "compatible"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,rpmh-common.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

interconnect-0 {
    compatible = "qcom,sc8280xp-aggre1-noc";
    #interconnect-cells = <2>;
    qcom,bcm-voters = <&apps_bcm_voter>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Qualcomm SDM660 Network-On-Chip interconnect

Peios Kernel / Hardware and drivers / Device-tree binding reference / Interconnect bindings

Schema identifier ($id): "http://devicetree.org/schemas/interconnect/qcom,sdm660.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Konrad Dybcio <konradybcio@kernel.org>"

The Qualcomm SDM660 interconnect providers support adjusting the bandwidth requirements between the various NoC fabrics.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "qcom,sdm660-a2noc", "qcom,sdm660-bimc", "qcom,sdm660-cnoc", "qcom,sdm660-gnoc", "qcom,sdm660-mnoc", "qcom,sdm660-snoc"

reg — required here #

Maximum number of items (maxItems): 1

clock-names — not listed as required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 5

clocks — not listed as required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 5

Required in this object (required): "compatible", "reg"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,rpm-common.yaml#

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Exact value (const): "qcom,sdm660-mnoc"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

CPU-NoC High-performance Bus Clock.

clock-names — not listed as required here

Exact value (const): "iface"

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Exact value (const): "qcom,sdm660-a2noc"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

IPA Clock.

Item 2

UFS AXI Clock.

Item 3

Aggregate2 UFS AXI Clock.

Item 4

Aggregate2 USB3 AXI Clock.

Item 5

Config NoC USB2 AXI Clock.

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "ipa"

Item 2

Exact value (const): "ufs_axi"

Item 3

Exact value (const): "aggre2_ufs_axi"

Item 4

Exact value (const): "aggre2_usb3_axi"

Item 5

Exact value (const): "cfg_noc_usb2_axi"

Examples (examples) #

#include <dt-bindings/clock/qcom,gcc-sdm660.h>
#include <dt-bindings/clock/qcom,mmcc-sdm660.h>
#include <dt-bindings/clock/qcom,rpmcc.h>

bimc: interconnect@1008000 {
    compatible = "qcom,sdm660-bimc";
    reg = <0x01008000 0x78000>;
    #interconnect-cells = <1>;
};

a2noc: interconnect@1704000 {
    compatible = "qcom,sdm660-a2noc";
    reg = <0x01704000 0xc100>;
    #interconnect-cells = <1>;
    clocks = <&rpmcc RPM_SMD_IPA_CLK>,
             <&gcc GCC_UFS_AXI_CLK>,
             <&gcc GCC_AGGRE2_UFS_AXI_CLK>,
             <&gcc GCC_AGGRE2_USB3_AXI_CLK>,
             <&gcc GCC_CFG_NOC_USB2_AXI_CLK>;
    clock-names = "ipa",
                  "ufs_axi",
                  "aggre2_ufs_axi",
                  "aggre2_usb3_axi",
                  "cfg_noc_usb2_axi";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

Qualcomm RPMh Network-On-Chip Interconnect on SDX75

Peios Kernel / Hardware and drivers / Device-tree binding reference / Interconnect bindings

Schema identifier ($id): "http://devicetree.org/schemas/interconnect/qcom,sdx75-rpmh.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Rohit Agarwal <quic_rohiagar@quicinc.com>"

RPMh interconnect providers support system bandwidth requirements through RPMh hardware accelerators known as Bus Clock Manager (BCM). The provider is able to communicate with the BCM through the Resource State Coordinator (RSC) associated with each execution environment. Provider nodes must point to at least one RPMh device child node pertaining to their RSC and each provider can map to multiple RPMh resources.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "qcom,sdx75-clk-virt", "qcom,sdx75-dc-noc", "qcom,sdx75-gem-noc", "qcom,sdx75-mc-virt", "qcom,sdx75-pcie-anoc", "qcom,sdx75-system-noc"

#interconnect-cells — not listed as required here #

true — No constraints added by this property rule.

reg — not listed as required here #

Maximum number of items (maxItems): 1

clocks — not listed as required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,rpmh-common.yaml#

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,sdx75-clk-virt", "qcom,sdx75-mc-virt"

When the condition matches (then) #

Properties and child nodes (properties)

reg — not listed as required here

false — Not permitted by this property rule.

When the condition does not match (else) #

Required in this object (required): "reg"

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,sdx75-clk-virt"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — required here

Array item rules (items)

Item 1

RPMH CC QPIC Clock

Required in this object (required): "clocks"

When the condition does not match (else) #

Properties and child nodes (properties)

clocks — not listed as required here

false — Not permitted by this property rule.

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,rpmh.h>

clk_virt: interconnect-0 {
    compatible = "qcom,sdx75-clk-virt";
    #interconnect-cells = <2>;
    qcom,bcm-voters = <&apps_bcm_voter>;
    clocks = <&rpmhcc RPMH_QPIC_CLK>;
};

system_noc: interconnect@1640000 {
    compatible = "qcom,sdx75-system-noc";
    reg = <0x1640000 0x4b400>;
    #interconnect-cells = <2>;
    qcom,bcm-voters = <&apps_bcm_voter>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

Qualcomm SM6115 Network-On-Chip interconnect

Peios Kernel / Hardware and drivers / Device-tree binding reference / Interconnect bindings

Schema identifier ($id): "http://devicetree.org/schemas/interconnect/qcom,sm6115.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Konrad Dybcio <konradybcio@kernel.org>"

The Qualcomm SM6115 interconnect providers support adjusting the bandwidth requirements between the various NoC fabrics.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "qcom,sm6115-bimc", "qcom,sm6115-cnoc", "qcom,sm6115-snoc"

reg — required here #

Maximum number of items (maxItems): 1

clocks — not listed as required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 4

clock-names — not listed as required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 4

Properties matching a name pattern (patternProperties) #

^interconnect-[a-z0-9]+$ — name matches this regular expression #

Value type (type): "object"

The interconnect providers do not have a separate QoS register space, but share parent's space.

Shared schema rule ($ref): qcom,rpm-common.yaml#

Properties and child nodes (properties) #

compatible — required here

Allowed values (enum): "qcom,sm6115-clk-virt", "qcom,sm6115-mmrt-virt", "qcom,sm6115-mmnrt-virt"

Required in this object (required): "compatible"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Required in this object (required): "compatible", "reg"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,rpm-common.yaml#

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Exact value (const): "qcom,sm6115-cnoc"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

USB-NoC AXI clock

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "usb_axi"

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Exact value (const): "qcom,sm6115-snoc"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

CPU-NoC AXI clock.

Item 2

UFS-NoC AXI clock.

Item 3

USB-NoC AXI clock.

Item 4

IPA clock.

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "cpu_axi"

Item 2

Exact value (const): "ufs_axi"

Item 3

Exact value (const): "usb_axi"

Item 4

Exact value (const): "ipa"

Rule 4 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Allowed values (enum): "qcom,sm6115-bimc", "qcom,sm6115-clk-virt", "qcom,sm6115-mmrt-virt", "qcom,sm6115-mmnrt-virt"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

false — Not permitted by this property rule.

clock-names — not listed as required here

false — Not permitted by this property rule.

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,gcc-sm6115.h>
#include <dt-bindings/clock/qcom,rpmcc.h>

snoc: interconnect@1880000 {
    compatible = "qcom,sm6115-snoc";
    reg = <0x01880000 0x60200>;
    clocks = <&gcc GCC_SYS_NOC_CPUSS_AHB_CLK>,
             <&gcc GCC_SYS_NOC_UFS_PHY_AXI_CLK>,
             <&gcc GCC_SYS_NOC_USB3_PRIM_AXI_CLK>,
             <&rpmcc RPM_SMD_IPA_CLK>;
    clock-names = "cpu_axi",
                  "ufs_axi",
                  "usb_axi",
                  "ipa";
    #interconnect-cells = <1>;

    qup_virt: interconnect-clk {
        compatible = "qcom,sm6115-clk-virt";
        #interconnect-cells = <1>;
    };

    mmnrt_virt: interconnect-mmnrt {
        compatible = "qcom,sm6115-mmnrt-virt";
        #interconnect-cells = <1>;
    };

    mmrt_virt: interconnect-mmrt {
        compatible = "qcom,sm6115-mmrt-virt";
        #interconnect-cells = <1>;
    };
};

cnoc: interconnect@1900000 {
    compatible = "qcom,sm6115-cnoc";
    reg = <0x01900000 0x8200>;
    #interconnect-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

Line 34: Child node's properties

Qualcomm SM6350 RPMh Network-On-Chip Interconnect

Peios Kernel / Hardware and drivers / Device-tree binding reference / Interconnect bindings

Schema identifier ($id): "http://devicetree.org/schemas/interconnect/qcom,sm6350-rpmh.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Luca Weiss <luca.weiss@fairphone.com>"

Qualcomm RPMh-based interconnect provider on SM6350.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "qcom,sm6350-aggre1-noc", "qcom,sm6350-aggre2-noc", "qcom,sm6350-config-noc", "qcom,sm6350-dc-noc", "qcom,sm6350-gem-noc", "qcom,sm6350-mmss-noc", "qcom,sm6350-npu-noc", "qcom,sm6350-system-noc"

reg — required here #

Maximum number of items (maxItems): 1

clocks — not listed as required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

Properties matching a name pattern (patternProperties) #

^interconnect-[a-z0-9\-]+$ — name matches this regular expression #

Value type (type): "object"

The interconnect providers do not have a separate QoS register space, but share parent's space.

Shared schema rule ($ref): qcom,rpmh-common.yaml#

Properties and child nodes (properties) #

compatible — required here

Allowed values (enum): "qcom,sm6350-clk-virt", "qcom,sm6350-compute-noc"

Required in this object (required): "compatible"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Required in this object (required): "compatible", "reg"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,rpmh-common.yaml#

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,sm6350-aggre1-noc"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

aggre UFS PHY AXI clock

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,sm6350-aggre2-noc"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

aggre USB3 PRIM AXI clock

Item 2

RPMH CC IPA clock

Rule 4 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,sm6350-aggre1-noc", "qcom,sm6350-aggre2-noc"

When the condition matches (then) #

Required in this object (required): "clocks"

When the condition does not match (else) #

Properties and child nodes (properties)

clocks — not listed as required here

false — Not permitted by this property rule.

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,gcc-sm6350.h>
#include <dt-bindings/clock/qcom,rpmh.h>

config_noc: interconnect@1500000 {
    compatible = "qcom,sm6350-config-noc";
    reg = <0x01500000 0x28000>;
    #interconnect-cells = <2>;
    qcom,bcm-voters = <&apps_bcm_voter>;
};

aggre2_noc: interconnect@1700000 {
    compatible = "qcom,sm6350-aggre2-noc";
    reg = <0x01700000 0x1f880>;
    #interconnect-cells = <2>;
    qcom,bcm-voters = <&apps_bcm_voter>;
    clocks = <&gcc GCC_AGGRE_USB3_PRIM_AXI_CLK>,
             <&rpmhcc RPMH_IPA_CLK>;

    compute_noc: interconnect-compute-noc {
        compatible = "qcom,sm6350-compute-noc";
        #interconnect-cells = <2>;
        qcom,bcm-voters = <&apps_bcm_voter>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

Qualcomm RPMh Network-On-Chip Interconnect on SM7150

Peios Kernel / Hardware and drivers / Device-tree binding reference / Interconnect bindings

Schema identifier ($id): "http://devicetree.org/schemas/interconnect/qcom,sm7150-rpmh.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Danila Tikhonov <danila@jiaxyga.com>"

RPMh interconnect providers support system bandwidth requirements through RPMh hardware accelerators known as Bus Clock Manager (BCM).

See also: include/dt-bindings/interconnect/qcom,sm7150-rpmh.h

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,rpmh-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "qcom,sm7150-aggre1-noc", "qcom,sm7150-aggre2-noc", "qcom,sm7150-compute-noc", "qcom,sm7150-config-noc", "qcom,sm7150-dc-noc", "qcom,sm7150-gem-noc", "qcom,sm7150-mc-virt", "qcom,sm7150-mmss-noc", "qcom,sm7150-system-noc"

reg — required here #

Maximum number of items (maxItems): 1

Properties matching a name pattern (patternProperties) #

^interconnect-[0-9]+$ — name matches this regular expression #

Value type (type): "object"

The interconnect providers do not have a separate QoS register space, but share parent's space.

All of these rules must match (allOf) #

Rule 1

Shared schema rule ($ref): qcom,rpmh-common.yaml#

Properties and child nodes (properties) #

compatible — required here

Allowed values (enum): "qcom,sm7150-camnoc-virt"

Required in this object (required): "compatible"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Required in this object (required): "compatible", "reg"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

mc_virt: interconnect@1380000 {
    compatible = "qcom,sm7150-mc-virt";
    reg = <0x01380000 0x40000>;
    #interconnect-cells = <2>;
    qcom,bcm-voters = <&apps_bcm_voter>;
};

system_noc: interconnect@1620000 {
    compatible = "qcom,sm7150-system-noc";
    reg = <0x01620000 0x40000>;
    #interconnect-cells = <2>;
    qcom,bcm-voters = <&apps_bcm_voter>;

    camnoc_virt: interconnect-0 {
        compatible = "qcom,sm7150-camnoc-virt";
        #interconnect-cells = <2>;
        qcom,bcm-voters = <&apps_bcm_voter>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Line 37: Child node's properties

Qualcomm RPMh Network-On-Chip Interconnect on SM8450

Peios Kernel / Hardware and drivers / Device-tree binding reference / Interconnect bindings

Schema identifier ($id): "http://devicetree.org/schemas/interconnect/qcom,sm8450-rpmh.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Bjorn Andersson <andersson@kernel.org>", "Konrad Dybcio <konradybcio@kernel.org>"

RPMh interconnect providers support system bandwidth requirements through RPMh hardware accelerators known as Bus Clock Manager (BCM).

See also: include/dt-bindings/interconnect/qcom,sm8450.h

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "qcom,sm8450-aggre1-noc", "qcom,sm8450-aggre2-noc", "qcom,sm8450-clk-virt", "qcom,sm8450-config-noc", "qcom,sm8450-gem-noc", "qcom,sm8450-lpass-ag-noc", "qcom,sm8450-mc-virt", "qcom,sm8450-mmss-noc", "qcom,sm8450-nsp-noc", "qcom,sm8450-pcie-anoc", "qcom,sm8450-system-noc"

reg — not listed as required here #

Maximum number of items (maxItems): 1

clocks — not listed as required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 4

Required in this object (required): "compatible"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,rpmh-common.yaml#

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,sm8450-clk-virt", "qcom,sm8450-mc-virt"

When the condition matches (then) #

Properties and child nodes (properties)

reg — not listed as required here

false — Not permitted by this property rule.

When the condition does not match (else) #

Required in this object (required): "reg"

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,sm8450-aggre1-noc"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

aggre UFS PHY AXI clock

Item 2

aggre USB3 PRIM AXI clock

Rule 4 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,sm8450-aggre2-noc"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

aggre-NOC PCIe 0 AXI clock

Item 2

aggre-NOC PCIe 1 AXI clock

Item 3

aggre UFS PHY AXI clock

Item 4

RPMH CC IPA clock

Rule 5 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,sm8450-aggre1-noc", "qcom,sm8450-aggre2-noc"

When the condition matches (then) #

Required in this object (required): "clocks"

When the condition does not match (else) #

Properties and child nodes (properties)

clocks — not listed as required here

false — Not permitted by this property rule.

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,gcc-sm8450.h>
#include <dt-bindings/clock/qcom,rpmh.h>

interconnect-0 {
    compatible = "qcom,sm8450-clk-virt";
    #interconnect-cells = <2>;
    qcom,bcm-voters = <&apps_bcm_voter>;
};

interconnect@1700000 {
    compatible = "qcom,sm8450-aggre2-noc";
    reg = <0x01700000 0x31080>;
    #interconnect-cells = <2>;
    qcom,bcm-voters = <&apps_bcm_voter>;
    clocks = <&gcc GCC_AGGRE_NOC_PCIE_0_AXI_CLK>,
             <&gcc GCC_AGGRE_NOC_PCIE_1_AXI_CLK>,
             <&gcc GCC_AGGRE_UFS_PHY_AXI_CLK>,
             <&rpmhcc RPMH_IPA_CLK>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Qualcomm RPMh Network-On-Chip Interconnect on SM8550

Peios Kernel / Hardware and drivers / Device-tree binding reference / Interconnect bindings

Schema identifier ($id): "http://devicetree.org/schemas/interconnect/qcom,sm8550-rpmh.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Abel Vesa <abel.vesa@linaro.org>", "Neil Armstrong <neil.armstrong@linaro.org>"

RPMh interconnect providers support system bandwidth requirements through RPMh hardware accelerators known as Bus Clock Manager (BCM). The provider is able to communicate with the BCM through the Resource State Coordinator (RSC) associated with each execution environment. Provider nodes must point to at least one RPMh device child node pertaining to their RSC and each provider can map to multiple RPMh resources.

See also: include/dt-bindings/interconnect/qcom,sm8550-rpmh.h

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "qcom,sm8550-aggre1-noc", "qcom,sm8550-aggre2-noc", "qcom,sm8550-clk-virt", "qcom,sm8550-cnoc-main", "qcom,sm8550-config-noc", "qcom,sm8550-gem-noc", "qcom,sm8550-lpass-ag-noc", "qcom,sm8550-lpass-lpiaon-noc", "qcom,sm8550-lpass-lpicx-noc", "qcom,sm8550-mc-virt", "qcom,sm8550-mmss-noc", "qcom,sm8550-nsp-noc", "qcom,sm8550-pcie-anoc", "qcom,sm8550-system-noc"

reg — not listed as required here #

Maximum number of items (maxItems): 1

clocks — not listed as required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,rpmh-common.yaml#

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,sm8550-clk-virt", "qcom,sm8550-mc-virt"

When the condition matches (then) #

Properties and child nodes (properties)

reg — not listed as required here

false — Not permitted by this property rule.

When the condition does not match (else) #

Required in this object (required): "reg"

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,sm8550-pcie-anoc"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

aggre-NOC PCIe AXI clock

Item 2

cfg-NOC PCIe a-NOC AHB clock

Rule 4 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,sm8550-aggre1-noc"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

aggre UFS PHY AXI clock

Item 2

aggre USB3 PRIM AXI clock

Rule 5 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,sm8550-aggre2-noc"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

RPMH CC IPA clock

Rule 6 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,sm8550-aggre1-noc", "qcom,sm8550-aggre2-noc", "qcom,sm8550-pcie-anoc"

When the condition matches (then) #

Required in this object (required): "clocks"

When the condition does not match (else) #

Properties and child nodes (properties)

clocks — not listed as required here

false — Not permitted by this property rule.

Required in this object (required): "compatible"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,sm8550-gcc.h>

clk_virt: interconnect-0 {
  compatible = "qcom,sm8550-clk-virt";
  #interconnect-cells = <2>;
  qcom,bcm-voters = <&apps_bcm_voter>;
};

aggre1_noc: interconnect@16e0000 {
  compatible = "qcom,sm8550-aggre1-noc";
  reg = <0x016e0000 0x14400>;
  #interconnect-cells = <2>;
  clocks = <&gcc GCC_AGGRE_UFS_PHY_AXI_CLK>,
           <&gcc GCC_AGGRE_USB3_PRIM_AXI_CLK>;
  qcom,bcm-voters = <&apps_bcm_voter>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

Qualcomm RPMh Network-On-Chip Interconnect on SM8650

Peios Kernel / Hardware and drivers / Device-tree binding reference / Interconnect bindings

Schema identifier ($id): "http://devicetree.org/schemas/interconnect/qcom,sm8650-rpmh.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Abel Vesa <abel.vesa@linaro.org>", "Neil Armstrong <neil.armstrong@linaro.org>"

RPMh interconnect providers support system bandwidth requirements through RPMh hardware accelerators known as Bus Clock Manager (BCM). The provider is able to communicate with the BCM through the Resource State Coordinator (RSC) associated with each execution environment. Provider nodes must point to at least one RPMh device child node pertaining to their RSC and each provider can map to multiple RPMh resources.

See also: include/dt-bindings/interconnect/qcom,sm8650-rpmh.h

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "qcom,sm8650-aggre1-noc", "qcom,sm8650-aggre2-noc", "qcom,sm8650-clk-virt", "qcom,sm8650-cnoc-main", "qcom,sm8650-config-noc", "qcom,sm8650-gem-noc", "qcom,sm8650-lpass-ag-noc", "qcom,sm8650-lpass-lpiaon-noc", "qcom,sm8650-lpass-lpicx-noc", "qcom,sm8650-mc-virt", "qcom,sm8650-mmss-noc", "qcom,sm8650-nsp-noc", "qcom,sm8650-pcie-anoc", "qcom,sm8650-system-noc"

reg — not listed as required here #

Maximum number of items (maxItems): 1

clocks — not listed as required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

Required in this object (required): "compatible"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,rpmh-common.yaml#

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,sm8650-clk-virt", "qcom,sm8650-mc-virt"

When the condition matches (then) #

Properties and child nodes (properties)

reg — not listed as required here

false — Not permitted by this property rule.

When the condition does not match (else) #

Required in this object (required): "reg"

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,sm8650-pcie-anoc"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

aggre-NOC PCIe AXI clock

Item 2

cfg-NOC PCIe a-NOC AHB clock

Rule 4 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,sm8650-aggre1-noc"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

aggre UFS PHY AXI clock

Item 2

aggre USB3 PRIM AXI clock

Rule 5 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,sm8650-aggre2-noc"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

RPMH CC IPA clock

Rule 6 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,sm8650-aggre1-noc", "qcom,sm8650-aggre2-noc", "qcom,sm8650-pcie-anoc"

When the condition matches (then) #

Required in this object (required): "clocks"

When the condition does not match (else) #

Properties and child nodes (properties)

clocks — not listed as required here

false — Not permitted by this property rule.

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

clk_virt: interconnect-0 {
  compatible = "qcom,sm8650-clk-virt";
  #interconnect-cells = <2>;
  qcom,bcm-voters = <&apps_bcm_voter>;
};

aggre1_noc: interconnect@16e0000 {
  compatible = "qcom,sm8650-aggre1-noc";
  reg = <0x016e0000 0x14400>;
  #interconnect-cells = <2>;
  clocks = <&gcc_phy_axi_clk>, <&gcc_prim_axi_clk>;
  qcom,bcm-voters = <&apps_bcm_voter>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

Qualcomm RPMh Network-On-Chip Interconnect on SM8750

Peios Kernel / Hardware and drivers / Device-tree binding reference / Interconnect bindings

Schema identifier ($id): "http://devicetree.org/schemas/interconnect/qcom,sm8750-rpmh.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Abel Vesa <abel.vesa@linaro.org>", "Neil Armstrong <neil.armstrong@linaro.org>"

RPMh interconnect providers support system bandwidth requirements through RPMh hardware accelerators known as Bus Clock Manager (BCM). The provider is able to communicate with the BCM through the Resource State Coordinator (RSC) associated with each execution environment. Provider nodes must point to at least one RPMh device child node pertaining to their RSC and each provider can map to multiple RPMh resources.

See also: include/dt-bindings/interconnect/qcom,sm8750-rpmh.h

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "qcom,sm8750-aggre1-noc", "qcom,sm8750-aggre2-noc", "qcom,sm8750-clk-virt", "qcom,sm8750-cnoc-main", "qcom,sm8750-config-noc", "qcom,sm8750-gem-noc", "qcom,sm8750-lpass-ag-noc", "qcom,sm8750-lpass-lpiaon-noc", "qcom,sm8750-lpass-lpicx-noc", "qcom,sm8750-mc-virt", "qcom,sm8750-mmss-noc", "qcom,sm8750-nsp-noc", "qcom,sm8750-pcie-anoc", "qcom,sm8750-system-noc"

reg — not listed as required here #

Maximum number of items (maxItems): 1

clocks — not listed as required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

Required in this object (required): "compatible"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,rpmh-common.yaml#

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,sm8750-clk-virt", "qcom,sm8750-mc-virt"

When the condition matches (then) #

Properties and child nodes (properties)

reg — not listed as required here

false — Not permitted by this property rule.

When the condition does not match (else) #

Required in this object (required): "reg"

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,sm8750-pcie-anoc"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

aggre-NOC PCIe AXI clock

Item 2

cfg-NOC PCIe a-NOC AHB clock

Rule 4 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,sm8750-aggre1-noc"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

aggre UFS PHY AXI clock

Item 2

aggre USB3 PRIM AXI clock

Rule 5 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,sm8750-aggre2-noc"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

RPMH CC IPA clock

Rule 6 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,sm8750-aggre1-noc", "qcom,sm8750-aggre2-noc", "qcom,sm8750-pcie-anoc"

When the condition matches (then) #

Required in this object (required): "clocks"

When the condition does not match (else) #

Properties and child nodes (properties)

clocks — not listed as required here

false — Not permitted by this property rule.

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

clk_virt: interconnect-0 {
  compatible = "qcom,sm8750-clk-virt";
  #interconnect-cells = <2>;
  qcom,bcm-voters = <&apps_bcm_voter>;
};

aggre1_noc: interconnect@16e0000 {
  compatible = "qcom,sm8750-aggre1-noc";
  reg = <0x016e0000 0x16400>;
  #interconnect-cells = <2>;
  clocks = <&gcc_phy_axi_clk>, <&gcc_prim_axi_clk>;
  qcom,bcm-voters = <&apps_bcm_voter>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

Qualcomm RPMh Network-On-Chip Interconnect on X1E80100

Peios Kernel / Hardware and drivers / Device-tree binding reference / Interconnect bindings

Schema identifier ($id): "http://devicetree.org/schemas/interconnect/qcom,x1e80100-rpmh.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Rajendra Nayak <quic_rjendra@quicinc.com>", "Abel Vesa <abel.vesa@linaro.org>"

RPMh interconnect providers support system bandwidth requirements through RPMh hardware accelerators known as Bus Clock Manager (BCM). The provider is able to communicate with the BCM through the Resource State Coordinator (RSC) associated with each execution environment. Provider nodes must point to at least one RPMh device child node pertaining to their RSC and each provider can map to multiple RPMh resources.

See also: include/dt-bindings/interconnect/qcom,x1e80100-rpmh.h

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "qcom,x1e80100-aggre1-noc", "qcom,x1e80100-aggre2-noc", "qcom,x1e80100-clk-virt", "qcom,x1e80100-cnoc-cfg", "qcom,x1e80100-cnoc-main", "qcom,x1e80100-gem-noc", "qcom,x1e80100-lpass-ag-noc", "qcom,x1e80100-lpass-lpiaon-noc", "qcom,x1e80100-lpass-lpicx-noc", "qcom,x1e80100-mc-virt", "qcom,x1e80100-mmss-noc", "qcom,x1e80100-nsp-noc", "qcom,x1e80100-pcie-center-anoc", "qcom,x1e80100-pcie-north-anoc", "qcom,x1e80100-pcie-south-anoc", "qcom,x1e80100-system-noc", "qcom,x1e80100-usb-center-anoc", "qcom,x1e80100-usb-north-anoc", "qcom,x1e80100-usb-south-anoc"

reg — not listed as required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,rpmh-common.yaml#

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,x1e80100-clk-virt", "qcom,x1e80100-mc-virt"

When the condition matches (then) #

Properties and child nodes (properties)

reg — not listed as required here

false — Not permitted by this property rule.

When the condition does not match (else) #

Required in this object (required): "reg"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

clk_virt: interconnect-0 {
  compatible = "qcom,x1e80100-clk-virt";
  #interconnect-cells = <2>;
  qcom,bcm-voters = <&apps_bcm_voter>;
};

aggre1_noc: interconnect@16e0000 {
  compatible = "qcom,x1e80100-aggre1-noc";
  reg = <0x016e0000 0x14400>;
  #interconnect-cells = <2>;
  qcom,bcm-voters = <&apps_bcm_voter>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

Samsung Exynos SoC Bus and Interconnect

Peios Kernel / Hardware and drivers / Device-tree binding reference / Interconnect bindings

Schema identifier ($id): "http://devicetree.org/schemas/interconnect/samsung,exynos-bus.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Chanwoo Choi <cw00.choi@samsung.com>", "Krzysztof Kozlowski <krzk@kernel.org>"

The Samsung Exynos SoC has many buses for data transfer between DRAM and sub-blocks in SoC. Most Exynos SoCs share the common architecture for buses. Generally, each bus of Exynos SoC includes a source clock and a power line, which are able to change the clock frequency of the bus in runtime. To monitor the usage of each bus in runtime, the driver uses the PPMU (Platform Performance Monitoring Unit), which is able to measure the current load of sub-blocks.

The Exynos SoC includes the various sub-blocks which have the each AXI bus. The each AXI bus has the owned source clock but, has not the only owned power line. The power line might be shared among one more sub-blocks. So, we can divide into two type of device as the role of each sub-block. There are two type of bus devices as following:: - parent bus device - passive bus device

Basically, parent and passive bus device share the same power line. The parent bus device can only change the voltage of shared power line and the rest bus devices (passive bus device) depend on the decision of the parent bus device. If there are three blocks which share the VDD_xxx power line, Only one block should be parent device and then the rest blocks should depend on the parent device as passive device.

  VDD_xxx |--- A block (parent)
    |--- B block (passive)
    |--- C block (passive)

There are a little different composition among Exynos SoC because each Exynos SoC has different sub-blocks. Therefore, such difference should be specified in devicetree file instead of each device driver. In result, this driver is able to support the bus frequency for all Exynos SoCs.

Detailed correlation between sub-blocks and power line according
to Exynos SoC::
 - In case of Exynos3250, there are two power line as following::
   VDD_MIF |--- DMC (Dynamic Memory Controller)
   VDD_INT |--- LEFTBUS (parent device)
     |--- PERIL
     |--- MFC
     |--- G3D
     |--- RIGHTBUS
     |--- PERIR
     |--- FSYS
     |--- LCD0
     |--- PERIR
     |--- ISP
     |--- CAM
   - MIF bus's frequency/voltage table
     -----------------------
     |Lv| Freq   | Voltage |
     -----------------------
     |L1| 50000  |800000   |
     |L2| 100000 |800000   |
     |L3| 134000 |800000   |
     |L4| 200000 |825000   |
     |L5| 400000 |875000   |
     -----------------------
   - INT bus's frequency/voltage table
     ----------------------------------------------------------
     |Block|LEFTBUS|RIGHTBUS|MCUISP |ISP    |PERIL  ||VDD_INT |
     | name|       |LCD0    |       |       |       ||        |
     |     |       |FSYS    |       |       |       ||        |
     |     |       |MFC     |       |       |       ||        |
     ----------------------------------------------------------
     |Mode |*parent|passive |passive|passive|passive||        |
     ----------------------------------------------------------
     |Lv   |Frequency                               ||Voltage |
     ----------------------------------------------------------
     |L1   |50000  |50000   |50000  |50000  |50000  ||900000  |
     |L2   |80000  |80000   |80000  |80000  |80000  ||900000  |
     |L3   |100000 |100000  |100000 |100000 |100000 ||1000000 |
     |L4   |134000 |134000  |200000 |200000 |       ||1000000 |
     |L5   |200000 |200000  |400000 |300000 |       ||1000000 |
     ----------------------------------------------------------
 - In case of Exynos4210, there is one power line as following::
   VDD_INT |--- DMC (parent device, Dynamic Memory Controller)
     |--- LEFTBUS
     |--- PERIL
     |--- MFC(L)
     |--- G3D
     |--- TV
     |--- LCD0
     |--- RIGHTBUS
     |--- PERIR
     |--- MFC(R)
     |--- CAM
     |--- FSYS
     |--- GPS
     |--- LCD0
     |--- LCD1
 - In case of Exynos4x12, there are two power line as following::
   VDD_MIF |--- DMC (Dynamic Memory Controller)
   VDD_INT |--- LEFTBUS (parent device)
     |--- PERIL
     |--- MFC(L)
     |--- G3D
     |--- TV
     |--- IMAGE
     |--- RIGHTBUS
     |--- PERIR
     |--- MFC(R)
     |--- CAM
     |--- FSYS
     |--- GPS
     |--- LCD0
     |--- ISP
 - In case of Exynos5422, there are two power line as following::
   VDD_MIF |--- DREX 0 (parent device, DRAM EXpress controller)
           |--- DREX 1
   VDD_INT |--- NoC_Core (parent device)
     |--- G2D
     |--- G3D
     |--- DISP1
     |--- NoC_WCORE
     |--- GSCL
     |--- MSCL
     |--- ISP
     |--- MFC
     |--- GEN
     |--- PERIS
     |--- PERIC
     |--- FSYS
     |--- FSYS2
 - In case of Exynos5433, there is VDD_INT power line as following::
   VDD_INT |--- G2D (parent device)
     |--- MSCL
     |--- GSCL
     |--- JPEG
     |--- MFC
     |--- HEVC
     |--- BUS0
     |--- BUS1
     |--- BUS2
     |--- PERIS (Fixed clock rate)
     |--- PERIC (Fixed clock rate)
     |--- FSYS  (Fixed clock rate)

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "samsung,exynos-bus"

clocks — required here #

Maximum number of items (maxItems): 1

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "bus"

devfreq — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

Parent bus device. Valid and required only for the passive bus devices.

devfreq-events — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 4

Devfreq-event device to monitor the current utilization of buses. Valid and required only for the parent bus devices.

exynos,saturation-ratio — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Percentage value which is used to calibrate the performance count against total cycle count. Valid only for the parent bus devices.

#interconnect-cells — not listed as required here #

Exact value (const): 0

interconnects — not listed as required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

operating-points-v2 — required here #

true — No constraints added by this property rule.

opp-table — not listed as required here #

Value type (type): "object"

samsung,data-clock-ratio — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Default value (default): 8

Ratio of the data throughput in B/s to minimum data clock frequency in Hz.

vdd-supply — not listed as required here #

Main bus power rail. Valid and required only for the parent bus devices.

Required in this object (required): "compatible", "clocks", "clock-names", "operating-points-v2"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/exynos3250.h>

bus-dmc {
    compatible = "samsung,exynos-bus";
    clocks = <&cmu_dmc CLK_DIV_DMC>;
    clock-names = "bus";
    operating-points-v2 = <&bus_dmc_opp_table>;
    devfreq-events = <&ppmu_dmc0_3>, <&ppmu_dmc1_3>;
    vdd-supply = <&buck1_reg>;

    bus_dmc_opp_table: opp-table {
        compatible = "operating-points-v2";

        opp-50000000 {
            opp-hz = /bits/ 64 <50000000>;
            opp-microvolt = <800000>;
        };
        opp-100000000 {
            opp-hz = /bits/ 64 <100000000>;
            opp-microvolt = <800000>;
        };
        opp-134000000 {
            opp-hz = /bits/ 64 <134000000>;
            opp-microvolt = <800000>;
        };
        opp-200000000 {
            opp-hz = /bits/ 64 <200000000>;
            opp-microvolt = <825000>;
        };
        opp-400000000 {
            opp-hz = /bits/ 64 <400000000>;
            opp-microvolt = <875000>;
        };
    };
};

ppmu_dmc0: ppmu@106a0000 {
    compatible = "samsung,exynos-ppmu";
    reg = <0x106a0000 0x2000>;
    events {
        ppmu_dmc0_3: ppmu-event3-dmc0 {
            event-name = "ppmu-event3-dmc0";
        };
    };
};

bus_leftbus: bus-leftbus {
    compatible = "samsung,exynos-bus";
    clocks = <&cmu CLK_DIV_GDL>;
    clock-names = "bus";
    operating-points-v2 = <&bus_leftbus_opp_table>;
    devfreq-events = <&ppmu_leftbus_3>, <&ppmu_rightbus_3>;
    vdd-supply = <&buck3_reg>;
};

bus-rightbus {
    compatible = "samsung,exynos-bus";
    clocks = <&cmu CLK_DIV_GDR>;
    clock-names = "bus";
    operating-points-v2 = <&bus_leftbus_opp_table>;
    devfreq = <&bus_leftbus>;
};
dmc: bus-dmc {
    compatible = "samsung,exynos-bus";
    clocks = <&clock CLK_DIV_DMC>;
    clock-names = "bus";
    operating-points-v2 = <&bus_dmc_opp_table>;
    samsung,data-clock-ratio = <4>;
    #interconnect-cells = <0>;
    devfreq-events = <&ppmu_dmc0_3>, <&ppmu_dmc1_3>;
    vdd-supply = <&buck1_reg>;
};

leftbus: bus-leftbus {
    compatible = "samsung,exynos-bus";
    clocks = <&clock CLK_DIV_GDL>;
    clock-names = "bus";
    operating-points-v2 = <&bus_leftbus_opp_table>;
    interconnects = <&dmc>;
    #interconnect-cells = <0>;
    devfreq-events = <&ppmu_leftbus_3>, <&ppmu_rightbus_3>;
    vdd-supply = <&buck3_reg>;
};

display: bus-display {
    compatible = "samsung,exynos-bus";
    clocks = <&clock CLK_DIV_ACLK_266>;
    clock-names = "bus";
    operating-points-v2 = <&bus_display_opp_table>;
    interconnects = <&leftbus &dmc>;
    #interconnect-cells = <0>;
    devfreq = <&leftbus>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Peios Learn — documentation for Peios software.

Built with Trail.