Skip to content

Commit 3e5563d

Browse files
mah-eiSmartnordicjm
authored andcommitted
[nrf fromtree] boards: we: update WE ophelia4 board definition
add support for gpregret1, nfct Signed-off-by: Matthias Hauser <[email protected]> Signed-off-by: Matthias Hauser <[email protected]> (cherry picked from commit 17e1429)
1 parent c539d47 commit 3e5563d

File tree

4 files changed

+28
-8
lines changed

4 files changed

+28
-8
lines changed

boards/we/ophelia4ev/Kconfig.defconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
# Copyright (c) 2025 Würth Elektronik eiSos GmbH & Co. KG
22
# SPDX-License-Identifier: Apache-2.0
33

4+
config HW_STACK_PROTECTION
5+
default ARCH_HAS_STACK_PROTECTION
6+
47
if BOARD_OPHELIA4EV_NRF54L15_CPUAPP
58

69
config ROM_START_OFFSET

boards/we/ophelia4ev/ophelia4ev_nrf54l15_cpuapp.dts

Lines changed: 25 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,20 @@
1515
chosen {
1616
zephyr,console = &uart20;
1717
zephyr,shell-uart = &uart20;
18-
zephyr,code-partition = &slot0_partition;
19-
zephyr,flash = &cpuapp_rram;
20-
zephyr,sram = &cpuapp_sram;
2118
zephyr,uart-mcumgr = &uart20;
2219
zephyr,bt-mon-uart = &uart20;
2320
zephyr,bt-c2h-uart = &uart20;
2421
zephyr,flash-controller = &rram_controller;
22+
zephyr,flash = &cpuapp_rram;
2523
zephyr,ieee802154 = &ieee802154;
24+
zephyr,boot-mode = &boot_mode0;
25+
zephyr,code-partition = &slot0_partition;
26+
zephyr,sram = &cpuapp_sram;
27+
};
28+
29+
aliases {
30+
mcuboot-button0 = &button0;
31+
mcuboot-led0 = &led0;
2632
};
2733
};
2834

@@ -32,7 +38,7 @@
3238

3339
&lfxo {
3440
load-capacitors = "internal";
35-
load-capacitance-femtofarad = <15500>;
41+
load-capacitance-femtofarad = <17000>;
3642
};
3743

3844
&hfxo {
@@ -63,6 +69,10 @@
6369
status = "okay";
6470
};
6571

72+
&nfct {
73+
status = "okay";
74+
};
75+
6676
&gpio0 {
6777
status = "okay";
6878
};
@@ -99,6 +109,16 @@
99109
status = "okay";
100110
};
101111

112+
&gpregret1 {
113+
status = "okay";
114+
115+
boot_mode0: boot_mode@0 {
116+
compatible = "zephyr,retention";
117+
status = "okay";
118+
reg = <0x0 0x1>;
119+
};
120+
};
121+
102122
&spi00 {
103123
status = "okay";
104124

@@ -126,6 +146,7 @@
126146
has-dpd;
127147
t-enter-dpd = <10000>;
128148
t-exit-dpd = <35000>;
149+
reset-gpios = <&gpio2 6 GPIO_ACTIVE_LOW>;
129150
};
130151
};
131152

boards/we/ophelia4ev/ophelia4ev_nrf54l15_cpuapp_defconfig

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,5 @@ CONFIG_GPIO=y
1414
# Enable MPU
1515
CONFIG_ARM_MPU=y
1616

17-
# Enable hardware stack protection
18-
CONFIG_HW_STACK_PROTECTION=y
19-
2017
# Use internal LFCLK
2118
CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC=y

boards/we/ophelia4ev/ophelia4ev_nrf54l15_cpuflpr.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,3 @@ supported:
1515
- gpio
1616
- i2c
1717
- spi
18-
- watchdog

0 commit comments

Comments
 (0)