Qualcomm RPMh Network-On-Chip Interconnect on SM8450

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

Edit this page