zephyr/dts/bindings/flash_controller/atmel,sam0-nvmctrl.yaml
Benjamin Valentin fc7f458ab3 flash: sam0: Define LOCK_REGIONS in dts
The amount of lock regions differs between different sam0 MCUs.

	saml10:  2
	saml11:  4
	samd2x:	16
	saml2x: 16
	samd5x: 32

ASF does not provide a definition for this, so create a new one
in dts.

Signed-off-by: Benjamin Valentin <benjamin.valentin@ml-pa.com>
2020-01-14 11:12:33 -05:00

12 lines
238 B
YAML

description: Atmel SAM0 NVMC (Non-Volatile Memory Controller)
compatible: "atmel,sam0-nvmctrl"
include: flash-controller.yaml
properties:
lock-regions:
type: int
required: true
description: Number of lock regions