blob: 8d0eaafe90714b5b0cd4fd6f94dc48f87533320d [file] [log] [blame]
Alexandre Torgueff173d12021-01-07 14:15:12 +01001// 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>
Alexandre Torgue00510af2021-11-18 12:26:49 +01007
8&pinctrl {
9 usart2_pins_a: usart2-0 {
10 pins1 {
11 pinmux = <STM32_PINMUX('A', 4, AF6)>; /* USART2_TX */
12 bias-disable;
13 drive-push-pull;
14 slew-rate = <0>;
15 };
16 pins2 {
17 pinmux = <STM32_PINMUX('A', 8, AF8)>; /* USART2_RX */
18 bias-disable;
19 };
20 };
21};