1/* 2 * Copyright (c) 2023 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, 0)>; 17 }; 18 }; 19 20 i2c0_default: i2c0_default { 21 group1 { 22 psels = <GECKO_PSEL(I2C_SDA, A, 0)>, 23 <GECKO_PSEL(I2C_SCL, A, 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, B, 11)>, 32 <GECKO_PSEL(I2C_SCL, B, 12)>, 33 <GECKO_LOC(I2C_SDA, 1)>, 34 <GECKO_LOC(I2C_SCL, 1)>; 35 }; 36 }; 37}; 38