Alexandre Torgue | ff173d1 | 2021-01-07 14:15:12 +0100 | [diff] [blame] | 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> |
Alexandre Torgue | 00510af | 2021-11-18 12:26:49 +0100 | [diff] [blame] | 7 | |
| 8 | &pinctrl { |
Yann Gautier | c55e2ee | 2023-10-18 14:17:04 +0200 | [diff] [blame] | 9 | /omit-if-no-ref/ |
Alexandre Torgue | 00510af | 2021-11-18 12:26:49 +0100 | [diff] [blame] | 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 | }; |