16be33864SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 26be33864SEmmanuel Vadot# Copyright 2020 Arm Ltd. 36be33864SEmmanuel Vadot%YAML 1.2 46be33864SEmmanuel Vadot--- 56be33864SEmmanuel Vadot$id: http://devicetree.org/schemas/perf/arm,cmn.yaml# 66be33864SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 76be33864SEmmanuel Vadot 86be33864SEmmanuel Vadottitle: Arm CMN (Coherent Mesh Network) Performance Monitors 96be33864SEmmanuel Vadot 106be33864SEmmanuel Vadotmaintainers: 116be33864SEmmanuel Vadot - Robin Murphy <robin.murphy@arm.com> 126be33864SEmmanuel Vadot 136be33864SEmmanuel Vadotproperties: 146be33864SEmmanuel Vadot compatible: 15e67e8565SEmmanuel Vadot enum: 16e67e8565SEmmanuel Vadot - arm,cmn-600 17d5b0e70fSEmmanuel Vadot - arm,cmn-650 18d5b0e70fSEmmanuel Vadot - arm,cmn-700 19*b2d2a78aSEmmanuel Vadot - arm,cmn-s3 20e67e8565SEmmanuel Vadot - arm,ci-700 216be33864SEmmanuel Vadot 226be33864SEmmanuel Vadot reg: 236be33864SEmmanuel Vadot items: 246be33864SEmmanuel Vadot - description: Physical address of the base (PERIPHBASE) and 25e67e8565SEmmanuel Vadot size of the configuration address space. 266be33864SEmmanuel Vadot 276be33864SEmmanuel Vadot interrupts: 286be33864SEmmanuel Vadot minItems: 1 296be33864SEmmanuel Vadot items: 306be33864SEmmanuel Vadot - description: Overflow interrupt for DTC0 316be33864SEmmanuel Vadot - description: Overflow interrupt for DTC1 326be33864SEmmanuel Vadot - description: Overflow interrupt for DTC2 336be33864SEmmanuel Vadot - description: Overflow interrupt for DTC3 346be33864SEmmanuel Vadot description: One interrupt for each DTC domain implemented must 356be33864SEmmanuel Vadot be specified, in order. DTC0 is always present. 366be33864SEmmanuel Vadot 376be33864SEmmanuel Vadot arm,root-node: 386be33864SEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/uint32 39e67e8565SEmmanuel Vadot description: Offset from PERIPHBASE of CMN-600's configuration 40e67e8565SEmmanuel Vadot discovery node (see TRM definition of ROOTNODEBASE). Not 41e67e8565SEmmanuel Vadot relevant for newer CMN/CI products. 426be33864SEmmanuel Vadot 436be33864SEmmanuel Vadotrequired: 446be33864SEmmanuel Vadot - compatible 456be33864SEmmanuel Vadot - reg 466be33864SEmmanuel Vadot - interrupts 47e67e8565SEmmanuel Vadot 48e67e8565SEmmanuel Vadotif: 49e67e8565SEmmanuel Vadot properties: 50e67e8565SEmmanuel Vadot compatible: 51e67e8565SEmmanuel Vadot contains: 52e67e8565SEmmanuel Vadot const: arm,cmn-600 53e67e8565SEmmanuel Vadotthen: 54e67e8565SEmmanuel Vadot required: 556be33864SEmmanuel Vadot - arm,root-node 566be33864SEmmanuel Vadot 576be33864SEmmanuel VadotadditionalProperties: false 586be33864SEmmanuel Vadot 596be33864SEmmanuel Vadotexamples: 606be33864SEmmanuel Vadot - | 616be33864SEmmanuel Vadot #include <dt-bindings/interrupt-controller/arm-gic.h> 626be33864SEmmanuel Vadot #include <dt-bindings/interrupt-controller/irq.h> 636be33864SEmmanuel Vadot pmu@50000000 { 646be33864SEmmanuel Vadot compatible = "arm,cmn-600"; 656be33864SEmmanuel Vadot reg = <0x50000000 0x4000000>; 666be33864SEmmanuel Vadot /* 4x2 mesh with one DTC, and CFG node at 0,1,1,0 */ 676be33864SEmmanuel Vadot interrupts = <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>; 686be33864SEmmanuel Vadot arm,root-node = <0x104000>; 696be33864SEmmanuel Vadot }; 706be33864SEmmanuel Vadot... 71