# SPDX-License-Identifier: BSD-2-Clause # Copyright 2018 Linaro Ltd. # Copyright 2018,2021 Arm Ltd. %YAML 1.2 --- $id: http://devicetree.org/schemas/root-node.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml# title: Common root node description: | Common properties always required in the root node of the tree maintainers: - devicetree-spec@vger.kernel.org properties: $nodename: const: "/" model: { "$ref" : "types.yaml#/definitions/string-array"} chassis-type: enum: - desktop - laptop - convertible - server - all-in-one - tablet - handset - watch - embedded - television - spectacles "#address-cells": enum: [1, 2] "#size-cells": enum: [1, 2] dma-coherent: true interrupt-parent: true memory: false patternProperties: "@(0|[1-9a-f][0-9a-f]*)$": type: object additionalProperties: true properties: reg: items: minItems: 2 maxItems: 4 minItems: 1 maxItems: 1024 ranges: oneOf: - items: minItems: 3 maxItems: 7 minItems: 1 maxItems: 1024 - $ref: types.yaml#/definitions/flag anyOf: - required: - reg - required: - ranges required: - compatible - model - "#address-cells" - "#size-cells" additionalProperties: true examples: - | / { compatible = "acme,boogieboard"; model = "Acme Ltd. Boogieboard developer system"; chassis-type = "embedded"; #address-cells = <1>; #size-cells = <1>; memory@0 { reg = <0 0x10000000>; }; $path = "/"; }