6f28ea08a5
This commit adds layput page cells to the atmel sam flash controller and the flash node. These allow for describing the actual flash page layout of each soc, allowing the flash driver to fully utilize the capabilities of the flash. With this update, we unlock the following capabilties: - utilize 2048 erase block size for small sectors - utilize 16384 erase block size for large sectors Signed-off-by: Bjarki Arge Andreasen <bjarkix123@gmail.com>
21 lines
360 B
YAML
21 lines
360 B
YAML
# Copyright (c) 2018, Aurelien Jarno
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
description: Atmel SAM Enhanced Embedded Flash Controller (EEFC)
|
|
|
|
compatible: "atmel,sam-flash-controller"
|
|
|
|
include: flash-controller.yaml
|
|
|
|
properties:
|
|
clocks:
|
|
required: true
|
|
|
|
"#erase-block-cells":
|
|
type: int
|
|
const: 2
|
|
|
|
erase-block-cells:
|
|
- pages-count
|
|
- pages-size
|