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, E, 0)>, 14 <GECKO_PSEL(UART_RX, E, 1)>, 15 <GECKO_LOC(UART_TX, 7)>, 16 <GECKO_LOC(UART_RX, 6)>; 17 }; 18 }; 19 20 i2c0_default: i2c0_default { 21 group1 { 22 psels = <GECKO_PSEL(I2C_SDA, C, 0)>, 23 <GECKO_PSEL(I2C_SCL, C, 1)>, 24 <GECKO_LOC(I2C_SDA, 4)>, 25 <GECKO_LOC(I2C_SCL, 4)>; 26 }; 27 }; 28 29 i2c1_default: i2c1_default { 30 group1 { 31 psels = <GECKO_PSEL(I2C_SDA, C, 4)>, 32 <GECKO_PSEL(I2C_SCL, C, 5)>, 33 <GECKO_LOC(I2C_SDA, 0)>, 34 <GECKO_LOC(I2C_SCL, 0)>; 35 }; 36 }; 37}; 38