I am migrating from nrfConnect 1.7.1 to 2.3.0 and am getting a number of build errors. I have a custom board definition for my product and in it we've obviously defined custom pins for the peripheral devices.
For example: uart0
&uart0 { status = "okay"; compatible = "nordic,nrf-uarte"; current-speed = <115200>; tx-pin = <20>; rx-pin = <19>; };
When building, I get the following error:
'tx-pin' is marked as deprecated in 'properties:' in /opt/nordic/ncs/v2.3.0/zephyr/dts/bindings/serial/nordic,nrf-uarte.yaml for node /soc/uart@40002000. 'rx-pin' is marked as deprecated in 'properties:' in /opt/nordic/ncs/v2.3.0/zephyr/dts/bindings/serial/nordic,nrf-uarte.yaml for node /soc/uart@40002000.
I understand that I need to use `pincntrl-0: <>` instead. However, I have no idea what pinctrl expects. I keep getting an "unknown node" error. What can I reference? Is there a migration guide somewhere?
I am guessing that it should look something like this: `pinctrl-0 = <&uart0_tx_pa20 &uart0_rx_pa19>;` but I have no idea. Any help is appreciated.