xref: /freebsd/sys/contrib/device-tree/Bindings/perf/arm,dsu-pmu.yaml (revision 8bab661a3316d8bd9b9fbd11a3b4371b91507bd2)
1*e67e8565SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*e67e8565SEmmanuel Vadot# Copyright 2021 Arm Ltd.
3*e67e8565SEmmanuel Vadot%YAML 1.2
4*e67e8565SEmmanuel Vadot---
5*e67e8565SEmmanuel Vadot$id: http://devicetree.org/schemas/perf/arm,dsu-pmu.yaml#
6*e67e8565SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
7*e67e8565SEmmanuel Vadot
8*e67e8565SEmmanuel Vadottitle: ARM DynamIQ Shared Unit (DSU) Performance Monitor Unit (PMU)
9*e67e8565SEmmanuel Vadot
10*e67e8565SEmmanuel Vadotmaintainers:
11*e67e8565SEmmanuel Vadot  - Suzuki K Poulose <suzuki.poulose@arm.com>
12*e67e8565SEmmanuel Vadot  - Robin Murphy <robin.murphy@arm.com>
13*e67e8565SEmmanuel Vadot
14*e67e8565SEmmanuel Vadotdescription:
15*e67e8565SEmmanuel Vadot  ARM DynamIQ Shared Unit (DSU) integrates one or more CPU cores with a shared
16*e67e8565SEmmanuel Vadot  L3 memory system, control logic and external interfaces to form a multicore
17*e67e8565SEmmanuel Vadot  cluster. The PMU enables gathering various statistics on the operation of the
18*e67e8565SEmmanuel Vadot  DSU. The PMU provides independent 32-bit counters that can count any of the
19*e67e8565SEmmanuel Vadot  supported events, along with a 64-bit cycle counter. The PMU is accessed via
20*e67e8565SEmmanuel Vadot  CPU system registers and has no MMIO component.
21*e67e8565SEmmanuel Vadot
22*e67e8565SEmmanuel Vadotproperties:
23*e67e8565SEmmanuel Vadot  compatible:
24*e67e8565SEmmanuel Vadot    oneOf:
25*e67e8565SEmmanuel Vadot      - const: arm,dsu-pmu
26*e67e8565SEmmanuel Vadot      - items:
27*e67e8565SEmmanuel Vadot          - const: arm,dsu-110-pmu
28*e67e8565SEmmanuel Vadot          - const: arm,dsu-pmu
29*e67e8565SEmmanuel Vadot
30*e67e8565SEmmanuel Vadot  interrupts:
31*e67e8565SEmmanuel Vadot    items:
32*e67e8565SEmmanuel Vadot      - description: nCLUSTERPMUIRQ interrupt
33*e67e8565SEmmanuel Vadot
34*e67e8565SEmmanuel Vadot  cpus:
35*e67e8565SEmmanuel Vadot    minItems: 1
36*e67e8565SEmmanuel Vadot    maxItems: 12
37*e67e8565SEmmanuel Vadot    description: List of phandles for the CPUs connected to this DSU instance.
38*e67e8565SEmmanuel Vadot
39*e67e8565SEmmanuel Vadotrequired:
40*e67e8565SEmmanuel Vadot  - compatible
41*e67e8565SEmmanuel Vadot  - interrupts
42*e67e8565SEmmanuel Vadot  - cpus
43*e67e8565SEmmanuel Vadot
44*e67e8565SEmmanuel VadotadditionalProperties: false
45