1/* 2 * Copyright (c) 2024 Antmicro <www.antmicro.com> 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 usart0 device, default state - operating as UART */ 11 usart0_default: usart0_default { 12 group1 { 13 psels = <GECKO_PSEL(UART_TX, A, 0)>, 14 <GECKO_PSEL(UART_RX, A, 1)>, 15 <GECKO_LOC(UART_TX, 0)>, 16 <GECKO_LOC(UART_RX, 1)>; 17 }; 18 }; 19 20 i2c0_default: i2c0_default { 21 group1 { 22 psels = <GECKO_PSEL(I2C_SDA, C, 10)>, 23 <GECKO_PSEL(I2C_SCL, C, 11)>, 24 <GECKO_LOC(I2C_SDA, 15)>, 25 <GECKO_LOC(I2C_SCL, 15)>; 26 }; 27 }; 28}; 29