1/*
2 * Copyright (c) 2018 Peter Bigot Consulting, LLC
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7/* Add UART2 support on particle_xenon via nRF52840 UARTE1 */
8&pinctrl {
9	uart1_default: uart1_default {
10		group1 {
11			psels = <NRF_PSEL(UART_TX, 1, 8)>,
12				<NRF_PSEL(UART_RX, 1, 10)>,
13				<NRF_PSEL(UART_RTS, 1, 3)>,
14				<NRF_PSEL(UART_CTS, 1, 11)>;
15		};
16	};
17	uart1_sleep: uart1_sleep {
18		group1 {
19			psels = <NRF_PSEL(UART_TX, 1, 8)>,
20				<NRF_PSEL(UART_RX, 1, 10)>,
21				<NRF_PSEL(UART_RTS, 1, 3)>,
22				<NRF_PSEL(UART_CTS, 1, 11)>;
23			low-power-enable;
24		};
25	};
26};
27
28&uart1 {
29	compatible = "nordic,nrf-uarte";
30	current-speed = <115200>;
31	status = "okay";
32	pinctrl-0 = <&uart1_default>;
33	pinctrl-1 = <&uart1_sleep>;
34	pinctrl-names = "default", "sleep";
35};
36
37