Hi Ralph Deffke,
Whether can use the PTA7(IRQ4) and PTB0(IRQ5) to wake up the deep sleep mode, it is determined by which deep sleep mode you are using.
In KL02, the deep sleep includes STOP, VLPS, VLLS1-3 low power mode.
To STOP and VLPS mode, you can use the PTA,PTB interrupt to wake up the deep sleep mode, but to VLLSx mode, you just can wakeup from enabled LPTMR input source or RESET pin.
For details, please refer to the KL02 reference manual, page 174:

Actually, in our FRDM-KL02 sample code, there has a project about the low power, you can refer to it.
FRDM-KL02Z Sample Code Package
You can find the code from folder:kl02-frdm-demo\build\iar\KL02_LowPower_Demo
If you want to use PTA7 and PTB0 to wake up the Stop and VLPS mode, just configure the PORTA and PORTB and it's interrupt, but take care, you can't use PTA7 and PTB0 to wake up the VLLSx mode.
If you still have question, please contact me!
Have a great day,
Jingjing
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------