Best Practice for enabling RTT in the devicetree

I'm developing firmware for a custom board developed with the nRF5340. We opted to use RTT as our logging/shell output as opposed to UART thanks to pcb size limitations. I'm setting up a custom devicetree file and noticed these lines as I was copying the files over from the nrf5340dk DTS files:

	chosen {
		zephyr,console = &uart0;
		zephyr,shell-uart = &uart0;
		zephyr,uart-mcumgr = &uart0;
		zephyr,bt-mon-uart = &uart0;
		zephyr,bt-c2h-uart = &uart0;
	};

I understand &uart0 is a reference to the uart node for the development kit. Since we aren't using any of the UART ports, my thought is to

1) delete &uart0 as a node from the devicetree and then

2) replace the references in this chosen block with references to the RTT peripheral

My problem is that I don't understand how to do (2)--there doesn't seem to be a way for me to create a node for the RTT peripheral in the device tree. Is there some other way I can instruct the software to use RTT for the console, the shell, and the other functions listed in this "chosen" block?

Thanks for your help!

Related