Skip to content

Commit 04328a9

Browse files
aurel32nashif
authored andcommitted
dts: arm: st: h743/h753: streamline flash properties
Some flash properties are currently in the individual SoC definitions, while they are common to the whole STM32H743/753 SoC line. Move them one level higher. Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> h753
1 parent 736da7f commit 04328a9

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

dts/arm/st/h7/stm32h743.dtsi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
soc {
1212
flash-controller@52002000 {
1313
flash0: flash@8000000 {
14+
compatible = "soc-nv-flash";
15+
label = "FLASH_STM32";
1416
write-block-size = <32>;
1517
erase-block-size = <DT_SIZE_K(128)>;
1618
};

dts/arm/st/h7/stm32h743Xi.dtsi

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111
soc {
1212
flash-controller@52002000 {
1313
flash0: flash@8000000 {
14-
compatible = "soc-nv-flash";
15-
label = "FLASH_STM32";
1614
reg = <0x08000000 DT_SIZE_K(2048)>;
1715
};
1816
};

dts/arm/st/h7/stm32h753Xi.dtsi

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111
soc {
1212
flash-controller@52002000 {
1313
flash0: flash@8000000 {
14-
compatible = "soc-nv-flash";
15-
label = "FLASH_STM32";
1614
reg = <0x08000000 DT_SIZE_K(2048)>;
1715
};
1816
};

0 commit comments

Comments
 (0)