dts: common: yaml: Add partition file
This patch adds the yaml definition for flash partitions. Signed-off-by: Andy Gross <andy.gross@linaro.org>
This commit is contained in:
parent
69255043e7
commit
91f67a13f7
1 changed files with 43 additions and 0 deletions
43
dts/common/yaml/partition.yaml
Normal file
43
dts/common/yaml/partition.yaml
Normal file
|
@ -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
|
||||
|
||||
...
|
Loading…
Add table
Add a link
Reference in a new issue