1*aa1a8ff2SEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2b97ee269SEmmanuel Vadot# Copyright 2021, Arm Ltd 3b97ee269SEmmanuel Vadot%YAML 1.2 4b97ee269SEmmanuel Vadot--- 5*aa1a8ff2SEmmanuel Vadot$id: http://devicetree.org/schemas/arm/arm,embedded-trace-extension.yaml# 6*aa1a8ff2SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 7b97ee269SEmmanuel Vadot 8b97ee269SEmmanuel Vadottitle: ARM Embedded Trace Extensions 9b97ee269SEmmanuel Vadot 10b97ee269SEmmanuel Vadotmaintainers: 11b97ee269SEmmanuel Vadot - Suzuki K Poulose <suzuki.poulose@arm.com> 12b97ee269SEmmanuel Vadot - Mathieu Poirier <mathieu.poirier@linaro.org> 13b97ee269SEmmanuel Vadot 14b97ee269SEmmanuel Vadotdescription: | 15b97ee269SEmmanuel Vadot Arm Embedded Trace Extension(ETE) is a per CPU trace component that 16b97ee269SEmmanuel Vadot allows tracing the CPU execution. It overlaps with the CoreSight ETMv4 17b97ee269SEmmanuel Vadot architecture and has extended support for future architecture changes. 18b97ee269SEmmanuel Vadot The trace generated by the ETE could be stored via legacy CoreSight 19b97ee269SEmmanuel Vadot components (e.g, TMC-ETR) or other means (e.g, using a per CPU buffer 20b97ee269SEmmanuel Vadot Arm Trace Buffer Extension (TRBE)). Since the ETE can be connected to 21b97ee269SEmmanuel Vadot legacy CoreSight components, a node must be listed per instance, along 22b97ee269SEmmanuel Vadot with any optional connection graph as per the coresight bindings. 23b97ee269SEmmanuel Vadot 24b97ee269SEmmanuel Vadotproperties: 25b97ee269SEmmanuel Vadot $nodename: 26b97ee269SEmmanuel Vadot pattern: "^ete([0-9a-f]+)$" 27b97ee269SEmmanuel Vadot compatible: 28b97ee269SEmmanuel Vadot items: 29b97ee269SEmmanuel Vadot - const: arm,embedded-trace-extension 30b97ee269SEmmanuel Vadot 31b97ee269SEmmanuel Vadot cpu: 32b97ee269SEmmanuel Vadot description: | 33b97ee269SEmmanuel Vadot Handle to the cpu this ETE is bound to. 34b97ee269SEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/phandle 35b97ee269SEmmanuel Vadot 367ef62cebSEmmanuel Vadot power-domains: 377ef62cebSEmmanuel Vadot maxItems: 1 387ef62cebSEmmanuel Vadot 39b97ee269SEmmanuel Vadot out-ports: 40b97ee269SEmmanuel Vadot description: | 41b97ee269SEmmanuel Vadot Output connections from the ETE to legacy CoreSight trace bus. 42b97ee269SEmmanuel Vadot $ref: /schemas/graph.yaml#/properties/ports 43b97ee269SEmmanuel Vadot properties: 44b97ee269SEmmanuel Vadot port: 45b97ee269SEmmanuel Vadot description: Output connection from the ETE to legacy CoreSight Trace bus. 46b97ee269SEmmanuel Vadot $ref: /schemas/graph.yaml#/properties/port 47b97ee269SEmmanuel Vadot 48b97ee269SEmmanuel Vadotrequired: 49b97ee269SEmmanuel Vadot - compatible 50b97ee269SEmmanuel Vadot - cpu 51b97ee269SEmmanuel Vadot 52b97ee269SEmmanuel VadotadditionalProperties: false 53b97ee269SEmmanuel Vadot 54b97ee269SEmmanuel Vadotexamples: 55b97ee269SEmmanuel Vadot 56b97ee269SEmmanuel Vadot# An ETE node without legacy CoreSight connections 57b97ee269SEmmanuel Vadot - | 58b97ee269SEmmanuel Vadot ete0 { 59b97ee269SEmmanuel Vadot compatible = "arm,embedded-trace-extension"; 60b97ee269SEmmanuel Vadot cpu = <&cpu_0>; 61b97ee269SEmmanuel Vadot }; 62b97ee269SEmmanuel Vadot# An ETE node with legacy CoreSight connections 63b97ee269SEmmanuel Vadot - | 64b97ee269SEmmanuel Vadot ete1 { 65b97ee269SEmmanuel Vadot compatible = "arm,embedded-trace-extension"; 66b97ee269SEmmanuel Vadot cpu = <&cpu_1>; 67b97ee269SEmmanuel Vadot 68b97ee269SEmmanuel Vadot out-ports { /* legacy coresight connection */ 69b97ee269SEmmanuel Vadot port { 70b97ee269SEmmanuel Vadot ete1_out_port: endpoint { 71b97ee269SEmmanuel Vadot remote-endpoint = <&funnel_in_port0>; 72b97ee269SEmmanuel Vadot }; 73b97ee269SEmmanuel Vadot }; 74b97ee269SEmmanuel Vadot }; 75b97ee269SEmmanuel Vadot }; 76b97ee269SEmmanuel Vadot 77b97ee269SEmmanuel Vadot... 78