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 { |
| 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 | }; |