blob: d34a1d5e79c06b0e07c4d9eb21b21c1434f6cb6e [file] [log] [blame]
Patrice Chotardca7289e2023-10-27 16:43:03 +02001// SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-3-Clause)
2/*
3 * Copyright (C) STMicroelectronics 2023 - 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 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
22 usart2_idle_pins_a: usart2-idle-0 {
23 pins1 {
24 pinmux = <STM32_PINMUX('A', 4, ANALOG)>; /* USART2_TX */
25 };
26 pins2 {
27 pinmux = <STM32_PINMUX('A', 8, AF8)>; /* USART2_RX */
28 bias-disable;
29 };
30 };
31
32 usart2_sleep_pins_a: usart2-sleep-0 {
33 pins {
34 pinmux = <STM32_PINMUX('A', 4, ANALOG)>, /* USART2_TX */
35 <STM32_PINMUX('A', 8, ANALOG)>; /* USART2_RX */
36 };
37 };
38};