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:
parent
3a4f868084
commit
17545c17a5
7 changed files with 3 additions and 34 deletions
|
@ -10,11 +10,6 @@
|
||||||
/delete-node/ &flash0;
|
/delete-node/ &flash0;
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
chosen {
|
|
||||||
/* Flash controller support is not yet supported on M4 core */
|
|
||||||
/delete-property/ zephyr,flash-controller;
|
|
||||||
};
|
|
||||||
|
|
||||||
cpus {
|
cpus {
|
||||||
/delete-node/ cpu@0;
|
/delete-node/ cpu@0;
|
||||||
};
|
};
|
||||||
|
@ -23,6 +18,7 @@
|
||||||
flash-controller@52002000 {
|
flash-controller@52002000 {
|
||||||
flash1: flash@8100000 {
|
flash1: flash@8100000 {
|
||||||
reg = <0x08100000 DT_SIZE_K(1024)>;
|
reg = <0x08100000 DT_SIZE_K(1024)>;
|
||||||
|
bank2-flash-size = <1024>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -10,11 +10,6 @@
|
||||||
/delete-node/ &flash0;
|
/delete-node/ &flash0;
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
chosen {
|
|
||||||
/* Flash controller support is not yet supported on M4 core */
|
|
||||||
/delete-property/ zephyr,flash-controller;
|
|
||||||
};
|
|
||||||
|
|
||||||
cpus {
|
cpus {
|
||||||
/delete-node/ cpu@0;
|
/delete-node/ cpu@0;
|
||||||
};
|
};
|
||||||
|
@ -23,6 +18,7 @@
|
||||||
flash-controller@52002000 {
|
flash-controller@52002000 {
|
||||||
flash1: flash@8100000 {
|
flash1: flash@8100000 {
|
||||||
reg = <0x08100000 DT_SIZE_K(1024)>;
|
reg = <0x08100000 DT_SIZE_K(1024)>;
|
||||||
|
bank2-flash-size = <1024>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -18,6 +18,7 @@
|
||||||
flash-controller@52002000 {
|
flash-controller@52002000 {
|
||||||
flash1: flash@8100000 {
|
flash1: flash@8100000 {
|
||||||
reg = <0x08100000 DT_SIZE_K(1024)>;
|
reg = <0x08100000 DT_SIZE_K(1024)>;
|
||||||
|
bank2-flash-size = <1024>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
/ {
|
|
||||||
chosen {
|
|
||||||
zephyr,flash-controller = &flash;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
&flash1 {
|
|
||||||
bank2-flash-size = <1024>;
|
|
||||||
};
|
|
|
@ -1,3 +0,0 @@
|
||||||
&flash1 {
|
|
||||||
bank2-flash-size = <1024>;
|
|
||||||
};
|
|
|
@ -8,13 +8,8 @@ tests:
|
||||||
- shell
|
- shell
|
||||||
filter: CONFIG_FLASH_HAS_DRIVER_ENABLED
|
filter: CONFIG_FLASH_HAS_DRIVER_ENABLED
|
||||||
platform_exclude:
|
platform_exclude:
|
||||||
- nucleo_h745zi_q/stm32h745xx/m4
|
|
||||||
- stm32h7s78_dk
|
- stm32h7s78_dk
|
||||||
- gd32f350r_eval
|
- gd32f350r_eval
|
||||||
- arduino_portenta_h7/stm32h747xx/m4
|
|
||||||
- arduino_nicla_vision/stm32h747xx/m4
|
|
||||||
- arduino_giga_r1/stm32h747xx/m4
|
|
||||||
- nucleo_h755zi_q/stm32h755xx/m4
|
|
||||||
harness: keyboard
|
harness: keyboard
|
||||||
min_ram: 12
|
min_ram: 12
|
||||||
integration_platforms:
|
integration_platforms:
|
||||||
|
|
|
@ -11,19 +11,12 @@ common:
|
||||||
integration_platforms:
|
integration_platforms:
|
||||||
- native_sim
|
- native_sim
|
||||||
platform_exclude:
|
platform_exclude:
|
||||||
- arduino_giga_r1/stm32h747xx/m4
|
|
||||||
- arduino_nicla_vision/stm32h747xx/m4
|
|
||||||
- arduino_portenta_h7/stm32h747xx/m4
|
|
||||||
- lpcxpresso51u68
|
- lpcxpresso51u68
|
||||||
- nucleo_h745zi_q/stm32h745xx/m4
|
|
||||||
- nucleo_h755zi_q/stm32h755xx/m4
|
|
||||||
- stm32h747i_disco/stm32h747xx/m4
|
|
||||||
- lpcxpresso55s69/lpc55s69/cpu1
|
- lpcxpresso55s69/lpc55s69/cpu1
|
||||||
- mpfs_icicle/polarfire/u54
|
- mpfs_icicle/polarfire/u54
|
||||||
- mpfs_icicle/polarfire/u54/smp
|
- mpfs_icicle/polarfire/u54/smp
|
||||||
- mpfs_icicle/polarfire/e51
|
- mpfs_icicle/polarfire/e51
|
||||||
- apollo4p_evb
|
- apollo4p_evb
|
||||||
- stm32h745i_disco/stm32h745xx/m4
|
|
||||||
- cyw920829m2evk_02
|
- cyw920829m2evk_02
|
||||||
tests:
|
tests:
|
||||||
mgmt.mcumgr.fs.mgmt.hash.supported.crc32:
|
mgmt.mcumgr.fs.mgmt.hash.supported.crc32:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue