Documentation / devicetree / bindings / mtd / partitions / partitions.yaml


Based on kernel version 6.8. Page generated on 2024-03-11 21:26 EST.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
%YAML 1.2
---
$id: http://devicetree.org/schemas/mtd/partitions/partitions.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Partitions

description: |
  This binding is generic and describes the content of the partitions container
  node. All partition parsers must be referenced here.

maintainers:
  - Miquel Raynal <miquel.raynal@bootlin.com>

oneOf:
  - $ref: arm,arm-firmware-suite.yaml
  - $ref: brcm,bcm4908-partitions.yaml
  - $ref: brcm,bcm947xx-cfe-partitions.yaml
  - $ref: fixed-partitions.yaml
  - $ref: linksys,ns-partitions.yaml
  - $ref: qcom,smem-part.yaml
  - $ref: redboot-fis.yaml
  - $ref: tplink,safeloader-partitions.yaml

properties:
  compatible: true
 
  '#address-cells':
    enum: [1, 2]
 
  '#size-cells':
    enum: [1, 2]

patternProperties:
  "^partition(-.+|@[0-9a-f]+)$":
    $ref: partition.yaml

required:
  - compatible

unevaluatedProperties: false