[PATCH 10/10] dts: upstream: arm: st: stm32h7-pinctrl: change pins for USART1
Patrice CHOTARD
patrice.chotard at foss.st.com
Tue May 27 15:26:36 CEST 2025
On 5/8/25 23:24, Johannes Krottmayer wrote:
> The pins for USART1 have must be changed to other values, to
> support the STM32H747 discovery board.
>
> Signed-off-by: Johannes Krottmayer <johannes at krotti42.com>
> Cc: Patrick Delaunay <patrick.delaunay at foss.st.com>
> Cc: Patrice Chotard <patrice.chotard at foss.st.com>
> ---
> dts/upstream/src/arm/st/stm32h7-pinctrl.dtsi | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/dts/upstream/src/arm/st/stm32h7-pinctrl.dtsi b/dts/upstream/src/arm/st/stm32h7-pinctrl.dtsi
> index 7f1d234e102..7d7c87aa2fe 100644
> --- a/dts/upstream/src/arm/st/stm32h7-pinctrl.dtsi
> +++ b/dts/upstream/src/arm/st/stm32h7-pinctrl.dtsi
> @@ -213,13 +213,13 @@
>
> usart1_pins: usart1-0 {
> pins1 {
> - pinmux = <STM32_PINMUX('B', 14, AF4)>; /* USART1_TX */
> + pinmux = <STM32_PINMUX('A', 9, AF7)>; /* USART1_TX */
> bias-disable;
> drive-push-pull;
> slew-rate = <0>;
> };
> pins2 {
> - pinmux = <STM32_PINMUX('B', 15, AF4)>; /* USART1_RX */
> + pinmux = <STM32_PINMUX('A', 10, AF7)>; /* USART1_RX */
> bias-disable;
> };
> };
Hi Johannes
Same remark as Quentin did on Patch 9, don't update DT files from dts/upstream/src/... as
it's a synchronization with kernel device tree.
If you need a new pinctrl configuration for USART1, add a new one in kernel device tree
and submit it to kernel mailing list.
Thanks
Patrice
More information about the U-Boot
mailing list