Skip to content

Commit 66461b4

Browse files
JiShengTeohwilldeacon
authored andcommitted
dt-bindings: perf: starfive: Add JH8100 StarLink PMU
Add device tree binding for StarFive's JH8100 StarLink PMU (Performance Monitor Unit). Signed-off-by: Ji Sheng Teoh <[email protected]> Reviewed-by: Conor Dooley <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Will Deacon <[email protected]>
1 parent c2b2481 commit 66461b4

File tree

1 file changed

+46
-0
lines changed

1 file changed

+46
-0
lines changed
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/perf/starfive,jh8100-starlink-pmu.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: StarFive JH8100 StarLink PMU
8+
9+
maintainers:
10+
- Ji Sheng Teoh <[email protected]>
11+
12+
description:
13+
StarFive's JH8100 StarLink PMU integrates one or more CPU cores with a
14+
shared L3 memory system. The PMU support overflow interrupt, up to
15+
16 programmable 64bit event counters, and an independent 64bit cycle
16+
counter. StarFive's JH8100 StarLink PMU is accessed via MMIO.
17+
18+
properties:
19+
compatible:
20+
const: starfive,jh8100-starlink-pmu
21+
22+
reg:
23+
maxItems: 1
24+
25+
interrupts:
26+
maxItems: 1
27+
28+
required:
29+
- compatible
30+
- reg
31+
- interrupts
32+
33+
additionalProperties: false
34+
35+
examples:
36+
- |
37+
soc {
38+
#address-cells = <2>;
39+
#size-cells = <2>;
40+
41+
pmu@12900000 {
42+
compatible = "starfive,jh8100-starlink-pmu";
43+
reg = <0x0 0x12900000 0x0 0x10000>;
44+
interrupts = <34>;
45+
};
46+
};

0 commit comments

Comments
 (0)