1/* 2 * Copyright (c) 2022 Silicon Labs 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7#include <dt-bindings/pinctrl/gecko-pinctrl-s1.h> 8 9&pinctrl { 10 /* configuration for uart0 device, default state */ 11 usart0_default: usart0_default { 12 group1 { 13 /* configure PA.1 as UART_RX */ 14 psels = <GECKO_PSEL(UART_RX, A, 1)>, 15 <GECKO_LOC(UART_RX, 0)>; 16 }; 17 group2 { 18 /* configure PA.0 as UART_TX */ 19 psels = <GECKO_PSEL(UART_TX, A, 0)>, 20 <GECKO_LOC(UART_TX, 0)>; 21 }; 22 }; 23}; 24