diff options
author | Steffen Trumtrar <s.trumtrar@pengutronix.de> | 2017-07-10 12:33:51 +0200 |
---|---|---|
committer | Lucas Stach <l.stach@pengutronix.de> | 2017-07-10 13:02:01 +0200 |
commit | 18dd855d0d9a8ac224fa53e4f3ad16fdf685c7b8 (patch) | |
tree | 22f33996c31aecbfbd8621d0659f3f29ef6ad37e /Documentation/devicetree | |
parent | 29b54c46fb46274830aef4e5403443955979c72b (diff) | |
download | barebox-18dd855d0d9a8ac224fa53e4f3ad16fdf685c7b8.tar.gz barebox-18dd855d0d9a8ac224fa53e4f3ad16fdf685c7b8.tar.xz |
of: of_path: find device via partuuid
When a node is compatible to a fixed-partitions, support searching the
corresponding device via the partuuid, if it specified in the device tree.
Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Diffstat (limited to 'Documentation/devicetree')
-rw-r--r-- | Documentation/devicetree/bindings/mtd/partition.txt | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/mtd/partition.txt b/Documentation/devicetree/bindings/mtd/partition.txt new file mode 100644 index 0000000000..ab21ff25bb --- /dev/null +++ b/Documentation/devicetree/bindings/mtd/partition.txt @@ -0,0 +1,21 @@ +Representing flash partitions in devicetree + +In addition to the upstream binding, another property is added: + +Optional properties: +- partuuid : The partition UUID for this partition. + + +Examples: + +flash@0 { + partitions { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; + + state_part: state { + partuuid = "16367da7-c518-499f-9aad-e1f366692365"; + }; + }; +}; |