Change pinning of the UART0

Hi!

Using the nrf5340-DK, I am preparing a code to be used on a custom board, where the pinning configuration will be different from that of the development board. I have made the code for the application core and use the hci_rpmsg to run at the network processor. However, this is set up to use uart0 for monitoring using the following pins as described in nrf5340-dk-nrf5340-cpunet.dts. 

&uart0 {
    status = "okay";
    current-speed = <115200>;
    tx-pin = <33>;
    rx-pin = <32>;
    rx-pull-up;
    rts-pin = <11>;
    cts-pin = <10>;
    cts-pull-up;
};
In the custom board design this is conflicting with some other resource and hence I would like to change the pinning of the uart0. As I understand from the documentation, this could be done by writing an overlay file that will modify the pinning of uart0. Is this correct? and is this possible without regenerating the network processor code? I would be very happy if someone could give me a recipe of how to do this.
Thx!
Parents Reply Children
Related