13e7bf468SLad Prabhakar# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 23e7bf468SLad Prabhakar# Copyright (C) 2023 Renesas Electronics Corp. 33e7bf468SLad Prabhakar%YAML 1.2 43e7bf468SLad Prabhakar--- 53e7bf468SLad Prabhakar$id: http://devicetree.org/schemas/cache/andestech,ax45mp-cache.yaml# 63e7bf468SLad Prabhakar$schema: http://devicetree.org/meta-schemas/core.yaml# 73e7bf468SLad Prabhakar 83e7bf468SLad Prabhakartitle: Andestech AX45MP L2 Cache Controller 93e7bf468SLad Prabhakar 103e7bf468SLad Prabhakarmaintainers: 113e7bf468SLad Prabhakar - Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> 123e7bf468SLad Prabhakar 133e7bf468SLad Prabhakardescription: 143e7bf468SLad Prabhakar A level-2 cache (L2C) is used to improve the system performance by providing 153e7bf468SLad Prabhakar a large amount of cache line entries and reasonable access delays. The L2C 163e7bf468SLad Prabhakar is shared between cores, and a non-inclusive non-exclusive policy is used. 173e7bf468SLad Prabhakar 183e7bf468SLad Prabhakarselect: 193e7bf468SLad Prabhakar properties: 203e7bf468SLad Prabhakar compatible: 213e7bf468SLad Prabhakar contains: 223e7bf468SLad Prabhakar enum: 233e7bf468SLad Prabhakar - andestech,ax45mp-cache 243e7bf468SLad Prabhakar 253e7bf468SLad Prabhakar required: 263e7bf468SLad Prabhakar - compatible 273e7bf468SLad Prabhakar 283e7bf468SLad Prabhakarproperties: 293e7bf468SLad Prabhakar compatible: 303e7bf468SLad Prabhakar items: 313e7bf468SLad Prabhakar - const: andestech,ax45mp-cache 323e7bf468SLad Prabhakar - const: cache 333e7bf468SLad Prabhakar 343e7bf468SLad Prabhakar reg: 353e7bf468SLad Prabhakar maxItems: 1 363e7bf468SLad Prabhakar 373e7bf468SLad Prabhakar interrupts: 383e7bf468SLad Prabhakar maxItems: 1 393e7bf468SLad Prabhakar 403e7bf468SLad Prabhakar cache-line-size: 413e7bf468SLad Prabhakar const: 64 423e7bf468SLad Prabhakar 433e7bf468SLad Prabhakar cache-level: 443e7bf468SLad Prabhakar const: 2 453e7bf468SLad Prabhakar 463e7bf468SLad Prabhakar cache-sets: 473e7bf468SLad Prabhakar const: 1024 483e7bf468SLad Prabhakar 493e7bf468SLad Prabhakar cache-size: 503e7bf468SLad Prabhakar enum: [131072, 262144, 524288, 1048576, 2097152] 513e7bf468SLad Prabhakar 523e7bf468SLad Prabhakar cache-unified: true 533e7bf468SLad Prabhakar 543e7bf468SLad Prabhakar next-level-cache: true 553e7bf468SLad Prabhakar 563e7bf468SLad PrabhakaradditionalProperties: false 573e7bf468SLad Prabhakar 583e7bf468SLad Prabhakarrequired: 593e7bf468SLad Prabhakar - compatible 603e7bf468SLad Prabhakar - reg 613e7bf468SLad Prabhakar - interrupts 623e7bf468SLad Prabhakar - cache-line-size 633e7bf468SLad Prabhakar - cache-level 643e7bf468SLad Prabhakar - cache-sets 653e7bf468SLad Prabhakar - cache-size 663e7bf468SLad Prabhakar - cache-unified 673e7bf468SLad Prabhakar 683e7bf468SLad Prabhakarexamples: 693e7bf468SLad Prabhakar - | 703e7bf468SLad Prabhakar #include <dt-bindings/interrupt-controller/irq.h> 713e7bf468SLad Prabhakar 72*6df241aaSGeert Uytterhoeven cache-controller@13400000 { 733e7bf468SLad Prabhakar compatible = "andestech,ax45mp-cache", "cache"; 743e7bf468SLad Prabhakar reg = <0x13400000 0x100000>; 753e7bf468SLad Prabhakar interrupts = <508 IRQ_TYPE_LEVEL_HIGH>; 763e7bf468SLad Prabhakar cache-line-size = <64>; 773e7bf468SLad Prabhakar cache-level = <2>; 783e7bf468SLad Prabhakar cache-sets = <1024>; 793e7bf468SLad Prabhakar cache-size = <262144>; 803e7bf468SLad Prabhakar cache-unified; 813e7bf468SLad Prabhakar }; 82