-
Notifications
You must be signed in to change notification settings - Fork 645
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[nrf fromlist] boards: nordic: Add nRF54L09 FLPR
Add nrF54L09 FLPR core support. Upstream PR #: 85310 Signed-off-by: Adam Kondraciuk <[email protected]>
- Loading branch information
1 parent
eb29880
commit 054f689
Showing
8 changed files
with
140 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,11 @@ | ||
# Copyright (c) 2024 Nordic Semiconductor ASA | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
board_runner_args(jlink "--device=cortex-m33" "--speed=4000") | ||
if (CONFIG_BOARD_NRF54L09PDK_NRF54L09_CPUAPP) | ||
board_runner_args(jlink "--device=cortex-m33" "--speed=4000") | ||
elseif (CONFIG_BOARD_NRF54L09PDK_NRF54L09_CPUFLPR) | ||
board_runner_args(jlink "--speed=4000") | ||
endif() | ||
|
||
include(${ZEPHYR_BASE}/boards/common/nrfutil.board.cmake) | ||
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,3 +4,6 @@ board: | |
vendor: nordic | ||
socs: | ||
- name: nrf54l09 | ||
variants: | ||
- name: xip | ||
cpucluster: cpuflpr |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
64 changes: 64 additions & 0 deletions
64
boards/nordic/nrf54l09pdk/nrf54l09pdk_nrf54l09_cpuflpr.dts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
/* | ||
* Copyright (c) 2025 Nordic Semiconductor ASA | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
/dts-v1/; | ||
#include <nordic/nrf54l09_enga_cpuflpr.dtsi> | ||
#include "nrf54l09pdk_nrf54l09-common.dtsi" | ||
|
||
/ { | ||
model = "Nordic nRF54L09 PDK nRF54L09 FLPR MCU"; | ||
compatible = "nordic,nrf54l09pdk_nrf54l09-cpuflpr"; | ||
|
||
chosen { | ||
zephyr,console = &uart30; | ||
zephyr,shell-uart = &uart30; | ||
zephyr,code-partition = &cpuflpr_code_partition; | ||
zephyr,flash = &cpuflpr_rram; | ||
zephyr,sram = &cpuflpr_sram; | ||
}; | ||
}; | ||
|
||
&cpuflpr_sram { | ||
status = "okay"; | ||
}; | ||
|
||
&cpuflpr_rram { | ||
partitions { | ||
compatible = "fixed-partitions"; | ||
#address-cells = <1>; | ||
#size-cells = <1>; | ||
|
||
cpuflpr_code_partition: partition@0 { | ||
label = "image-0"; | ||
reg = <0x0 DT_SIZE_K(60)>; | ||
}; | ||
}; | ||
}; | ||
|
||
&grtc { | ||
owned-channels = <3 4>; | ||
status = "okay"; | ||
}; | ||
|
||
&uart30 { | ||
status = "okay"; | ||
}; | ||
|
||
&gpio0 { | ||
status = "okay"; | ||
}; | ||
|
||
&gpio1 { | ||
status = "okay"; | ||
}; | ||
|
||
&gpiote20 { | ||
status = "okay"; | ||
}; | ||
|
||
&gpiote30 { | ||
status = "okay"; | ||
}; |
14 changes: 14 additions & 0 deletions
14
boards/nordic/nrf54l09pdk/nrf54l09pdk_nrf54l09_cpuflpr.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Copyright (c) 2025 Nordic Semiconductor ASA | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
identifier: nrf54l09pdk/nrf54l09/cpuflpr | ||
name: nRF54L09-PDK-nRF54L09-Fast-Lightweight-Peripheral-Processor | ||
type: mcu | ||
arch: riscv | ||
toolchain: | ||
- zephyr | ||
ram: 48 | ||
flash: 60 | ||
supported: | ||
- counter | ||
- gpio |
19 changes: 19 additions & 0 deletions
19
boards/nordic/nrf54l09pdk/nrf54l09pdk_nrf54l09_cpuflpr_defconfig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Copyright (c) 2025 Nordic Semiconductor ASA | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
# Enable UART driver | ||
CONFIG_SERIAL=y | ||
|
||
# Enable console | ||
CONFIG_CONSOLE=y | ||
CONFIG_UART_CONSOLE=y | ||
|
||
# Enable GPIO | ||
CONFIG_GPIO=y | ||
|
||
CONFIG_USE_DT_CODE_PARTITION=y | ||
|
||
# Execute from SRAM | ||
CONFIG_XIP=n | ||
|
||
CONFIG_RISCV_ALWAYS_SWITCH_THROUGH_ECALL=y |