# SPDX-License-Identifier: BSD-2-Clause # Copyright 2018 Linaro Ltd. # Copyright 2018 Arm Ltd. %YAML 1.2 --- $id: http://devicetree.org/schemas/memory.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml# title: /memory nodes description: | Common properties always required in /memory nodes maintainers: - Rob Herring properties: $nodename: const: '/' patternProperties: "^memory(@[0-9a-f]+)?$": type: object additionalProperties: false properties: device_type: const: memory reg: minItems: 1 maxItems: 1024 numa-node-id: $ref: types.yaml#/definitions/uint32 description: For the purpose of identification, each NUMA node is associated with a unique token known as a node id. ecc-detection-bits: default: 0 description: | If present, this indicates the number of bits of memory error which can be detected and reported by the Error-Correction Code (ECC) memory subsystem (typically 0, 1 or 2). ecc-correction-bits: default: 0 description: | If present, this indicates the number of bits of memory error which can be corrected by the Error-Correction Code (ECC) memory subsystem (typically 0, 1 or 2). required: - device_type - reg additionalProperties: true ...