Debian Codegraph @

dtschema/schemas/cache.yaml

raw
1 # SPDX-License-Identifier: BSD-2-Clause
2 # Copyright 2022 Arm Ltd.
3 %YAML 1.2
4 ---
5 $id: http://devicetree.org/schemas/cache.yaml#
6 $schema: http://devicetree.org/meta-schemas/base.yaml#
7
8 title: Generic 'cache' Nodes
9
10 description: Generic cache binding for caches nodes which only have common cache
11 properties. A cache with a register interface or other resources should have
12 its own compatible and schema. As L1 caches are described within CPU nodes,
13 this binding only applies to L2 and higher level caches.
14
15 maintainers:
16 - Rob Herring <[email protected]>
17
18 select:
19 properties:
20 compatible:
21 const: cache
22
23 required:
24 - compatible
25
26 allOf:
27 - $ref: cache-controller.yaml#
28
29 properties:
30 $nodename:
31 pattern: 'cache'
32
33 compatible:
34 const: cache
35
36 power-domains:
37 maxItems: 1
38
39 patternProperties:
40 '^l[3-9]-cache$':
41 type: object
42 description: Caches can have the next level cache as a child node
43
44 required:
45 - cache-level
46 # In practice, all level 2 and higher caches are unified.
47 - cache-unified
48
49 unevaluatedProperties: false
50
51 ...