1# BL5340-DVK board configuration
2
3# Copyright (c) 2019-2021 Nordic Semiconductor ASA
4# Copyright (c) 2021-2023 Laird Connectivity
5# SPDX-License-Identifier: Apache-2.0
6
7if BOARD_BL5340_DVK_CPUAPP || BOARD_BL5340_DVK_CPUAPP_NS
8
9config BOARD_ENABLE_DCDC_APP
10	bool "Application MCU DCDC converter"
11	select SOC_DCDC_NRF53X_APP
12	default y
13
14config BOARD_ENABLE_DCDC_NET
15	bool "Network MCU DCDC converter"
16	select SOC_DCDC_NRF53X_NET
17	default y
18
19config BOARD_ENABLE_DCDC_HV
20	bool "High Voltage DCDC converter"
21	select SOC_DCDC_NRF53X_HV
22	default y
23
24config BOARD_ENABLE_CPUNET
25	bool "NRF53 Network MCU"
26	select SOC_NRF_GPIO_FORWARDER_FOR_NRF5340 if \
27		$(dt_compat_enabled,$(DT_COMPAT_NORDIC_NRF_GPIO_FORWARDER))
28	help
29	  This option enables releasing the Network 'force off' signal, which
30	  as a consequence will power up the Network MCU during system boot.
31	  Additionally, the option allocates GPIO pins that will be used by UARTE
32	  of the Network MCU.
33	  Note: GPIO pin allocation can only be configured by the secure Application
34	  MCU firmware, so when this option is used with the non-secure version of
35	  the board, the application needs to take into consideration, that the
36	  secure firmware image must already have configured GPIO allocation for the
37	  Network MCU.
38	default y if (BT || NRF_802154_SER_HOST)
39
40config DOMAIN_CPUNET_BOARD
41	string
42	default "bl5340_dvk_cpunet" if BOARD_BL5340_DVK_CPUAPP || BOARD_BL5340_DVK_CPUAPP_NS
43	depends on BOARD_ENABLE_CPUNET
44	help
45	  The board which will be used for CPUNET domain when creating a multi
46	  image application where one or more images should be located on
47	  another board. For example hci_rpmsg on the bl5340_dvk_cpunet for
48	  Bluetooth applications.
49
50endif # BOARD_BL5340_DVK_CPUAPP || BOARD_BL5340_DVK_CPUAPP_NS
51
52if BOARD_BL5340_DVK_CPUNET
53
54config DOMAIN_CPUAPP_BOARD
55	string
56	default "bl5340_dvk_cpuapp" if BOARD_BL5340_DVK_CPUNET
57	help
58	  The board which will be used for CPUAPP domain when creating a multi
59	  image application where one or more images should be located on
60	  another board.
61
62endif # BOARD_BL5340_DVK_CPUNET
63