Path: blob/master/Documentation/devicetree/bindings/cache/andestech,ax45mp-cache.yaml
29282 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- enum:31- andestech,qilai-ax45mp-cache32- renesas,r9a07g043f-ax45mp-cache33- const: andestech,ax45mp-cache34- const: cache3536reg:37maxItems: 13839interrupts:40maxItems: 14142cache-line-size:43const: 644445cache-level:46const: 24748cache-sets:49enum: [1024, 2048]5051cache-size:52enum: [131072, 262144, 524288, 1048576, 2097152]5354cache-unified: true5556next-level-cache: true5758additionalProperties: false5960required:61- compatible62- reg63- interrupts64- cache-line-size65- cache-level66- cache-sets67- cache-size68- cache-unified6970allOf:71- if:72properties:73compatible:74contains:75const: andestech,qilai-ax45mp-cache7677then:78properties:79cache-sets:80const: 204881cache-size:82const: 209715283else:84properties:85cache-sets:86const: 10248788examples:89- |90#include <dt-bindings/interrupt-controller/irq.h>9192cache-controller@13400000 {93compatible = "renesas,r9a07g043f-ax45mp-cache", "andestech,ax45mp-cache",94"cache";95reg = <0x13400000 0x100000>;96interrupts = <508 IRQ_TYPE_LEVEL_HIGH>;97cache-line-size = <64>;98cache-level = <2>;99cache-sets = <1024>;100cache-size = <262144>;101cache-unified;102};103104105