xref: /freebsd/sys/contrib/device-tree/Bindings/perf/starfive,jh8100-starlink-pmu.yaml (revision 01950c46b8155250f64374fb72fc11faa44bf099)
1*01950c46SEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2*01950c46SEmmanuel Vadot%YAML 1.2
3*01950c46SEmmanuel Vadot---
4*01950c46SEmmanuel Vadot$id: http://devicetree.org/schemas/perf/starfive,jh8100-starlink-pmu.yaml#
5*01950c46SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*01950c46SEmmanuel Vadot
7*01950c46SEmmanuel Vadottitle: StarFive JH8100 StarLink PMU
8*01950c46SEmmanuel Vadot
9*01950c46SEmmanuel Vadotmaintainers:
10*01950c46SEmmanuel Vadot  - Ji Sheng Teoh <jisheng.teoh@starfivetech.com>
11*01950c46SEmmanuel Vadot
12*01950c46SEmmanuel Vadotdescription:
13*01950c46SEmmanuel Vadot  StarFive's JH8100 StarLink PMU integrates one or more CPU cores with a
14*01950c46SEmmanuel Vadot  shared L3 memory system. The PMU support overflow interrupt, up to
15*01950c46SEmmanuel Vadot  16 programmable 64bit event counters, and an independent 64bit cycle
16*01950c46SEmmanuel Vadot  counter. StarFive's JH8100 StarLink PMU is accessed via MMIO.
17*01950c46SEmmanuel Vadot
18*01950c46SEmmanuel Vadotproperties:
19*01950c46SEmmanuel Vadot  compatible:
20*01950c46SEmmanuel Vadot    const: starfive,jh8100-starlink-pmu
21*01950c46SEmmanuel Vadot
22*01950c46SEmmanuel Vadot  reg:
23*01950c46SEmmanuel Vadot    maxItems: 1
24*01950c46SEmmanuel Vadot
25*01950c46SEmmanuel Vadot  interrupts:
26*01950c46SEmmanuel Vadot    maxItems: 1
27*01950c46SEmmanuel Vadot
28*01950c46SEmmanuel Vadotrequired:
29*01950c46SEmmanuel Vadot  - compatible
30*01950c46SEmmanuel Vadot  - reg
31*01950c46SEmmanuel Vadot  - interrupts
32*01950c46SEmmanuel Vadot
33*01950c46SEmmanuel VadotadditionalProperties: false
34*01950c46SEmmanuel Vadot
35*01950c46SEmmanuel Vadotexamples:
36*01950c46SEmmanuel Vadot  - |
37*01950c46SEmmanuel Vadot    soc {
38*01950c46SEmmanuel Vadot        #address-cells = <2>;
39*01950c46SEmmanuel Vadot        #size-cells = <2>;
40*01950c46SEmmanuel Vadot
41*01950c46SEmmanuel Vadot        pmu@12900000 {
42*01950c46SEmmanuel Vadot            compatible = "starfive,jh8100-starlink-pmu";
43*01950c46SEmmanuel Vadot            reg = <0x0 0x12900000 0x0 0x10000>;
44*01950c46SEmmanuel Vadot            interrupts = <34>;
45*01950c46SEmmanuel Vadot        };
46*01950c46SEmmanuel Vadot    };
47