drivers: flash: Add STM32G4X flash support
Add flash driver support for STM32G4X SoC series. Signed-off-by: Richard Osterloh <richard.osterloh@gmail.com>
This commit is contained in:
parent
1d2a030ee3
commit
c68e027c28
9 changed files with 290 additions and 4 deletions
|
@ -26,6 +26,24 @@
|
|||
};
|
||||
|
||||
soc {
|
||||
flash-controller@40022000 {
|
||||
compatible = "st,stm32g4-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";
|
||||
|
||||
write-block-size = <8>;
|
||||
erase-block-size = <2048>;
|
||||
};
|
||||
};
|
||||
|
||||
rcc: rcc@40021000 {
|
||||
compatible = "st,stm32-rcc";
|
||||
#clock-cells = <2>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue