drivers: flash: NXP k6x/kw2xd: Convert to use device tree

Convert NXP k6x and kw2xd flash driver to use device tree to get the
flash controller name from device tree.  We introduce yaml bindings for
the "nxp,kinetis-ftfe" and "nxp,kinetis-ftfl" devices.

Fixes: #5788

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
Kumar Gala 2018-01-18 13:40:18 -06:00 committed by Maureen Helm
commit a394693d2f
10 changed files with 65 additions and 16 deletions

View file

@ -0,0 +1,19 @@
---
title: NXP Kinetis Flash Memory Module (FTFE)
id: nxp,kinetis-ftfe
version: 0.1
description: >
This binding gives for the NXP Kinetis Flash Memory Module E (FTFE)
inherits:
!include flash-controller.yaml
properties:
compatible:
type: string
category: required
description: compatible strings
constraint: "nxp,kinetis-ftfe"
...

View file

@ -0,0 +1,19 @@
---
title: NXP Kinetis Flash Memory Module (FTFL)
id: nxp,kinetis-ftfl
version: 0.1
description: >
This binding gives for the NXP Kinetis Flash Memory Module L (FTFL)
inherits:
!include flash-controller.yaml
properties:
compatible:
type: string
category: required
description: compatible strings
constraint: "nxp,kinetis-ftfl"
...