brintos

brintos / linux-shallow public Read only

0
0
Text · 2.0 KiB · 0a6bc03 Raw
82 lines · yaml
1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause2%YAML 1.23---4$id: http://devicetree.org/schemas/arm/arm,coresight-cpu-debug.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: CoreSight CPU Debug Component8 9maintainers:10  - Mathieu Poirier <mathieu.poirier@linaro.org>11  - Mike Leach <mike.leach@linaro.org>12  - Leo Yan <leo.yan@linaro.org>13  - Suzuki K Poulose <suzuki.poulose@arm.com>14 15description: |16  CoreSight CPU debug component are compliant with the ARMv8 architecture17  reference manual (ARM DDI 0487A.k) Chapter 'Part H: External debug'. The18  external debug module is mainly used for two modes: self-hosted debug and19  external debug, and it can be accessed from mmio region from Coresight and20  eventually the debug module connects with CPU for debugging. And the debug21  module provides sample-based profiling extension, which can be used to sample22  CPU program counter, secure state and exception level, etc; usually every CPU23  has one dedicated debug module to be connected.24 25select:26  properties:27    compatible:28      contains:29        const: arm,coresight-cpu-debug30  required:31    - compatible32 33allOf:34  - $ref: /schemas/arm/primecell.yaml#35 36properties:37  compatible:38    items:39      - const: arm,coresight-cpu-debug40      - const: arm,primecell41 42  reg:43    maxItems: 144 45  clocks:46    maxItems: 147 48  clock-names:49    maxItems: 150 51  cpu:52    description:53      A phandle to the cpu this debug component is bound to.54    $ref: /schemas/types.yaml#/definitions/phandle55 56  power-domains:57    maxItems: 158    description:59      A phandle to the debug power domain if the debug logic has its own60      dedicated power domain. CPU idle states may also need to be separately61      constrained to keep CPU cores powered.62 63required:64  - compatible65  - reg66  - clocks67  - clock-names68  - cpu69 70unevaluatedProperties: false71 72examples:73  - |74    debug@f6590000 {75        compatible = "arm,coresight-cpu-debug", "arm,primecell";76        reg = <0xf6590000 0x1000>;77        clocks = <&sys_ctrl 1>;78        clock-names = "apb_pclk";79        cpu = <&cpu0>;80    };81...82