1/* 2 * Copyright (c) 2018 Peter Bigot Consulting, LLC 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7/* Add hardware flow control to UART1 on Feather-based mesh boards 8 * 9 * NOTE: This file is replicated in particle_{argon,boron,xenon}. 10 * Changes should be made in all instances. */ 11&pinctrl { 12 uart0_default_alt: uart0_default_alt { 13 group1 { 14 psels = <NRF_PSEL(UART_TX, 0, 6)>, 15 <NRF_PSEL(UART_RX, 0, 8)>, 16 <NRF_PSEL(UART_RTS, 1, 1)>, 17 <NRF_PSEL(UART_CTS, 1, 2)>; 18 }; 19 }; 20 uart0_sleep_alt: uart0_sleep_alt { 21 group1 { 22 psels = <NRF_PSEL(UART_TX, 0, 6)>, 23 <NRF_PSEL(UART_RX, 0, 8)>, 24 <NRF_PSEL(UART_RTS, 1, 1)>, 25 <NRF_PSEL(UART_CTS, 1, 2)>; 26 low-power-enable; 27 }; 28 }; 29}; 30 31&uart0 { 32 pinctrl-0 = <&uart0_default_alt>; 33 pinctrl-1 = <&uart0_sleep_alt>; 34 pinctrl-names = "default", "sleep"; 35}; 36