Using printk on custom board nRF Connect SDK

Hello.
I have a custom board featuring nRF5340. I have a programming interface that i connect to the DK in order to program it, using SWDIO, SWDCLK and RESET. In addition, I have a micro USB port set exactly like the on in the DK.

Given that, how do I make printk work? I would prefer to print via the dev-kit that i can connect to, and eventually send other data via uart_fifo_fill with USB.

What are the settings that I need in the devicetree?

Related