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


Based on kernel version 6.16. Page generated on 2025-08-06 08:56 EST.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
# 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>;
    };