diff --git a/Documentation/devicetree/bindings/mtd/partition.txt b/Documentation/devicetree/bindings/mtd/partition.txt index ab21ff2..4288a82 100644 --- a/Documentation/devicetree/bindings/mtd/partition.txt +++ b/Documentation/devicetree/bindings/mtd/partition.txt @@ -5,6 +5,11 @@ Optional properties: - partuuid : The partition UUID for this partition. +Additionally, barebox also supports partitioning the eMMC boot partitions if +the partition table node is named appropriately: +- partitions : user partition +- boot0-partitions : boot0 partition +- boot1-partitions : boot1 partition Examples: @@ -19,3 +24,16 @@ }; }; }; + +emmc@1 { + boot0-partitions { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; + + barebox@0 { + label = "barebox"; + reg = <0x0 0x300000>; + }; + }; +};