dts: arm: st: h7: fix flash on M4 board targets

The flash controller is nowadays supported on the M4 core.
Add the bank2-flash-size property to the board definitions as required
by the STM32 H7 flash driver.

Signed-off-by: Tomi Fontanilles <tomi.fontanilles@nordicsemi.no>
This commit is contained in:
Tomi Fontanilles 2024-09-04 11:17:01 +03:00 committed by Anas Nashif
commit 17545c17a5
7 changed files with 3 additions and 34 deletions

View file

@ -10,11 +10,6 @@
/delete-node/ &flash0;
/ {
chosen {
/* Flash controller support is not yet supported on M4 core */
/delete-property/ zephyr,flash-controller;
};
cpus {
/delete-node/ cpu@0;
};
@ -23,6 +18,7 @@
flash-controller@52002000 {
flash1: flash@8100000 {
reg = <0x08100000 DT_SIZE_K(1024)>;
bank2-flash-size = <1024>;
};
};

View file

@ -10,11 +10,6 @@
/delete-node/ &flash0;
/ {
chosen {
/* Flash controller support is not yet supported on M4 core */
/delete-property/ zephyr,flash-controller;
};
cpus {
/delete-node/ cpu@0;
};
@ -23,6 +18,7 @@
flash-controller@52002000 {
flash1: flash@8100000 {
reg = <0x08100000 DT_SIZE_K(1024)>;
bank2-flash-size = <1024>;
};
};

View file

@ -18,6 +18,7 @@
flash-controller@52002000 {
flash1: flash@8100000 {
reg = <0x08100000 DT_SIZE_K(1024)>;
bank2-flash-size = <1024>;
};
};

View file

@ -1,9 +0,0 @@
/ {
chosen {
zephyr,flash-controller = &flash;
};
};
&flash1 {
bank2-flash-size = <1024>;
};

View file

@ -1,3 +0,0 @@
&flash1 {
bank2-flash-size = <1024>;
};

View file

@ -8,13 +8,8 @@ tests:
- shell
filter: CONFIG_FLASH_HAS_DRIVER_ENABLED
platform_exclude:
- nucleo_h745zi_q/stm32h745xx/m4
- stm32h7s78_dk
- gd32f350r_eval
- arduino_portenta_h7/stm32h747xx/m4
- arduino_nicla_vision/stm32h747xx/m4
- arduino_giga_r1/stm32h747xx/m4
- nucleo_h755zi_q/stm32h755xx/m4
harness: keyboard
min_ram: 12
integration_platforms:

View file

@ -11,19 +11,12 @@ common:
integration_platforms:
- native_sim
platform_exclude:
- arduino_giga_r1/stm32h747xx/m4
- arduino_nicla_vision/stm32h747xx/m4
- arduino_portenta_h7/stm32h747xx/m4
- lpcxpresso51u68
- nucleo_h745zi_q/stm32h745xx/m4
- nucleo_h755zi_q/stm32h755xx/m4
- stm32h747i_disco/stm32h747xx/m4
- lpcxpresso55s69/lpc55s69/cpu1
- mpfs_icicle/polarfire/u54
- mpfs_icicle/polarfire/u54/smp
- mpfs_icicle/polarfire/e51
- apollo4p_evb
- stm32h745i_disco/stm32h745xx/m4
- cyw920829m2evk_02
tests:
mgmt.mcumgr.fs.mgmt.hash.supported.crc32: