Documentation/devicetree/bindings/cache/marvell,kirkwood-cache.yaml

Source file repositories/reference/linux-study-clean/Documentation/devicetree/bindings/cache/marvell,kirkwood-cache.yaml

File Facts

System
Linux kernel
Corpus path
Documentation/devicetree/bindings/cache/marvell,kirkwood-cache.yaml
Extension
.yaml
Size
836 bytes
Lines
46
Domain
Support Tooling And Documentation
Bucket
Documentation
Inferred role
Support Tooling And Documentation: configuration, schema, or hardware description
Status
atlas-only

Why This File Exists

Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.

Dependency Surface

Detected Declarations

Annotated Snippet

# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/cache/marvell,kirkwood-cache.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Marvell Feroceon/Kirkwood Cache

maintainers:
  - Andrew Lunn <andrew@lunn.ch>
  - Gregory Clement <gregory.clement@bootlin.com>

properties:
  compatible:
    enum:
      - marvell,feroceon-cache
      - marvell,kirkwood-cache

  reg:
    maxItems: 1

allOf:
  - if:
      properties:
        compatible:
          contains:
            const: marvell,kirkwood-cache
    then:
      required:
        - reg
    else:
      properties:
        reg: false

required:
  - compatible

additionalProperties: false

examples:
  - |
    l2-cache@20128 {
        compatible = "marvell,kirkwood-cache";
        reg = <0x20128 0x4>;
    };

Annotation

Implementation Notes