STM32L4R5xx Different Pins Same Function
It means that multiple pins can be used as SP1_SCK but you have to configure which one you want to use. This can be done via the GPIOx_AFR registers, see figure below and see this datasheet: Link to datasheet.