Pinout of P3 (SWD) on PCA10004 and PCA10005

We're going to be programming and debugging our prototype nRF51822 board using this adapter from Segger. It's the same connector as comes with the J-Link LITE in the dev kit.

www.segger.com/jlink-adapters.html

What is the pinout of the P3 (SWD) port on the PCA10004 and PCA10005 boards? I know two of these are SWDIO and SWCLK and at least one must be GND, but I don't know which pins. Where to the other pins go to on the nRF51822?

Also, is this the connector I need for my board? Which spec/part number?

www.samtec.com/.../ftsh_mt.pdf

Thanks.

Related