1 # SPDX-License-Identifier: GPL-2.0-only OR BSD !! 1 # SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause 2 # Copyright 2021, Arm Ltd 2 # Copyright 2021, Arm Ltd 3 %YAML 1.2 3 %YAML 1.2 4 --- 4 --- 5 $id: http://devicetree.org/schemas/arm/arm,tra !! 5 $id: "http://devicetree.org/schemas/arm/arm,trace-buffer-extension.yaml#" 6 $schema: http://devicetree.org/meta-schemas/co !! 6 $schema: "http://devicetree.org/meta-schemas/core.yaml#" 7 7 8 title: ARM Trace Buffer Extensions 8 title: ARM Trace Buffer Extensions 9 9 10 maintainers: 10 maintainers: 11 - Anshuman Khandual <anshuman.khandual@arm.co 11 - Anshuman Khandual <anshuman.khandual@arm.com> 12 12 13 description: | 13 description: | 14 Arm Trace Buffer Extension (TRBE) is a per C 14 Arm Trace Buffer Extension (TRBE) is a per CPU component 15 for storing trace generated on the CPU to me 15 for storing trace generated on the CPU to memory. It is 16 accessed via CPU system registers. The softw 16 accessed via CPU system registers. The software can verify 17 if it is permitted to use the component by c 17 if it is permitted to use the component by checking the 18 TRBIDR register. 18 TRBIDR register. 19 19 20 properties: 20 properties: 21 $nodename: 21 $nodename: 22 const: trbe !! 22 const: "trbe" 23 << 24 compatible: 23 compatible: 25 items: 24 items: 26 - const: arm,trace-buffer-extension 25 - const: arm,trace-buffer-extension 27 26 28 interrupts: 27 interrupts: 29 description: | 28 description: | 30 Exactly 1 PPI must be listed. For heter 29 Exactly 1 PPI must be listed. For heterogeneous systems where 31 TRBE is only supported on a subset of t 30 TRBE is only supported on a subset of the CPUs, please consult 32 the arm,gic-v3 binding for details on d 31 the arm,gic-v3 binding for details on describing a PPI partition. 33 maxItems: 1 32 maxItems: 1 34 33 35 required: 34 required: 36 - compatible 35 - compatible 37 - interrupts 36 - interrupts 38 37 39 additionalProperties: false 38 additionalProperties: false 40 39 41 examples: 40 examples: 42 41 43 - | 42 - | 44 #include <dt-bindings/interrupt-controller/ 43 #include <dt-bindings/interrupt-controller/arm-gic.h> 45 44 46 trbe { 45 trbe { 47 compatible = "arm,trace-buffer-extension" 46 compatible = "arm,trace-buffer-extension"; 48 interrupts = <GIC_PPI 15 IRQ_TYPE_LEVEL_H 47 interrupts = <GIC_PPI 15 IRQ_TYPE_LEVEL_HIGH>; 49 }; 48 }; 50 ... 49 ...
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.