xref: /freebsd/sys/contrib/device-tree/Bindings/perf/fsl-imx-ddr.yaml (revision dd41de95a84d979615a2ef11df6850622bf6184e)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/perf/fsl-imx-ddr.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Freescale(NXP) IMX8 DDR performance monitor
8
9maintainers:
10  - Frank Li <frank.li@nxp.com>
11
12properties:
13  compatible:
14    oneOf:
15      - enum:
16          - fsl,imx8-ddr-pmu
17          - fsl,imx8m-ddr-pmu
18          - fsl,imx8mp-ddr-pmu
19      - items:
20          - enum:
21              - fsl,imx8mm-ddr-pmu
22              - fsl,imx8mn-ddr-pmu
23              - fsl,imx8mq-ddr-pmu
24              - fsl,imx8mp-ddr-pmu
25          - const: fsl,imx8m-ddr-pmu
26
27  reg:
28    maxItems: 1
29
30  interrupts:
31    maxItems: 1
32
33required:
34  - compatible
35  - reg
36  - interrupts
37
38additionalProperties: false
39
40examples:
41  - |
42    #include <dt-bindings/interrupt-controller/arm-gic.h>
43
44    ddr-pmu@5c020000 {
45        compatible = "fsl,imx8-ddr-pmu";
46        reg = <0x5c020000 0x10000>;
47        interrupt-parent = <&gic>;
48        interrupts = <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>;
49    };
50