Of the three external tamper pins available on the STM32MP15, only the following lines are available on the ConnectCore MP15, multiplexed with other functionality:

GPIO Tamper pin Notes

GPIOC_IO01

TAMP_IN3

Used on the ConnectCore MP15 Development Kit for ETH1_MDC

GPIOI_IO08

TAMP_IN2 / TAMP_OUT3

unused

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