Arm CoreSight Static Trace Bus Replicator

Schema identifier ($id): "http://devicetree.org/schemas/arm/arm,coresight-static-replicator.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 replicator splits a single trace stream into two trace streams for systems that have more than one trace sink component.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "arm,coresight-static-replicator"

power-domains — 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): 3

clock-names — not listed as required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

Allowed values (enum): "apb_pclk", "atclk"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "apb_pclk"

Item 2

Exact value (const): "dbg_trc"

Item 3

Exact value (const): "dbg_apb"

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 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

Input connection 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 matching a name pattern (patternProperties) #

^port@[01]$ — name matches this regular expression

Output connections to CoreSight Trace bus

Shared schema rule ($ref): /schemas/graph.yaml#/$defs/port-base

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

Properties and child nodes (properties)

endpoint — not listed as required here

Shared schema rule ($ref): /schemas/graph.yaml#/$defs/endpoint-base

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

Properties and child nodes (properties)

filter-source — not listed as required here

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

phandle to the coresight trace source device matching the hard coded filtering for this port

remote-endpoint — not listed as required here

true — No constraints added by this property rule.

Required in this object (required): "compatible", "in-ports", "out-ports"

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

false

Not allowed by this rule.

Examples (examples) #

replicator {
    /*
     * non-configurable replicators don't show up on the
     * AMBA bus.  As such no need to add "arm,primecell".
     */
    compatible = "arm,coresight-static-replicator";

    out-ports {
        #address-cells = <1>;
        #size-cells = <0>;

        /* replicator output ports */
        port@0 {
            reg = <0>;
            replicator_out_port0: endpoint {
                remote-endpoint = <&etb_in_port>;
                filter-source = <&tpdm_video>;
            };
        };

        port@1 {
            reg = <1>;
            replicator_out_port1: endpoint {
                remote-endpoint = <&tpiu_in_port>;
                filter-source = <&tpdm_mdss>;
            };
        };
    };

    in-ports {
        port {
            replicator_in_port0: endpoint {
                remote-endpoint = <&funnel_out_port0>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Line 41: Zynq-700

Edit this page