Path: blob/main/sys/contrib/device-tree/Bindings/cache/andestech,ax45mp-cache.yaml
48377 views
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)1# Copyright (C) 2023 Renesas Electronics Corp.2%YAML 1.23---4$id: http://devicetree.org/schemas/cache/andestech,ax45mp-cache.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#67title: Andestech AX45MP L2 Cache Controller89maintainers:10- Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>1112description:13A level-2 cache (L2C) is used to improve the system performance by providing14a large amount of cache line entries and reasonable access delays. The L2C15is shared between cores, and a non-inclusive non-exclusive policy is used.1617select:18properties:19compatible:20contains:21enum:22- andestech,ax45mp-cache2324required:25- compatible2627properties:28compatible:29items:30- const: andestech,ax45mp-cache31- const: cache3233reg:34maxItems: 13536interrupts:37maxItems: 13839cache-line-size:40const: 644142cache-level:43const: 24445cache-sets:46const: 10244748cache-size:49enum: [131072, 262144, 524288, 1048576, 2097152]5051cache-unified: true5253next-level-cache: true5455additionalProperties: false5657required:58- compatible59- reg60- interrupts61- cache-line-size62- cache-level63- cache-sets64- cache-size65- cache-unified6667examples:68- |69#include <dt-bindings/interrupt-controller/irq.h>7071cache-controller@13400000 {72compatible = "andestech,ax45mp-cache", "cache";73reg = <0x13400000 0x100000>;74interrupts = <508 IRQ_TYPE_LEVEL_HIGH>;75cache-line-size = <64>;76cache-level = <2>;77cache-sets = <1024>;78cache-size = <262144>;79cache-unified;80};818283