Debian Codegraph @

dtschema/schemas/memory.yaml

raw
1 # SPDX-License-Identifier: BSD-2-Clause
2 # Copyright 2018 Linaro Ltd.
3 # Copyright 2018 Arm Ltd.
4 %YAML 1.2
5 ---
6 $id: http://devicetree.org/schemas/memory.yaml#
7 $schema: http://devicetree.org/meta-schemas/core.yaml#
8
9 title: /memory nodes
10 description: |
11 Common properties always required in /memory nodes
12
13 maintainers:
14 - Rob Herring <[email protected]>
15
16 properties:
17 $nodename:
18 const: '/'
19
20 patternProperties:
21 "^memory(@[0-9a-f]+)?$":
22 type: object
23 additionalProperties: false
24
25 properties:
26 device_type:
27 const: memory
28 reg:
29 minItems: 1
30 maxItems: 1024
31
32 numa-node-id:
33 $ref: types.yaml#/definitions/uint32
34 description:
35 For the purpose of identification, each NUMA node is associated with
36 a unique token known as a node id.
37
38 ecc-detection-bits:
39 default: 0
40 description: |
41 If present, this indicates the number of bits of memory error which
42 can be detected and reported by the Error-Correction Code (ECC) memory
43 subsystem (typically 0, 1 or 2).
44
45 ecc-correction-bits:
46 default: 0
47 description: |
48 If present, this indicates the number of bits of memory error which
49 can be corrected by the Error-Correction Code (ECC) memory subsystem
50 (typically 0, 1 or 2).
51
52 required:
53 - device_type
54 - reg
55
56 additionalProperties: true
57
58 ...