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:
parent
68d826ce93
commit
a394693d2f
10 changed files with 65 additions and 16 deletions
|
@ -64,10 +64,12 @@
|
|||
#clocks-cells = <3>;
|
||||
};
|
||||
|
||||
flash-controller@4001f000 {
|
||||
compatible = "nxp,k64f-flash-controller";
|
||||
reg = <0x4001f000 0x27c>;
|
||||
flash-controller@40020000 {
|
||||
compatible = "nxp,kinetis-ftfe";
|
||||
label = "FLASH_CTRL";
|
||||
reg = <0x40020000 0x18>;
|
||||
interrupts = <18 0>, <19 0>;
|
||||
interrupt-names = "command-complete", "read-collision";
|
||||
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue