The nRF21540 DK has a 5 V boost regulator.
It gives a stable 5 V output from four possible sources:
Each of these sources has a reverse protection diode to prevent current flowing in the wrong direction if multiple sources are connected at the same time.