52 lines
884 B
Plaintext
52 lines
884 B
Plaintext
/* SPDX-License-Identifier: Apache-2.0 */
|
|
|
|
/ {
|
|
chosen {
|
|
zephyr,boot-mode = &boot_mode0;
|
|
zephyr,uart-mcumgr = &cdc_acm_uart;
|
|
};
|
|
};
|
|
|
|
&gpregret1 {
|
|
status = "okay";
|
|
|
|
boot_mode0: boot_mode@0 {
|
|
compatible = "zephyr,retention";
|
|
status = "okay";
|
|
reg = <0x0 0x1>;
|
|
};
|
|
};
|
|
|
|
&zephyr_udc0 {
|
|
status = "okay";
|
|
|
|
cdc_acm_uart: cdc_acm_uart {
|
|
compatible = "zephyr,cdc-acm-uart";
|
|
};
|
|
};
|
|
|
|
/delete-node/ &boot_partition;
|
|
/delete-node/ &slot0_partition;
|
|
/delete-node/ &slot1_partition;
|
|
|
|
&flash0 {
|
|
partitions {
|
|
compatible = "fixed-partitions";
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
|
|
boot_partition: partition@0 {
|
|
label = "mcuboot";
|
|
reg = <0x00000000 0x00020000>;
|
|
};
|
|
slot0_partition: partition@20000 {
|
|
label = "image-0";
|
|
reg = <0x00020000 0x00020000>;
|
|
};
|
|
slot1_partition: partition@40000 {
|
|
label = "image-1";
|
|
reg = <0x00040000 0x00020000>;
|
|
};
|
|
};
|
|
};
|