drivers: flash: atmel sam0: Convert to use device tree
Convert Atmel SAM0 flash driver to use device tree to get the flash controller name and base address. Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
parent
0d48cbe13e
commit
2dfee62a5e
5 changed files with 43 additions and 15 deletions
19
dts/bindings/flash_controller/atmel,sam0-nvmctrl.yaml
Normal file
19
dts/bindings/flash_controller/atmel,sam0-nvmctrl.yaml
Normal file
|
@ -0,0 +1,19 @@
|
|||
---
|
||||
title: Atmel SAM0 Non-Volatile Memory Controller
|
||||
id: atmel,sam0-nvmctrl
|
||||
version: 0.1
|
||||
|
||||
description: >
|
||||
This binding gives a base representation of the Atmel SAM0 NVMC
|
||||
|
||||
inherits:
|
||||
!include flash-controller.yaml
|
||||
|
||||
properties:
|
||||
compatible:
|
||||
type: string
|
||||
category: required
|
||||
description: compatible strings
|
||||
constraint: "atmel,sam0-nvmctrl"
|
||||
|
||||
...
|
Loading…
Add table
Add a link
Reference in a new issue