How to config device tree to use UART00 or UART21 for TXD output to P2.08

Hi,

I get a PCBA which contains the following test points of nRF54L15 :  P0.02, P0.03, P2.07, P2.08. I would like to set one of them to be UART TXD. 

In pin assignment, I checked that P2.8 can be used as TXD of UART00 or UART21.

However, I tried to det following in the .dts , I will get build error:

&pinctrl {
   /omit-if-no-ref/ uart00_default: uart00_default {

   group1 {
   psels = <NRF_PSEL(UART_TX, 2, 8)>;

  };
  group2 {
psels = <NRF_PSEL(UART_RX, 2, 7)>;
bias-pull-up;
};
};

/omit-if-no-ref/ uart00_sleep: uart00_sleep {

group1 {
psels = <NRF_PSEL(UART_TX, 2, 8)>,
<NRF_PSEL(UART_RX, 2, 7)>;
low-power-enable;
};


};

....

&uart00 {
current-speed = <115200>;
pinctrl-0 = <&uart00_default>;
pinctrl-1 = <&uart00_sleep>;
pinctrl-names = "default", "sleep";
};

Same issue if I use uart21.

Would you inform how can I set the dts in oder to use UART00 or UART21?

Rgds

John

Related