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 <[email protected]>
> Cc: Patrick Delaunay <[email protected]>
> Cc: Patrice Chotard <[email protected]>
> ---
>  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

Reply via email to