0001 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/mtd/partitions/redboot-fis.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006
0007 title: RedBoot FLASH Image System (FIS) Partitions
0008
0009 description: The FLASH Image System (FIS) directory is a flash description
0010 format closely associated with the RedBoot boot loader.
0011 It uses one single flash eraseblock in the flash to store an index of
0012 all images in the flash.
0013 This block size will vary depending on flash but is typically
0014 32 KB in size.
0015
0016 maintainers:
0017 - Linus Walleij <linus.walleij@linaro.org>
0018
0019 properties:
0020 compatible:
0021 const: redboot-fis
0022
0023 fis-index-block:
0024 $ref: /schemas/types.yaml#/definitions/uint32
0025 description: a index to the eraseblock containing the FIS directory on this
0026 device. On a flash memory with 32KB eraseblocks, 0 means the first
0027 eraseblock at 0x00000000, 1 means the second eraseblock at 0x00008000 and so on.
0028
0029 required:
0030 - compatible
0031 - fis-index-block
0032
0033 additionalProperties: false
0034
0035 examples:
0036 - |
0037 flash {
0038 partitions {
0039 compatible = "redboot-fis";
0040 fis-index-block = <0>;
0041 };
0042 };