Qualcomm TBU (Translation Buffer Unit)
Schema identifier ($id): "http://devicetree.org/schemas/iommu/qcom,tbu.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Georgi Djakov <quic_c_gdjako@quicinc.com>"
The Qualcomm SMMU500 implementation consists of TCU and TBU. The TBU contains a Translation Lookaside Buffer (TLB) that caches page tables. TBUs provides debug features to trace and trigger debug transactions. There are multiple TBU instances with each client core.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "qcom,sc7280-tbu", "qcom,sdm845-tbu"
reg — required here #
Maximum number of items (maxItems): 1
clocks — not listed as required here #
Maximum number of items (maxItems): 1
interconnects — not listed as required here #
Maximum number of items (maxItems): 1
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
qcom,stream-id-range — required here #
Phandle of a SMMU device and Stream ID range (address and size) that is assigned by the TBU
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array
Array item rules (items) #
Item 1
Array item rules (
items)Item 1
phandle of a smmu node
Item 2
stream id base address
Item 3
stream id size
Required in this object (required): "compatible", "reg", "qcom,stream-id-range"
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-sdm845.h>
#include <dt-bindings/interconnect/qcom,icc.h>
#include <dt-bindings/interconnect/qcom,sdm845.h>
tbu@150e1000 {
compatible = "qcom,sdm845-tbu";
reg = <0x150e1000 0x1000>;
clocks = <&gcc GCC_AGGRE_NOC_PCIE_TBU_CLK>;
interconnects = <&system_noc MASTER_GNOC_SNOC QCOM_ICC_TAG_ACTIVE_ONLY
&config_noc SLAVE_IMEM_CFG QCOM_ICC_TAG_ACTIVE_ONLY>;
power-domains = <&gcc HLOS1_VOTE_AGGRE_NOC_MMU_PCIE_TBU_GDSC>;
qcom,stream-id-range = <&apps_smmu 0x1c00 0x400>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)