Tom Rini | 6bb92fc | 2024-05-20 09:54:58 -0600 | [diff] [blame] | 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 <jisheng.teoh@starfivetech.com> |
| 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 | }; |