1/* 2 * Copyright (c) 2022 Silicon Labs 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7#include <zephyr/dt-bindings/input/input-event-codes.h> 8#include <dt-bindings/pinctrl/silabs/xg24-pinctrl.h> 9 10&pinctrl { 11 /* configuration for uart0 device, default state */ 12 usart0_default: usart0_default { 13 group0 { 14 pins = <USART0_TX_PA5>; 15 drive-push-pull; 16 output-high; 17 }; 18 group1 { 19 pins = <USART0_RX_PA6>; 20 input-enable; 21 silabs,input-filter; 22 }; 23 }; 24 25 eusart1_default: eusart1_default { 26 group0 { 27 pins = <EUSART1_TX_PC6>, <EUSART1_SCLK_PC2>, <EUSART1_CS_PA7>; 28 drive-push-pull; 29 output-high; 30 }; 31 group1 { 32 pins = <EUSART1_RX_PC3>; 33 input-enable; 34 }; 35 }; 36 37 i2c0_default: i2c0_default { 38 group0 { 39 pins = <I2C0_SDA_PB3>, <I2C0_SCL_PB4>; 40 drive-open-drain; 41 bias-pull-up; 42 }; 43 }; 44 45}; 46