Arm CoreSight Programmable Trace Bus Funnel
Schema identifier ($id): "http://devicetree.org/schemas/arm/arm,coresight-dynamic-funnel.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Mathieu Poirier <mathieu.poirier@linaro.org>", "Mike Leach <mike.leach@linaro.org>", "Leo Yan <leo.yan@linaro.org>", "Suzuki K Poulose <suzuki.poulose@arm.com>"
CoreSight components are compliant with the ARM CoreSight architecture specification and can be connected in various topologies to suit a particular SoCs tracing needs. These trace components can generally be classified as sinks, links and sources. Trace data produced by one or more sources flows through the intermediate links connecting the source to the currently selected sink.
The Coresight funnel merges 2-8 trace sources into a single trace stream with programmable enable and priority of input ports.
Automatic schema selection (select) #
Properties and child nodes (
properties) #
compatible— required here #Rule for matching array elements (
contains)Exact value (
const):"arm,coresight-dynamic-funnel"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/arm/primecell.yaml#
Properties and child nodes (properties) #
compatible — required here #
Array item rules (items) #
Item 1
Exact value (
const):"arm,coresight-dynamic-funnel"
Item 2
Exact value (
const):"arm,primecell"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
clock-names — required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
Exact value (
const):"apb_pclk"
Item 2
Exact value (
const):"atclk"
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
label — not listed as required here #
Description of a coresight device.
in-ports — required here #
Shared schema rule ($ref): /schemas/graph.yaml#/properties/ports
Properties matching a name pattern (patternProperties) #
^port(@[0-7])?$ — name matches this regular expression
Input connections from CoreSight Trace bus
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
out-ports — required here #
Shared schema rule ($ref): /schemas/graph.yaml#/properties/ports
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Properties and child nodes (properties) #
port — not listed as required here
Output connection to CoreSight Trace bus
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
Required in this object (required): "compatible", "reg", "clocks", "clock-names", "in-ports", "out-ports"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
funnel@20040000 {
compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
reg = <0x20040000 0x1000>;
clocks = <&oscclk6a>;
clock-names = "apb_pclk";
out-ports {
port {
funnel_out_port0: endpoint {
remote-endpoint = <&replicator_in_port0>;
};
};
};
in-ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
funnel_in_port0: endpoint {
remote-endpoint = <&ptm0_out_port>;
};
};
port@1 {
reg = <1>;
funnel_in_port1: endpoint {
remote-endpoint = <&ptm1_out_port>;
};
};
port@2 {
reg = <2>;
funnel_in_port2: endpoint {
remote-endpoint = <&etm0_out_port>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Line 26: Need a custom select here or 'arm,primecell' will match on lots of nodes