nrf5340: Using the DTM sample firmware with SWDIO and SWDCLK as UART RX/TX

Hello,

We are looking at using the DTM sample firmware for BLE tuning in a form-factor version of our product. Unfortunately, the only GPIO pins we have exposed are SWDIO and SWDCLK. Is it possible to repurpose those as UART pins? If so, what do I need to change these pinctrl values to?

&pinctrl {
    uart0_default: uart0_default {
        group1 {
            psels = <NRF_PSEL(UART_TX, 0, 30)>;
        };
    group2 {
      psels = <NRF_PSEL(UART_RX, 1, 11)>;
      bias-pull-up;
    };
    };

    uart0_sleep: uart0_sleep {
        group1 {
            psels = <NRF_PSEL(UART_TX, 0, 30)>,
                <NRF_PSEL(UART_RX, 1, 11)>;
            low-power-enable;
        };
    };
};

Related