1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/mtd/partitions/partitions.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Partitions
8
9description: |
10  This binding is generic and describes the content of the partitions container
11  node. All partition parsers must be referenced here.
12
13maintainers:
14  - Miquel Raynal <miquel.raynal@bootlin.com>
15
16oneOf:
17  - $ref: arm,arm-firmware-suite.yaml
18  - $ref: brcm,bcm4908-partitions.yaml
19  - $ref: brcm,bcm947xx-cfe-partitions.yaml
20  - $ref: fixed-partitions.yaml
21  - $ref: linksys,ns-partitions.yaml
22  - $ref: qcom,smem-part.yaml
23  - $ref: redboot-fis.yaml
24
25properties:
26  compatible: true
27
28  '#address-cells':
29    enum: [1, 2]
30
31  '#size-cells':
32    enum: [1, 2]
33
34patternProperties:
35  "^partition(-.+|@[0-9a-f]+)$":
36    $ref: partition.yaml
37
38required:
39  - compatible
40
41unevaluatedProperties: false
42