Hello @Alonso Morán
Please check datasheet of the product, section 'Ordering information' (nearly last page of datasheet).
P = Dedicated pinout supporting external SMPS. Basically 2 pins of the package named 'VDD12' can be used to supply the internal core voltage with an external power supply (usually an SMPS). If you intend to not use this feature but use this package, you can leave the pins 'not connected' and it will behave like a STM32L4P5VGT6.
For more information about external SMPS connections on VDD12, you can read AN4621 .
Bruno
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.