xref: /linux/Documentation/devicetree/bindings/cache/marvell,kirkwood-cache.yaml (revision d30c1683aaecb93d2ab95685dc4300a33d3cea7a)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/cache/marvell,kirkwood-cache.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Marvell Feroceon/Kirkwood Cache
8
9maintainers:
10  - Andrew Lunn <andrew@lunn.ch>
11  - Gregory Clement <gregory.clement@bootlin.com>
12
13properties:
14  compatible:
15    enum:
16      - marvell,feroceon-cache
17      - marvell,kirkwood-cache
18
19  reg:
20    maxItems: 1
21
22allOf:
23  - if:
24      properties:
25        compatible:
26          contains:
27            const: marvell,kirkwood-cache
28    then:
29      required:
30        - reg
31    else:
32      properties:
33        reg: false
34
35required:
36  - compatible
37
38additionalProperties: false
39
40examples:
41  - |
42    l2-cache@20128 {
43        compatible = "marvell,kirkwood-cache";
44        reg = <0x20128 0x4>;
45    };
46