drivers: flash: NXP KL2X/KW4xZ: Add device tree support
Add device tree support for the "nxp,kinetis-ftfa" flash controller used on the NXP KL2X and KW4xZ SoCs. Fixes: #5788 Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
parent
a394693d2f
commit
b8173d960e
6 changed files with 74 additions and 15 deletions
|
@ -21,11 +21,21 @@
|
|||
};
|
||||
|
||||
soc {
|
||||
flash0: flash@0 {
|
||||
compatible = "soc-nv-flash";
|
||||
label = "MCUX_FLASH";
|
||||
reg = <0 0x20000>;
|
||||
write-block-size = <4>;
|
||||
flash-controller@40020000 {
|
||||
compatible = "nxp,kinetis-ftfa";
|
||||
label = "FLASH_CTRL";
|
||||
reg = <0x40020000 0x14>;
|
||||
interrupts = <5 0>;
|
||||
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
flash0: flash@0 {
|
||||
compatible = "soc-nv-flash";
|
||||
label = "MCUX_FLASH";
|
||||
reg = <0 0x20000>;
|
||||
write-block-size = <4>;
|
||||
};
|
||||
};
|
||||
|
||||
i2c0: i2c@40066000 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue