blob: 2bcb62ef7ab85af47a5eab00d3bb9c95417bb353 [file] [log] [blame]
/*
* Copyright (c) 2022 Linaro Limited
*
* SPDX-License-Identifier: Apache-2.0
*/
/dts-v1/;
#include "b_u585i_iot02a-common.dtsi"
/ {
model = "STMicroelectronics B-U585I-IOT02A discovery kit";
compatible = "st,b-u585i-iot02a";
chosen {
zephyr,console = &usart1;
zephyr,shell-uart = &usart1;
zephyr,sram = &sram0;
zephyr,flash = &flash0;
zephyr,code-partition = &slot1_partition;
};
aliases {
led0 = &green_led_1;
led1 = &red_led_1;
sw0 = &user_button;
};
};
&flash0 {
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
/*
* Following flash partition is compatible with requirements
* given in TFM configuration given for current board.
* It might require adjustment depending on evolutions on TFM.
*/
boot_partition: partition@0 {
label = "mcuboot";
reg = <0x00000000 0x00034000>;
read-only;
};
/* Secure image primary slot */
slot0_partition: partition@34000 {
label = "image-0";
reg = <0x00034000 0x00040000>;
};
/* Non-secure image primary slot */
slot1_partition: partition@74000 {
label = "image-1";
reg = <0x00074000 0x00080000>;
};
/*
* The flash starting at 0xEA000 and ending at
* 0xEB000 is reserved for the application.
*/
storage_partition: partition@EA000 {
label = "storage";
reg = <0x000EA000 0x00001000>;
};
};
};