From 91f67a13f7836a0c516f3e3044338b438df63b3b Mon Sep 17 00:00:00 2001 From: Andy Gross Date: Wed, 7 Jun 2017 00:29:41 -0500 Subject: [PATCH] dts: common: yaml: Add partition file This patch adds the yaml definition for flash partitions. Signed-off-by: Andy Gross --- dts/common/yaml/partition.yaml | 43 ++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 dts/common/yaml/partition.yaml diff --git a/dts/common/yaml/partition.yaml b/dts/common/yaml/partition.yaml new file mode 100644 index 00000000000..96a7c95a918 --- /dev/null +++ b/dts/common/yaml/partition.yaml @@ -0,0 +1,43 @@ +--- +title: Flash Partitions +id: fixed-partition +version: 0.1 + +description: > + This binding gives a base FLASH partition description + +properties: + - compatible: + type: string + category: required + description: compatible strings + constraint: "fixed-partitions" + + - partition\d+: + type: string + generation: define + + properties: + - reg: + type: array + description: partition offset and size from flash bank + generation: define + category: required + label: offset + + - label: + type: string + description: Partition label + generation: define + category: required + + - read-only: + type: boolean + category: optional + description: Denotes read only partition + generation: define + +base_label: FLASH_AREA +use-property-label: yes + +...