# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause %YAML 1.2 --- $id: http://devicetree.org/schemas/block/partition.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml# title: Partition on a block device description: | This binding describes a partition on a block device. Partitions may be matched by a combination of partition number, name, and UUID. maintainers: - Daniel Golle properties: $nodename: pattern: '^block-partition-.+$' partnum: $ref: /schemas/types.yaml#/definitions/uint32 description: Matches partition by number if present. partname: $ref: /schemas/types.yaml#/definitions/string description: Matches partition by PARTNAME if present. partuuid: $ref: /schemas/types.yaml#/definitions/string description: Matches partition by PARTUUID if present. nvmem-layout: $ref: /schemas/nvmem/layouts/nvmem-layout.yaml# description: This container may reference an NVMEM layout parser. anyOf: - required: - partnum - required: - partname - required: - partuuid unevaluatedProperties: false