Skip to content

Commit 736da7f

Browse files
aurel32nashif
authored andcommitted
dts: arm: st: h7a3/7hb3: streamline flash properties
Some flash properties are currently in the individual SoC definitions, while they are common to the whole STM32H7A3/STM32H7B3 line. Move them one level higher. Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
1 parent 65eede8 commit 736da7f

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

dts/arm/st/h7/stm32h7a3.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 = <16>;
1517
erase-block-size = <DT_SIZE_K(8)>;
1618
};

dts/arm/st/h7/stm32h7a3Xi.dtsi

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

dts/arm/st/h7/stm32h7b3Xi.dtsi

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

0 commit comments

Comments
 (0)