1 /*
2  * Copyright (c) 2023 Nordic Semiconductor ASA
3  *
4  * SPDX-License-Identifier: BSD-3-Clause
5  */
6 
7 #ifndef __RTE_DEVICE_H
8 #define __RTE_DEVICE_H
9 
10 #include <nrf-pinctrl.h>
11 
12 #define RTE_USART0 1
13 
14 #define RTE_USART0_PINS            \
15 {                                  \
16         NRF_PSEL(UART_TX,  0, 27), \
17         NRF_PSEL(UART_RX,  0, 26), \
18         NRF_PSEL(UART_RTS, 0, 14), \
19         NRF_PSEL(UART_CTS, 0, 15), \
20 }
21 
22 
23 #define RTE_USART1 1
24 
25 #define RTE_USART1_PINS            \
26 {                                  \
27         NRF_PSEL(UART_TX,  0, 29), \
28         NRF_PSEL(UART_RX,  0, 28), \
29         NRF_PSEL(UART_RTS, 0, 16), \
30         NRF_PSEL(UART_CTS, 0, 17), \
31 }
32 
33 #define RTE_FLASH0 1
34 
35 #endif  /* __RTE_DEVICE_H */
36