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
     description: Flash offset of partitions table
     $ref: /schemas/types.yaml#/definitions/uint32
 
+patternProperties:
+  "^partition-.*$":
+    $ref: partition.yaml#
+
 required:
   - partitions-table-offset
 
     partitions {
         compatible = "tplink,safeloader-partitions";
         partitions-table-offset = <0x100000>;
+
+        partition-file-system {
+                linux,rootfs;
+        };
     };