Of the eight external tamper pins available on the STM32MP25, only the following lines are available on the ConnectCore MP25, multiplexed with other functionality:

GPIO Tamper pin Notes

GPIOC_IO04

TAMP_IN1

Used on the ConnectCore MP25 Development Kit for ETH2_TX_CTL

GPIOF_IO07

TAMP_IN2

Used on the ConnectCore MP25 Development Kit for ETH2_GTX_CLK

GPIOC_IO03

TAMP_IN3

Used on the ConnectCore MP25 Development Kit for ETH2_RX_CTL

GPIOZ_IO02

TAMP_IN3

Used on the ConnectCore MP25 Development Kit for Tamper Button

GPIOG_IO01

TAMP_IN4

Used on the ConnectCore MP25 Development Kit for MIKROBUS_ADC

GPIOF_IO06

TAMP_IN5

Used on the ConnectCore MP25 Development Kit for ETH2_RX_CLK

GPIOZ_IO04

TAMP_IN5

Used on the ConnectCore MP25 Development Kit for TOF_LP

GPIOC_IO05

TAMP_IN6

Used on the ConnectCore MP25 Development Kit for ETH2_MDIO

GPIOG_IO03

TAMP_IN7

Used on the ConnectCore MP25 Development Kit for MIKROBUS_INT

GPIOZ_IO06

TAMP_IN8

Used on the ConnectCore MP25 Development Kit for 3V3_RF_EN on SOM variants with Wi-Fi

To use a pad as tamper pin, you must disable drivers with multiplexed functionality on the default device tree.