1// SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-3-Clause) 2/* 3 * Copyright (C) 2023, STMicroelectronics - All Rights Reserved 4 * Author: Alexandre Torgue <alexandre.torgue@foss.st.com> for STMicroelectronics. 5 */ 6#include <dt-bindings/pinctrl/stm32-pinfunc.h> 7 8&pinctrl { 9 /omit-if-no-ref/ 10 usart2_pins_a: usart2-0 { 11 pins1 { 12 pinmux = <STM32_PINMUX('A', 4, AF6)>; /* USART2_TX */ 13 bias-disable; 14 drive-push-pull; 15 slew-rate = <0>; 16 }; 17 pins2 { 18 pinmux = <STM32_PINMUX('A', 8, AF8)>; /* USART2_RX */ 19 bias-disable; 20 }; 21 }; 22}; 23