Skip to content

Commit 0d44525

Browse files
GeorgeCGVcarlescufi
authored andcommitted
dts: arm: st: h7: stm32h750: add flash config
Adds write and erase block size configuration. Signed-off-by: Georgij Cernysiov <[email protected]>
1 parent 9f14cf8 commit 0d44525

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

dts/arm/st/h7/stm32h750.dtsi

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,14 @@
88

99
/ {
1010
soc {
11+
flash-controller@52002000 {
12+
flash0: flash@8000000 {
13+
compatible = "soc-nv-flash";
14+
write-block-size = <32>;
15+
erase-block-size = <DT_SIZE_K(128)>;
16+
};
17+
};
18+
1119
dmamux1: dmamux@40020800 {
1220
dma-requests= <107>;
1321
};

dts/arm/st/h7/stm32h750Xb.dtsi

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
soc {
1212
flash-controller@52002000 {
1313
flash0: flash@8000000 {
14-
compatible = "soc-nv-flash";
1514
label = "FLASH_STM32";
1615
reg = <0x08000000 DT_SIZE_K(128)>;
1716
};

0 commit comments

Comments
 (0)