xref: /linux/Documentation/devicetree/bindings/mtd/partitions/simple-partition.yaml (revision 1fd1dc41724319406b0aff221a352a400b0ddfc5)
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/simple-partition.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Simple partition types
8
9description:
10  Simple partition types which only define a "compatible" value and no custom
11  properties.
12
13maintainers:
14  - Rafał Miłecki <rafal@milecki.pl>
15  - Simon Glass <sjg@chromium.org>
16
17allOf:
18  - $ref: partition.yaml#
19
20properties:
21  compatible:
22    oneOf:
23      - const: brcm,bcm4908-firmware
24        description:
25          Broadcom BCM4908 CFE bootloader firmware partition
26
27      - const: brcm,bcm963xx-imagetag
28        description:
29          The BCM963XX ImageTag is a simple firmware header describing the
30          offsets and sizes of the rootfs and kernel parts contained in the
31          firmware.
32
33      - const: seama
34        description:
35          The SEAttle iMAge (SEAMA) partition is a type of partition used for
36          NAND flash devices. This type of flash image is found in some D-Link
37          routers such as DIR-645, DIR-842, DIR-859, DIR-860L, DIR-885L, DIR890L
38          and DCH-M225, as well as in WD and NEC routers on the ath79 (MIPS),
39          Broadcom BCM53xx, and RAMIPS platforms. This partition type does not
40          have children defined in the device tree, they need to be detected by
41          software.
42
43      - const: u-boot
44        description: >
45          u-boot.bin from U-Boot project.
46
47          This corresponds to a binman 'entry'. It is a single partition which holds
48          data of a defined type.
49
50          Binman uses the type to indicate what data file / type to place in the
51          partition. There are quite a number of binman-specific entry types, such as
52          section, fill and files, to be added later.
53
54      - const: tfa-bl31
55        description: >
56          bl31.bin or bl31.elf from TF-A project
57
58          This corresponds to a binman 'entry'. It is a single partition which holds
59          data of a defined type.
60
61unevaluatedProperties: false
62