From: Rafał Miłecki <rafal@xxxxxxxxxx> 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@xxxxxxxxxx> --- .../mtd/partitions/tplink,safeloader-partitions.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Documentation/devicetree/bindings/mtd/partitions/tplink,safeloader-partitions.yaml b/Documentation/devicetree/bindings/mtd/partitions/tplink,safeloader-partitions.yaml index 63e596aa0ca3..a24bbaac3a90 100644 --- a/Documentation/devicetree/bindings/mtd/partitions/tplink,safeloader-partitions.yaml +++ b/Documentation/devicetree/bindings/mtd/partitions/tplink,safeloader-partitions.yaml @@ -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; + }; }; -- 2.34.1