-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dts: nrf: Add flash controller and alignment description for nRF52840
Added flash-controller description and moved flash description to it (for coherence). Added property for description of the flash alignment required by write operations. Thanks to that l-value FLASH_WRITE_BLOCK_SIZE macro will be generated. It is useful for any component uses the flash. Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
- Loading branch information
Showing
2 changed files
with
38 additions
and
2 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
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,26 @@ | ||
--- | ||
title: Flash base node description | ||
id: soc-nv-flash | ||
version: 0.1 | ||
|
||
description: > | ||
This binding gives a base FLASH description | ||
properties: | ||
- compatible: | ||
type: string | ||
category: optional | ||
description: compatible strings | ||
constraint: "soc-nv-flash" | ||
|
||
- write-block-size: | ||
type: int | ||
description: address alignment required by flash write operations | ||
generation: define | ||
category: optional | ||
label: alignment | ||
|
||
base_label: FLASH | ||
use-property-label: yes | ||
|
||
... |