xref: /freebsd/sys/contrib/device-tree/Bindings/mtd/partitions/partitions.yaml (revision 96190b4fef3b4a0cc3ca0606b0c4e3e69a5e6717)
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  - $ref: tplink,safeloader-partitions.yaml
25
26properties:
27  compatible: true
28
29  '#address-cells':
30    enum: [1, 2]
31
32  '#size-cells':
33    enum: [1, 2]
34
35patternProperties:
36  "^partition(-.+|@[0-9a-f]+)$":
37    $ref: partition.yaml
38
39required:
40  - compatible
41
42unevaluatedProperties: false
43