P1 is a designator for a wire-to-board terminal block in your project. This terminal block, being a passive component, simply provides a physical and electrical connection point in your circuit.
To be specific:
It has 1 pin, marked as Pin 2 (possibly this might be a mistake, usually, pin number corresponds with the designator. So, for P1, it would be Pin 1).
Its terminal type is passive, which means it does not affect the electrical characteristics of your circuit.
The pin type is unspecified, meaning no specific function (like input, output, bidirectional, power, ground, etc) is assigned to this pin.
However, because no electrical connections have been made in this project yet, I can't provide information on what its role or function is within a larger circuit. Normally, it would serve to connect wires from outside the board to the circuitry on the PCB.
yazmnh87
copilot