1/* SPDX-License-Identifier: Apache-2.0 */ 2 3&pinctrl { 4 uart1_default_alt: uart1_default_alt { 5 group1 { 6 psels = <NRF_PSEL(UART_TX, 0, 6)>, 7 <NRF_PSEL(UART_RX, 0, 8)>; 8 }; 9 }; 10 11 uart1_sleep_alt: uart1_sleep_alt { 12 group1 { 13 psels = <NRF_PSEL(UART_TX, 0, 6)>, 14 <NRF_PSEL(UART_RX, 0, 8)>; 15 low-power-enable; 16 }; 17 }; 18 19 uart0_default_alt: uart0_default_alt { 20 group1 { 21 psels = <NRF_PSEL(UART_TX, 1, 1)>, 22 <NRF_PSEL(UART_RX, 1, 2)>, 23 <NRF_PSEL(UART_RTS, 1, 3)>, 24 <NRF_PSEL(UART_CTS, 1, 4)>; 25 }; 26 }; 27 28 uart0_sleep_alt: uart0_sleep_alt { 29 group1 { 30 psels = <NRF_PSEL(UART_TX, 1, 1)>, 31 <NRF_PSEL(UART_RX, 1, 2)>, 32 <NRF_PSEL(UART_RTS, 1, 3)>, 33 <NRF_PSEL(UART_CTS, 1, 4)>; 34 low-power-enable; 35 }; 36 }; 37}; 38 39/ { 40 chosen { 41 zephyr,console = &uart1; 42 }; 43}; 44 45&uart1 { 46 current-speed = <115200>; 47 status = "okay"; 48 pinctrl-0 = <&uart1_default_alt>; 49 pinctrl-1 = <&uart1_sleep_alt>; 50 pinctrl-names = "default", "sleep"; 51}; 52 53dut: &uart0 { 54 compatible = "nordic,nrf-uarte"; 55 current-speed = <115200>; 56 status = "okay"; 57 pinctrl-0 = <&uart0_default_alt>; 58 pinctrl-1 = <&uart0_sleep_alt>; 59 pinctrl-names = "default", "sleep"; 60}; 61