mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-09-05 20:16:52 +00:00

Parser compatibles cannot be used anywhere, and the list is limited. In order to constrain this list, enumerate them all under the top "partitions" subnode. New parsers will have to add their own compatible here as well. Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Reviewed-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/linux-mtd/20221114090315.848208-12-miquel.raynal@bootlin.com
49 lines
1.2 KiB
YAML
49 lines
1.2 KiB
YAML
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/mtd/partitions/redboot-fis.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: RedBoot FLASH Image System (FIS) Partitions
|
|
|
|
description: The FLASH Image System (FIS) directory is a flash description
|
|
format closely associated with the RedBoot boot loader.
|
|
It uses one single flash eraseblock in the flash to store an index of
|
|
all images in the flash.
|
|
This block size will vary depending on flash but is typically
|
|
32 KB in size.
|
|
|
|
maintainers:
|
|
- Linus Walleij <linus.walleij@linaro.org>
|
|
|
|
select: false
|
|
|
|
properties:
|
|
compatible:
|
|
const: redboot-fis
|
|
|
|
fis-index-block:
|
|
$ref: /schemas/types.yaml#/definitions/uint32
|
|
description: a index to the eraseblock containing the FIS directory on this
|
|
device. On a flash memory with 32KB eraseblocks, 0 means the first
|
|
eraseblock at 0x00000000, 1 means the second eraseblock at 0x00008000 and so on.
|
|
|
|
'#address-cells': false
|
|
|
|
'#size-cells': false
|
|
|
|
required:
|
|
- compatible
|
|
- fis-index-block
|
|
|
|
additionalProperties: false
|
|
|
|
examples:
|
|
- |
|
|
flash {
|
|
partitions {
|
|
compatible = "redboot-fis";
|
|
fis-index-block = <0>;
|
|
};
|
|
};
|