Andestech AX45MP L2 Cache Controller

Schema identifier ($id): "http://devicetree.org/schemas/cache/andestech,ax45mp-cache.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>"

A level-2 cache (L2C) is used to improve the system performance by providing a large amount of cache line entries and reasonable access delays. The L2C is shared between cores, and a non-inclusive non-exclusive policy is used.

Automatic schema selection (select) #

Properties and child nodes (properties) #

compatible — required here #

Rule for matching array elements (contains)

Allowed values (enum): "andestech,ax45mp-cache"

Required in this object (required): "compatible"

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "andestech,qilai-ax45mp-cache", "renesas,r9a07g043f-ax45mp-cache"

Item 2

Exact value (const): "andestech,ax45mp-cache"

Item 3

Exact value (const): "cache"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

cache-line-size — required here #

Exact value (const): 64

cache-level — required here #

Exact value (const): 2

cache-sets — required here #

Allowed values (enum): 1024, 2048

cache-size — required here #

Allowed values (enum): 131072, 262144, 524288, 1048576, 2097152

cache-unified — required here #

true — No constraints added by this property rule.

next-level-cache — not listed as required here #

true — No constraints added by this property rule.

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Required in this object (required): "compatible", "reg", "interrupts", "cache-line-size", "cache-level", "cache-sets", "cache-size", "cache-unified"

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "andestech,qilai-ax45mp-cache"

When the condition matches (then) #

Properties and child nodes (properties)

cache-sets — not listed as required here

Exact value (const): 2048

cache-size — not listed as required here

Exact value (const): 2097152

When the condition does not match (else) #

Properties and child nodes (properties)

cache-sets — not listed as required here

Exact value (const): 1024

Examples (examples) #

#include <dt-bindings/interrupt-controller/irq.h>

cache-controller@13400000 {
    compatible = "renesas,r9a07g043f-ax45mp-cache", "andestech,ax45mp-cache",
                 "cache";
    reg = <0x13400000 0x100000>;
    interrupts = <508 IRQ_TYPE_LEVEL_HIGH>;
    cache-line-size = <64>;
    cache-level = <2>;
    cache-sets = <1024>;
    cache-size = <262144>;
    cache-unified;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

Line 2: Copyright (C) 2023 Renesas Electronics Corp.

Edit this page