Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions boards/nordic/bm_nrf54l05_template/Kconfig.defconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#
# Copyright (c) 2025 Nordic Semiconductor
#
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
#

config ROM_START_OFFSET
default 0x800 if BOOTLOADER_MCUBOOT
3 changes: 1 addition & 2 deletions boards/nordic/bm_nrf54l05_template/Kconfig.sysbuild
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,5 @@

# No changes needed to this file

menuconfig PARTITION_MANAGER
bool "Partition Manager"
config PARTITION_MANAGER
default n
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,17 @@

&cpuapp_rram {
status = "okay";

partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;

app_rom: partition@0 {
label = "app_rom";
reg = <0x0 DT_SIZE_K(372)>;
};

softdevice_rom: partition@5d000 {
label = "softdevice_rom";
reg = <0x0005d000 DT_SIZE_K(128)>;
Expand All @@ -38,18 +41,21 @@

&cpuapp_sram {
status = "okay";

partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;

softdevice_static_ram: partition@20000000 {
label = "softdevice_static_ram";
reg = <0x20000000 DT_SIZE_K(5)>;
};

softdevice_dynamic_ram: partition@20001678 {
label = "softdevice_dynamic_ram";
reg = <0x20001678 DT_SIZE_K(12)>;
};

app_ram: partition@20004678 {
label = "app_ram";
reg = <0x20004678 DT_SIZE_K(78)>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,12 @@

&cpuapp_rram {
status = "okay";

partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;

app_rom: partition@0 {
label = "app_rom";
reg = <0x0 DT_SIZE_K(500)>;
Expand All @@ -34,10 +36,11 @@

&cpuapp_sram {
status = "okay";

partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;

app_ram: partition@20000000 {
label = "app_ram";
reg = <0x20000000 DT_SIZE_K(96)>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,17 @@

&cpuapp_rram {
status = "okay";

partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;

app_rom: partition@0 {
label = "app_rom";
reg = <0x0 DT_SIZE_K(372)>;
};

softdevice_rom: partition@5d000 {
label = "softdevice_rom";
reg = <0x0005d000 DT_SIZE_K(128)>;
Expand All @@ -38,18 +41,21 @@

&cpuapp_sram {
status = "okay";

partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;

softdevice_static_ram: partition@20000000 {
label = "softdevice_static_ram";
reg = <0x20000000 DT_SIZE_K(5)>;
};

softdevice_dynamic_ram: partition@20001678 {
label = "softdevice_dynamic_ram";
reg = <0x20001678 DT_SIZE_K(12)>;
};

app_ram: partition@20004678 {
label = "app_ram";
reg = <0x20004678 DT_SIZE_K(78)>;
Expand Down
11 changes: 11 additions & 0 deletions boards/nordic/bm_nrf54l05_template/cpuapp_common.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

chosen {
zephyr,flash-controller = &rram_controller;
zephyr,boot-mode = &boot_mode0;
};
};

Expand All @@ -24,6 +25,16 @@
reg = <0x0 DT_SIZE_K(500)>;
};

&gpregret1 {
status = "okay";

boot_mode0: boot_mode@0 {
compatible = "zephyr,retention";
status = "okay";
reg = <0x0 0x1>;
};
};

&grtc {
owned-channels = <0 1 2 3 4 5 6 7 8 9 10 11>;
/* Channels 7-11 reserved for Zero Latency IRQs, 3-4 for FLPR */
Expand Down
8 changes: 8 additions & 0 deletions boards/nordic/bm_nrf54l10_template/Kconfig.defconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#
# Copyright (c) 2025 Nordic Semiconductor
#
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
#

config ROM_START_OFFSET
default 0x800 if BOOTLOADER_MCUBOOT
3 changes: 1 addition & 2 deletions boards/nordic/bm_nrf54l10_template/Kconfig.sysbuild
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,5 @@

# No changes needed to this file

menuconfig PARTITION_MANAGER
bool "Partition Manager"
config PARTITION_MANAGER
default n
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,17 @@

&cpuapp_rram {
status = "okay";

partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;

app_rom: partition@0 {
label = "app_rom";
reg = <0x0 DT_SIZE_K(894)>;
};

softdevice_rom: partition@df800 {
label = "softdevice_rom";
reg = <0x000df800 DT_SIZE_K(128)>;
Expand All @@ -38,18 +41,21 @@

&cpuapp_sram {
status = "okay";

partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;

softdevice_static_ram: partition@20000000 {
label = "softdevice_static_ram";
reg = <0x20000000 DT_SIZE_K(5)>;
};

softdevice_dynamic_ram: partition@20001678 {
label = "softdevice_dynamic_ram";
reg = <0x20001678 DT_SIZE_K(12)>;
};

app_ram: partition@20004678 {
label = "app_ram";
reg = <0x20004678 DT_SIZE_K(174)>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,12 @@

&cpuapp_rram {
status = "okay";

partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;

app_rom: partition@0 {
label = "app_rom";
reg = <0x0 DT_SIZE_K(1022)>;
Expand All @@ -34,10 +36,11 @@

&cpuapp_sram {
status = "okay";

partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;

app_ram: partition@20000000 {
label = "app_ram";
reg = <0x20000000 DT_SIZE_K(192)>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,17 @@

&cpuapp_rram {
status = "okay";

partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;

app_rom: partition@0 {
label = "app_rom";
reg = <0x0 DT_SIZE_K(894)>;
};

softdevice_rom: partition@df800 {
label = "softdevice_rom";
reg = <0x000df800 DT_SIZE_K(128)>;
Expand All @@ -38,18 +41,21 @@

&cpuapp_sram {
status = "okay";

partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;

softdevice_static_ram: partition@20000000 {
label = "softdevice_static_ram";
reg = <0x20000000 DT_SIZE_K(5)>;
};

softdevice_dynamic_ram: partition@20001678 {
label = "softdevice_dynamic_ram";
reg = <0x20001678 DT_SIZE_K(12)>;
};

app_ram: partition@20004678 {
label = "app_ram";
reg = <0x20004678 DT_SIZE_K(174)>;
Expand Down
11 changes: 11 additions & 0 deletions boards/nordic/bm_nrf54l10_template/cpuapp_common.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

chosen {
zephyr,flash-controller = &rram_controller;
zephyr,boot-mode = &boot_mode0;
};
};

Expand All @@ -24,6 +25,16 @@
reg = <0x0 DT_SIZE_K(1022)>;
};

&gpregret1 {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Generally we would like to use the devicetree as little as possible. Though, I guess there is no good way to do this without?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

correct, this is used by MCUboot

status = "okay";

boot_mode0: boot_mode@0 {
compatible = "zephyr,retention";
status = "okay";
reg = <0x0 0x1>;
};
};

&grtc {
owned-channels = <0 1 2 3 4 5 6 7 8 9 10 11>;
/* Channels 7-11 reserved for Zero Latency IRQs, 3-4 for FLPR */
Expand Down
8 changes: 8 additions & 0 deletions boards/nordic/bm_nrf54l15_template/Kconfig.defconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#
# Copyright (c) 2025 Nordic Semiconductor
#
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
#

config ROM_START_OFFSET
default 0x800 if BOOTLOADER_MCUBOOT
3 changes: 1 addition & 2 deletions boards/nordic/bm_nrf54l15_template/Kconfig.sysbuild
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,5 @@

# No changes needed to this file

menuconfig PARTITION_MANAGER
bool "Partition Manager"
config PARTITION_MANAGER
default n
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,17 @@

&cpuapp_rram {
status = "okay";

partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;

app_rom: partition@0 {
label = "app_rom";
reg = <0x0 DT_SIZE_K(1396)>;
};

softdevice_rom: partition@15d000 {
label = "softdevice_rom";
reg = <0x0015d000 DT_SIZE_K(128)>;
Expand All @@ -38,18 +41,21 @@

&cpuapp_sram {
status = "okay";

partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;

softdevice_static_ram: partition@20000000 {
label = "softdevice_static_ram";
reg = <0x20000000 DT_SIZE_K(5)>;
};

softdevice_dynamic_ram: partition@20001678 {
label = "softdevice_dynamic_ram";
reg = <0x20001678 DT_SIZE_K(12)>;
};

app_ram: partition@20004678 {
label = "app_ram";
reg = <0x20004678 DT_SIZE_K(238)>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,12 @@

&cpuapp_rram {
status = "okay";

partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;

app_rom: partition@0 {
label = "app_rom";
reg = <0x0 DT_SIZE_K(1524)>;
Expand All @@ -34,10 +36,11 @@

&cpuapp_sram {
status = "okay";

partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;

app_ram: partition@20000000 {
label = "app_ram";
reg = <0x20000000 DT_SIZE_K(256)>;
Expand Down
Loading