blob: 4884d83f7ff6881abfa7961a87dfd8d864af01d4 [file] [log] [blame]
/*
* Copyright (c) 2023 STMicroelectronics
*
* SPDX-License-Identifier: Apache-2.0
*/
/dts-v1/;
#include "stm32h573i_dk-common.dtsi"
/ {
model = "STMicroelectronics STM32H573I DISCOVERY KIT board";
compatible = "st,stm32h573i-dk";
chosen {
zephyr,flash = &flash0;
zephyr,flash-controller = &flash;
zephyr,code-partition = &slot0_partition;
};
};
&flash0 {
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
/* Set the partitions with first MB to make use of the whole Bank1 */
boot_partition: partition@0 {
label = "mcuboot";
reg = <0x00000000 DT_SIZE_K(64)>;
};
slot0_partition: partition@10000 {
label = "image-0";
reg = <0x00010000 DT_SIZE_K(448)>;
};
slot1_partition: partition@80000 {
label = "image-1";
reg = <0x00080000 DT_SIZE_K(440)>;
};
/* Set 72KB of storage at the end of Bank1 */
storage_partition: partition@ee000 {
label = "storage";
reg = <0x000ee000 DT_SIZE_K(72)>;
};
};
};
&ext_flash {
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "nor";
reg = <0x00000000 DT_SIZE_M(64)>;
};
};
};