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
2 changes: 2 additions & 0 deletions CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
/boards/nordic/nrf54l*/ @nrfconnect/ncs-co-boards @kl-cruz
/boards/nordic/nrf52* @nrfconnect/ncs-co-boards @nrfconnect/ncs-si-bluebagel
/boards/nordic/thingy91*/ @nrfconnect/ncs-co-boards @nrfconnect/ncs-cia
/boards/sercomm/ @nrfconnect/ncs-co-boards @tokangas

**/shields/ @nrfconnect/ncs-co-build-system

Expand Down Expand Up @@ -748,6 +749,7 @@
# SoC
/soc/nordic/ @nrfconnect/ncs-code-owners
/soc/nordic/nrf71/ @nrfconnect/ncs-code-owners @rob-robinson-14 @Hi-Im-David
/soc/sercomm/ @nrfconnect/ncs-code-owners @tokangas

# These snippet entries must be below other snippet entries (excluding doc), do not move
/snippets/ @nrfconnect/ncs-co-build-system
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
# Enable MPU
CONFIG_ARM_MPU=y

# Enable PINCTRL
CONFIG_PINCTRL=y

# enable GPIO
CONFIG_GPIO=y
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
# Enable MPU
CONFIG_ARM_MPU=y

# Enable PINCTRL:
CONFIG_PINCTRL=y

# enable GPIO
CONFIG_GPIO=y
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
# Enable MPU
CONFIG_ARM_MPU=y

CONFIG_PINCTRL=y
2 changes: 0 additions & 2 deletions boards/nordic/nrf52dmouse/nrf52dmouse_nrf52832_defconfig
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
# Enable MPU
CONFIG_ARM_MPU=y

CONFIG_PINCTRL=y
2 changes: 0 additions & 2 deletions boards/nordic/nrf52kbd/nrf52kbd_nrf52832_defconfig
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
# Enable MPU
CONFIG_ARM_MPU=y

CONFIG_PINCTRL=y
5 changes: 1 addition & 4 deletions boards/nordic/thingy91/thingy91_nrf52840_defconfig
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
# Enable MPU
CONFIG_ARM_MPU=y

# Enable PINCTRL
CONFIG_PINCTRL=y

# enable uart driver
# enable UART driver
CONFIG_SERIAL=y

# Enable console
Expand Down
3 changes: 0 additions & 3 deletions boards/nordic/thingy91/thingy91_nrf9160_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ CONFIG_ARM_MPU=y
# Enable TrustZone-M
CONFIG_ARM_TRUSTZONE_M=y

# Enable PINCTRL
CONFIG_PINCTRL=y

# Enable GPIO
CONFIG_GPIO=y

Expand Down
3 changes: 0 additions & 3 deletions boards/nordic/thingy91/thingy91_nrf9160_ns_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@ CONFIG_ARM_TRUSTZONE_M=y
# This Board implies building Non-Secure firmware
CONFIG_TRUSTED_EXECUTION_NONSECURE=y

# Enable PINCTRL
CONFIG_PINCTRL=y

# Enable GPIO
CONFIG_GPIO=y

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,13 @@ CONFIG_ARM_TRUSTZONE_M=y
# enable GPIO
CONFIG_GPIO=y

# Enable uart driver
# Enable UART driver
CONFIG_SERIAL=y

# enable console
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y

CONFIG_PINCTRL=y

CONFIG_RETENTION=y
CONFIG_RETAINED_MEM=y
CONFIG_RETAINED_MEM_ZEPHYR_RAM=y
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,13 @@ CONFIG_TRUSTED_EXECUTION_NONSECURE=y
# enable GPIO
CONFIG_GPIO=y

# Enable uart driver
# Enable UART driver
CONFIG_SERIAL=y

# enable console
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y

CONFIG_PINCTRL=y

CONFIG_RETENTION=y
CONFIG_RETAINED_MEM=y
CONFIG_RETAINED_MEM_ZEPHYR_RAM=y
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,9 @@ CONFIG_HW_STACK_PROTECTION=y
# enable GPIO
CONFIG_GPIO=y

# Enable uart driver
# Enable UART driver
CONFIG_SERIAL=y

# enable console
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y

CONFIG_PINCTRL=y
3 changes: 0 additions & 3 deletions boards/nordic/thingy91x/thingy91x_nrf9151_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@ CONFIG_ARM_MPU=y
# Enable TrustZone-M
CONFIG_ARM_TRUSTZONE_M=y

# Enable PINCTRL
CONFIG_PINCTRL=y

# Enable GPIO
CONFIG_GPIO=y

Expand Down
3 changes: 0 additions & 3 deletions boards/nordic/thingy91x/thingy91x_nrf9151_ns_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ CONFIG_ARM_TRUSTZONE_M=y
# This Board implies building Non-Secure firmware
CONFIG_TRUSTED_EXECUTION_NONSECURE=y

# Enable PINCTRL
CONFIG_PINCTRL=y

# Enable GPIO
CONFIG_GPIO=y

Expand Down
14 changes: 14 additions & 0 deletions boards/sercomm/tpm530mevk/Kconfig.defconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# TPM530M EVK TPM530M board configuration

# Copyright (c) 2025 Nordic Semiconductor ASA
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause

config HW_STACK_PROTECTION
default ARCH_HAS_STACK_PROTECTION

if BOARD_TPM530MEVK_TPM530M || BOARD_TPM530MEVK_TPM530M_NS

config BOARD_TPM530MEVK
select USE_DT_CODE_PARTITION if BOARD_TPM530MEVK_TPM530M_NS

endif # BOARD_TPM530MEVK_TPM530M || BOARD_TPM530MEVK_TPM530M_NS
7 changes: 7 additions & 0 deletions boards/sercomm/tpm530mevk/Kconfig.tpm530mevk
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# TPM530M EVK TPM530M board configuration

# Copyright (c) 2025 Nordic Semiconductor ASA
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause

config BOARD_TPM530MEVK
select SOC_TPM530M
14 changes: 14 additions & 0 deletions boards/sercomm/tpm530mevk/board.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause

if(CONFIG_BOARD_TPM530MEVK_TPM530M_NS)
set(TFM_PUBLIC_KEY_FORMAT "full")
endif()

if(CONFIG_TFM_FLASH_MERGED_BINARY)
set_property(TARGET runners_yaml_props_target PROPERTY hex_file tfm_merged.hex)
endif()

board_runner_args(jlink "--device=nRF9151_xxCA" "--speed=4000")
include(${ZEPHYR_BASE}/boards/common/nrfutil.board.cmake)
include(${ZEPHYR_BASE}/boards/common/nrfjprog.board.cmake)
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake)
8 changes: 8 additions & 0 deletions boards/sercomm/tpm530mevk/board.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
board:
name: tpm530mevk
full_name: TPM530M EVK
vendor: sercomm
socs:
- name: tpm530m
variants:
- name: ns
7 changes: 7 additions & 0 deletions boards/sercomm/tpm530mevk/pre_dt_board.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Copyright (c) 2025 Nordic Semiconductor ASA
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause

# Suppress "unique_unit_address_if_enabled" to handle the following overlaps:
# - flash-controller@39000 & kmu@39000
# - power@5000 & clock@5000
list(APPEND EXTRA_DTC_FLAGS "-Wno-unique_unit_address_if_enabled")
19 changes: 19 additions & 0 deletions boards/sercomm/tpm530mevk/tpm530mevk_tpm530m.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
/*
* Copyright (c) 2025 Nordic Semiconductor ASA
*
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
*/

/dts-v1/;
#include <sercomm/tpm530m.dtsi>
#include "tpm530mevk_tpm530m_common.dtsi"

/ {
chosen {
zephyr,sram = &sram0_s;
zephyr,flash = &flash0;
zephyr,code-partition = &slot0_partition;
zephyr,sram-secure-partition = &sram0_s;
zephyr,sram-non-secure-partition = &sram0_ns;
};
};
17 changes: 17 additions & 0 deletions boards/sercomm/tpm530mevk/tpm530mevk_tpm530m.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
identifier: tpm530mevk/tpm530m
name: TPM530M-EVK-TPM530M
type: mcu
arch: arm
toolchain:
- gnuarmemb
- zephyr
ram: 88
flash: 1024
supported:
- gpio
- i2c
- pwm
- spi
- watchdog
- counter
vendor: sercomm
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
/*
* Copyright (c) 2025 Nordic Semiconductor ASA
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
*/

&pinctrl {
uart0_default: uart0_default {
group1 {
psels = <NRF_PSEL(UART_TX, 0, 4)>,
<NRF_PSEL(UART_RTS, 0, 7)>;
};
group2 {
psels = <NRF_PSEL(UART_RX, 0, 5)>,
<NRF_PSEL(UART_CTS, 0, 6)>;
bias-pull-up;
};
};

uart0_sleep: uart0_sleep {
group1 {
psels = <NRF_PSEL(UART_TX, 0, 4)>,
<NRF_PSEL(UART_RX, 0, 5)>,
<NRF_PSEL(UART_RTS, 0, 7)>,
<NRF_PSEL(UART_CTS, 0, 6)>;
low-power-enable;
};
};

uart1_default: uart1_default {
group1 {
psels = <NRF_PSEL(UART_TX, 0, 8)>,
<NRF_PSEL(UART_RTS, 0, 9)>;
};
group2 {
psels = <NRF_PSEL(UART_RX, 0, 10)>,
<NRF_PSEL(UART_CTS, 0, 11)>;
bias-pull-up;
};
};

uart1_sleep: uart1_sleep {
group1 {
psels = <NRF_PSEL(UART_TX, 0, 8)>,
<NRF_PSEL(UART_RX, 0, 10)>,
<NRF_PSEL(UART_RTS, 0, 9)>,
<NRF_PSEL(UART_CTS, 0, 11)>;
low-power-enable;
};
};

i2c2_default: i2c2_default {
group1 {
psels = <NRF_PSEL(TWIM_SDA, 0, 26)>,
<NRF_PSEL(TWIM_SCL, 0, 27)>;
};
};

i2c2_sleep: i2c2_sleep {
group1 {
psels = <NRF_PSEL(TWIM_SDA, 0, 26)>,
<NRF_PSEL(TWIM_SCL, 0, 27)>;
low-power-enable;
};
};

spi3_default: spi3_default {
group1 {
psels = <NRF_PSEL(SPIM_SCK, 0, 3)>,
<NRF_PSEL(SPIM_MISO, 0, 1)>,
<NRF_PSEL(SPIM_MOSI, 0, 2)>;
};
};

spi3_sleep: spi3_sleep {
group1 {
psels = <NRF_PSEL(SPIM_SCK, 0, 3)>,
<NRF_PSEL(SPIM_MISO, 0, 1)>,
<NRF_PSEL(SPIM_MOSI, 0, 2)>;
low-power-enable;
};
};

pwm0_default: pwm0_default {
group1 {
psels = <NRF_PSEL(PWM_OUT0, 0, 31)>;
};
};

pwm0_sleep: pwm0_sleep {
group1 {
psels = <NRF_PSEL(PWM_OUT0, 0, 31)>;
low-power-enable;
};
};
};
Loading