Freescale(NXP) IMX8/9 DDR performance monitor

Schema identifier ($id): "http://devicetree.org/schemas/perf/fsl-imx-ddr.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Frank Li <frank.li@nxp.com>"

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "fsl,imx8-ddr-pmu", "fsl,imx8dxl-db-pmu", "fsl,imx8m-ddr-pmu", "fsl,imx8mq-ddr-pmu", "fsl,imx8mm-ddr-pmu", "fsl,imx8mn-ddr-pmu", "fsl,imx8mp-ddr-pmu", "fsl,imx93-ddr-pmu"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "fsl,imx8mm-ddr-pmu", "fsl,imx8mn-ddr-pmu", "fsl,imx8mq-ddr-pmu", "fsl,imx8mp-ddr-pmu"

Item 2

Exact value (const): "fsl,imx8m-ddr-pmu"

Rule 3

Array item rules (items)

Item 1

Allowed values (enum): "fsl,imx8dxl-ddr-pmu", "fsl,imx8qm-ddr-pmu", "fsl,imx8qxp-ddr-pmu"

Item 2

Exact value (const): "fsl,imx8-ddr-pmu"

Rule 4

Array item rules (items)

Item 1

Allowed values (enum): "fsl,imx91-ddr-pmu", "fsl,imx94-ddr-pmu", "fsl,imx95-ddr-pmu"

Item 2

Exact value (const): "fsl,imx93-ddr-pmu"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

clocks — not listed as required here #

Maximum number of items (maxItems): 2

clock-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "ipg"

Item 2

Exact value (const): "cnt"

Required in this object (required): "compatible", "reg", "interrupts"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "fsl,imx8dxl-db-pmu"

When the condition matches (then) #

Required in this object (required): "clocks", "clock-names"

When the condition does not match (else) #

Properties and child nodes (properties)

clocks — not listed as required here

false — Not permitted by this property rule.

clock-names — not listed as required here

false — Not permitted by this property rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/arm-gic.h>

ddr-pmu@5c020000 {
    compatible = "fsl,imx8-ddr-pmu";
    reg = <0x5c020000 0x10000>;
    interrupt-parent = <&gic>;
    interrupts = <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Edit this page