tests: drivers: uart: Align nrf52840dk configuration

Align configuration for nrf52840dk to use the same loopback pins
for uart_async_api and uart_mix_fifo_poll tests.

Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
This commit is contained in:
Krzysztof Chruscinski 2022-12-22 12:15:14 +01:00 committed by Carles Cufí
commit 6a7db6def9
2 changed files with 12 additions and 12 deletions

View file

@ -20,8 +20,8 @@
group1 { group1 {
psels = <NRF_PSEL(UART_TX, 1, 1)>, psels = <NRF_PSEL(UART_TX, 1, 1)>,
<NRF_PSEL(UART_RX, 1, 2)>, <NRF_PSEL(UART_RX, 1, 2)>,
<NRF_PSEL(UART_RTS, 0, 5)>, <NRF_PSEL(UART_RTS, 1, 3)>,
<NRF_PSEL(UART_CTS, 0, 7)>; <NRF_PSEL(UART_CTS, 1, 4)>;
}; };
}; };
@ -29,8 +29,8 @@
group1 { group1 {
psels = <NRF_PSEL(UART_TX, 1, 1)>, psels = <NRF_PSEL(UART_TX, 1, 1)>,
<NRF_PSEL(UART_RX, 1, 2)>, <NRF_PSEL(UART_RX, 1, 2)>,
<NRF_PSEL(UART_RTS, 0, 5)>, <NRF_PSEL(UART_RTS, 1, 3)>,
<NRF_PSEL(UART_CTS, 0, 7)>; <NRF_PSEL(UART_CTS, 1, 4)>;
low-power-enable; low-power-enable;
}; };
}; };

View file

@ -18,19 +18,19 @@
uart0_default_alt: uart0_default_alt { uart0_default_alt: uart0_default_alt {
group1 { group1 {
psels = <NRF_PSEL(UART_TX, 1, 12)>, psels = <NRF_PSEL(UART_TX, 1, 1)>,
<NRF_PSEL(UART_RX, 1, 13)>, <NRF_PSEL(UART_RX, 1, 2)>,
<NRF_PSEL(UART_RTS, 1, 14)>, <NRF_PSEL(UART_RTS, 1, 3)>,
<NRF_PSEL(UART_CTS, 1, 15)>; <NRF_PSEL(UART_CTS, 1, 4)>;
}; };
}; };
uart0_sleep_alt: uart0_sleep_alt { uart0_sleep_alt: uart0_sleep_alt {
group1 { group1 {
psels = <NRF_PSEL(UART_TX, 1, 12)>, psels = <NRF_PSEL(UART_TX, 1, 1)>,
<NRF_PSEL(UART_RX, 1, 13)>, <NRF_PSEL(UART_RX, 1, 2)>,
<NRF_PSEL(UART_RTS, 1, 14)>, <NRF_PSEL(UART_RTS, 1, 3)>,
<NRF_PSEL(UART_CTS, 1, 15)>; <NRF_PSEL(UART_CTS, 1, 4)>;
low-power-enable; low-power-enable;
}; };
}; };