diff options
Diffstat (limited to 'fdts/stm32mp25-pinctrl.dtsi')
-rw-r--r-- | fdts/stm32mp25-pinctrl.dtsi | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/fdts/stm32mp25-pinctrl.dtsi b/fdts/stm32mp25-pinctrl.dtsi new file mode 100644 index 0000000..05876a3 --- /dev/null +++ b/fdts/stm32mp25-pinctrl.dtsi @@ -0,0 +1,22 @@ +// SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-3-Clause) +/* + * Copyright (C) 2023, STMicroelectronics - All Rights Reserved + * Author: Alexandre Torgue <alexandre.torgue@foss.st.com> for STMicroelectronics. + */ +#include <dt-bindings/pinctrl/stm32-pinfunc.h> + +&pinctrl { + /omit-if-no-ref/ + usart2_pins_a: usart2-0 { + pins1 { + pinmux = <STM32_PINMUX('A', 4, AF6)>; /* USART2_TX */ + bias-disable; + drive-push-pull; + slew-rate = <0>; + }; + pins2 { + pinmux = <STM32_PINMUX('A', 8, AF8)>; /* USART2_RX */ + bias-disable; + }; + }; +}; |