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:
Kumar Gala 2018-01-19 15:01:01 -06:00 committed by Kumar Gala
commit 2dfee62a5e
5 changed files with 43 additions and 15 deletions

View 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"
...