blob: 05876a3940e2dbcdcc20461b7aebac3ec0088547 [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 {
Yann Gautierc55e2ee2023-10-18 14:17:04 +02009 /omit-if-no-ref/
Alexandre Torgue00510af2021-11-18 12:26:49 +010010 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};