Arm CMN (Coherent Mesh Network) Performance Monitors

Schema identifier ($id): "http://devicetree.org/schemas/perf/arm,cmn.yaml#"

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

Maintainers (maintainers): "Robin Murphy <robin.murphy@arm.com>"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "arm,cmn-600", "arm,cmn-650", "arm,cmn-700", "arm,cmn-s3", "arm,ci-700"

reg — required here #

Array item rules (items) #

Item 1

Physical address of the base (PERIPHBASE) and size of the configuration address space.

interrupts — required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

Overflow interrupt for DTC0

Item 2

Overflow interrupt for DTC1

Item 3

Overflow interrupt for DTC2

Item 4

Overflow interrupt for DTC3

One interrupt for each DTC domain implemented must be specified, in order. DTC0 is always present.

arm,root-node — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Offset from PERIPHBASE of CMN-600's configuration discovery node (see TRM definition of ROOTNODEBASE). Not relevant for newer CMN/CI products.

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

Condition (if) #

Properties and child nodes (properties) #

compatible — not listed as required here #

Rule for matching array elements (contains)

Exact value (const): "arm,cmn-600"

When the condition matches (then) #

Required in this object (required): "arm,root-node"

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/interrupt-controller/irq.h>
pmu@50000000 {
    compatible = "arm,cmn-600";
    reg = <0x50000000 0x4000000>;
    /* 4x2 mesh with one DTC, and CFG node at 0,1,1,0 */
    interrupts = <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>;
    arm,root-node = <0x104000>;
};

Source notes #

Annotations retained from the schema source

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

Line 2: Copyright 2020 Arm Ltd.

Edit this page