boards: adi: add default max32655 storage partition

Add a default 64K storage partition for max32655 boards.
Remove no longer required overlays.

Signed-off-by: Rob Cornall <Rob.Cornall@analog.com>
This commit is contained in:
Rob Cornall
2024-11-15 10:29:39 -08:00
committed by Johan Hedberg
parent 2b0befcfbe
commit ef6aad9ca6
4 changed files with 36 additions and 48 deletions

View File

@@ -19,7 +19,7 @@
zephyr,console = &uart0;
zephyr,shell-uart = &uart0;
zephyr,sram = &sram2;
zephyr,flash = &flash0;
zephyr,flash = &code_partition;
};
leds {
@@ -168,3 +168,20 @@
status = "okay";
};
};
&flash0 {
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
code_partition: partition@0 {
label = "image-m4";
reg = <0x0 DT_SIZE_K(448)>;
};
storage_partition: partition@70000 {
label = "storage";
reg = <0x70000 DT_SIZE_K(64)>;
};
};
};

View File

@@ -19,7 +19,7 @@
zephyr,console = &uart0;
zephyr,shell-uart = &uart0;
zephyr,sram = &sram2;
zephyr,flash = &flash0;
zephyr,flash = &code_partition;
};
leds {
@@ -199,3 +199,20 @@
status = "okay";
};
};
&flash0 {
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
code_partition: partition@0 {
label = "image-m4";
reg = <0x0 DT_SIZE_K(448)>;
};
storage_partition: partition@70000 {
label = "storage";
reg = <0x70000 DT_SIZE_K(64)>;
};
};
};

View File

@@ -1,23 +0,0 @@
/*
* Copyright (c) 2024 Analog Devices, Inc.
*
* SPDX-License-Identifier: Apache-2.0
*/
&flash0 {
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
code_partition: partition@0 {
reg = <0x0 DT_SIZE_K(384)>;
read-only;
};
storage_partition: partition@60000 {
label = "storage";
reg = <0x60000 DT_SIZE_K(128)>;
};
};
};

View File

@@ -1,23 +0,0 @@
/*
* Copyright (c) 2024 Analog Devices, Inc.
*
* SPDX-License-Identifier: Apache-2.0
*/
&flash0 {
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
code_partition: partition@0 {
reg = <0x0 DT_SIZE_K(384)>;
read-only;
};
storage_partition: partition@60000 {
label = "storage";
reg = <0x60000 DT_SIZE_K(128)>;
};
};
};