Path: blob/master/Documentation/devicetree/bindings/cache/andestech,ax45mp-cache.yaml
26307 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:49const: 10245051cache-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: 20971528384examples:85- |86#include <dt-bindings/interrupt-controller/irq.h>8788cache-controller@13400000 {89compatible = "renesas,r9a07g043f-ax45mp-cache", "andestech,ax45mp-cache",90"cache";91reg = <0x13400000 0x100000>;92interrupts = <508 IRQ_TYPE_LEVEL_HIGH>;93cache-line-size = <64>;94cache-level = <2>;95cache-sets = <1024>;96cache-size = <262144>;97cache-unified;98};99100101