Syntax for placing UART on GPIO1 in the DTS

Hi,

This might be a simple one, but i cannot figure it out.. How do I place the rx/tx/rts/cts lines from UART0 on a GPIO1 pin?

In the piece of DTS below, 'tx-pin' is on GPIO0 pin 18. What is the syntax to move this to a GPIO1 pin?

&uart0 {
	compatible = "nordic,nrf-uarte";
	current-speed = <115200>;
	status = "okay";
	tx-pin = <18>;
	rx-pin = <19>;
	rts-pin = <20>;
	cts-pin = <21>;
};

Parents Reply Children
Related