forked from zephyrproject-rtos/zephyr
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dts: common: yaml: Add partition file
This patch adds the yaml definition for flash partitions. Signed-off-by: Andy Gross <[email protected]>
- Loading branch information
Showing
1 changed file
with
43 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
|
||
... |