dts: arm: st: Add Flash Controller Nodes for STM32{F0,F3,F4,L4}

Introduce flash controller nodes for STM32 SoCs that are supported in
the flash driver.  This is a precusor to converting the flash driver on
stm32 over to using device tree.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
Kumar Gala 2018-01-23 12:52:50 -06:00 committed by Kumar Gala
commit 4ddb81f803
8 changed files with 146 additions and 30 deletions

View file

@ -22,14 +22,6 @@
};
};
flash0: flash@8000000 {
compatible = "soc-nv-flash";
label = "FLASH_STM32";
reg = <0x08000000 DT_FLASH_SIZE>;
write-block-size = <2>;
};
sram0: memory@20000000 {
device_type = "memory";
compatible = "mmio-sram";
@ -37,6 +29,24 @@
};
soc {
flash-controller@40022000 {
compatible = "st,stm32f0-flash-controller";
label = "FLASH_CTRL";
reg = <0x40022000 0x400>;
interrupts = <3 0>;
#address-cells = <1>;
#size-cells = <1>;
flash0: flash@8000000 {
compatible = "soc-nv-flash";
label = "FLASH_STM32";
reg = <0x08000000 DT_FLASH_SIZE>;
write-block-size = <2>;
};
};
rcc: rcc@40021000 {
compatible = "st,stm32-rcc";
clocks-controller;