# C-SKY Performance Monitor Units

_Peios Kernel / Hardware and drivers / Device tree / bindings/csky_

> Device-tree binding reference for C-SKY Performance Monitor Units.

---

C-SKY Performance Monitor is designed for ck807/ck810/ck860 SMP soc and
it could count cpu's events for helping analysis performance issues.

---

## PMU node bindings definition

```text
	Description: Describes PMU
```

```text
	PROPERTIES
```

- compatible
  Usage: required
  Value type: &lt;string&gt;
  Definition: must be "csky,csky-pmu"
- interrupts
  Usage: required
  Value type: &lt;u32 IRQ\_TYPE\_XXX&gt;
  Definition: must be pmu irq num defined by soc
- count-width
  Usage: optional
  Value type: &lt;u32&gt;
  Definition: the width of pmu counter

## Examples:

```dts
#include <dt-bindings/interrupt-controller/irq.h>
```

```dts
	pmu: performace-monitor {
		compatible = "csky,csky-pmu";
		interrupts = <23 IRQ_TYPE_EDGE_RISING>;
		interrupt-parent = <&intc>;
		count-width = <48>;
        };
```
