mirror of
https://github.com/torvalds/linux.git
synced 2026-05-28 17:13:52 +02:00
dt-bindings: mtd: partitions: allow SafeLoader dynamic subpartitions
TP-Link SafeLoader partitioning means flash contains multiple partitions defined in the on-flash table. Some of those partitions may have a special meaning and may require describing additionally. Allow that. Signed-off-by: Rafał Miłecki <rafal@milecki.pl> Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Link: https://lore.kernel.org/linux-mtd/20221108093102.8360-1-zajec5@gmail.com
This commit is contained in:
parent
077dc37db1
commit
9b533a6e41
|
|
@ -36,6 +36,10 @@ properties:
|
|||
description: Flash offset of partitions table
|
||||
$ref: /schemas/types.yaml#/definitions/uint32
|
||||
|
||||
patternProperties:
|
||||
"^partition-.*$":
|
||||
$ref: partition.yaml#
|
||||
|
||||
required:
|
||||
- partitions-table-offset
|
||||
|
||||
|
|
@ -46,4 +50,8 @@ examples:
|
|||
partitions {
|
||||
compatible = "tplink,safeloader-partitions";
|
||||
partitions-table-offset = <0x100000>;
|
||||
|
||||
partition-file-system {
|
||||
linux,rootfs;
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user