Skip to content

Commit

Permalink
[nrf fromlist] snippets: add nRF54L20pdk FLPR core snippet
Browse files Browse the repository at this point in the history
Add snippet to boot nRF54L20pdk FLPR from application core.

Upstream PR #: 79355

Signed-off-by: Michał Stasiak <[email protected]>
  • Loading branch information
mstasiaknordic committed Feb 21, 2025
1 parent 2570256 commit 9aca183
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 0 deletions.
3 changes: 3 additions & 0 deletions snippets/nordic-flpr/snippet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,6 @@ boards:
/.*/nrf54h20/cpuapp/:
append:
EXTRA_DTC_OVERLAY_FILE: soc/nrf54h20_cpuapp.overlay
/.*/nrf54l20/cpuapp/:
append:
EXTRA_DTC_OVERLAY_FILE: soc/nrf54l20_cpuapp.overlay
38 changes: 38 additions & 0 deletions snippets/nordic-flpr/soc/nrf54l20_cpuapp.overlay
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
/*
* Copyright (c) 2025 Nordic Semiconductor
* SPDX-License-Identifier: Apache-2.0
*/

/ {
soc {
reserved-memory {
#address-cells = <1>;
#size-cells = <1>;
cpuflpr_code_partition: image@1ed000 {
/* FLPR core code partition */
reg = <0x1ed000 DT_SIZE_K(64)>;
};
};

cpuflpr_sram_code_data: memory@2006fc00 {
compatible = "mmio-sram";
reg = <0x2006fc00 DT_SIZE_K(64)>;
#address-cells = <1>;
#size-cells = <1>;
ranges = <0x0 0x2006fc00 0x10000>;
};
};
};

&uart30 {
status = "reserved";
};

&cpuflpr_vpr {
execution-memory = <&cpuflpr_sram_code_data>;
source-memory = <&cpuflpr_code_partition>;
};

&cpuapp_vevif_tx {
status = "okay";
};

0 comments on commit 9aca183

Please sign in to comment.