summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/mtd/partition.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/devicetree/bindings/mtd/partition.rst')
-rw-r--r--Documentation/devicetree/bindings/mtd/partition.rst21
1 files changed, 16 insertions, 5 deletions
diff --git a/Documentation/devicetree/bindings/mtd/partition.rst b/Documentation/devicetree/bindings/mtd/partition.rst
index 6db54070a9..0ba117dffc 100644
--- a/Documentation/devicetree/bindings/mtd/partition.rst
+++ b/Documentation/devicetree/bindings/mtd/partition.rst
@@ -1,22 +1,33 @@
+.. _devicetree_binding_mtd_partition:
+
Representing flash partitions in devicetree
===========================================
In addition to the upstream binding, another property is added:
Optional properties:
-- ``partuuid`` : The partition UUID for this partition.
+
+* ``partuuid``: The global partition UUID for this partition.
+ For GPT partitions, the partuuid is the 16-byte GPT Partition UUID (e.g.
+ ``de6f4f5c-c055-4374-09f7-8c6821dfb60e``).
+ For MBR partitions, the partuuid is the 4-byte disk identifier
+ followed by a dash and the partition number (starting with 1, e.g.
+ ``c9178f9d-01``).
+
+ The partuuid is case-insensitive.
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
+
+* ``partitions`` : user partition
+* ``boot0-partitions`` : boot0 partition
+* ``boot1-partitions`` : boot1 partition
Examples:
.. code-block:: none
- flash@0 {
+ / {
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;