Skip to content

Commit f02dc0d

Browse files
kbidanidanieldegrasse
authored andcommitted
dts: arm: st: u3: fix flash erase block size and max erase time
- Change erase-block-size from 8192 to 4096 bytes to match the 4 KB page size of STM32U3 flash. - Update max-erase-time from 5 ms to 14 ms according to datasheet specifications. - These changes ensure correct flash erase behavior and timing on STM32U3 devices. Signed-off-by: Khaoula Bidani <khaoula.bidani-ext@st.com>
1 parent df52ba8 commit f02dc0d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

dts/arm/st/u3/stm32u3.dtsi

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,9 @@
9999
compatible = "st,stm32-nv-flash", "soc-nv-flash";
100100

101101
write-block-size = <16>;
102-
erase-block-size = <8192>;
103-
/* maximum erase time(ms) for a 8K sector */
104-
max-erase-time = <5>;
102+
erase-block-size = <4096>;
103+
/* maximum erase time(ms) for a 4KB page */
104+
max-erase-time = <14>;
105105
};
106106
};
107107

0 commit comments

Comments
 (0)