Qualcomm Trace Network On Chip - TNOC

Schema identifier ($id): "http://devicetree.org/schemas/arm/qcom,coresight-tnoc.yaml#"

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

Maintainers (maintainers): "Yuanfang Zhang <yuanfang.zhang@oss.qualcomm.com>"

The Trace Network On Chip (TNOC) is an integration hierarchy hardware component that integrates the functionalities of TPDA and funnels. It sits in the different subsystem of SOC and aggregates the trace and transports it to Aggregation TNOC or to coresight trace sink eventually. TNOC embeds bridges for all the interfaces APB, ATB, TPDA and NTS (Narrow Time Stamp). TNOC can take inputs from different trace sources i.e. ATB, TPDM. Note this binding is specifically intended for Aggregator TNOC instances.

Automatic schema selection (select) #

Properties and child nodes (properties) #

compatible — required here #

Rule for matching array elements (contains)

Allowed values (enum): "qcom,coresight-tnoc"

Required in this object (required): "compatible"

Properties and child nodes (properties) #

$nodename — not listed as required here #

String pattern (pattern): "^tn(@[0-9a-f]+)$"

compatible — required here #

Array item rules (items) #

Item 1

Exact value (const): "qcom,coresight-tnoc"

Item 2

Exact value (const): "arm,primecell"

reg — required here #

Maximum number of items (maxItems): 1

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "apb_pclk"

clocks — required here #

Array item rules (items) #

Item 1

APB register access clock

in-ports — required here #

Shared schema rule ($ref): /schemas/graph.yaml#/properties/ports

Properties matching a name pattern (patternProperties) #

^port(@[0-9a-f]{1,2})?$ — 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 matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

tn@109ab000  {
  compatible = "qcom,coresight-tnoc", "arm,primecell";
  reg = <0x109ab000 0x4200>;

  clocks = <&aoss_qmp>;
  clock-names = "apb_pclk";

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

    port@0 {
      reg = <0>;

      tn_ag_in_tpdm_gcc: endpoint {
        remote-endpoint = <&tpdm_gcc_out_tn_ag>;
      };
    };
  };

  out-ports {
    port {
      tn_ag_out_funnel_in1: endpoint {
        remote-endpoint = <&funnel_in1_in_tn_ag>;
      };
    };
  };
};

Source notes #

Annotations retained from the schema source

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

Line 25: Need a custom select here or 'arm,primecell' will match on lots of nodes

Edit this page