From dec8737321ca6cfb07d394e0cc988f25841384d4 Mon Sep 17 00:00:00 2001 From: Axel Utech Date: Fri, 11 Jul 2025 12:44:09 +0200 Subject: [PATCH] dts: arm: st: u0: fix lpuart1/2 interrupts Interrupt vectors for lpuart1 and lpuart2 are swapped according to the reference manual RM0503 table 54. Fixes the usage of the interrupt-driven uart API. Signed-off-by: Axel Utech (cherry picked from commit 4664f600d6de65e92e6f557641c7defc5e85bba8) --- dts/arm/st/u0/stm32u0.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dts/arm/st/u0/stm32u0.dtsi b/dts/arm/st/u0/stm32u0.dtsi index 4d0b1e871280b..075134c287059 100644 --- a/dts/arm/st/u0/stm32u0.dtsi +++ b/dts/arm/st/u0/stm32u0.dtsi @@ -229,7 +229,7 @@ reg = <0x40008000 0x400>; clocks = <&rcc STM32_CLOCK(APB1, 20U)>; resets = <&rctl STM32_RESET(APB1L, 20U)>; - interrupts = <28 0>; + interrupts = <29 0>; status = "disabled"; }; @@ -238,7 +238,7 @@ reg = <0x40008400 0x400>; clocks = <&rcc STM32_CLOCK(APB1, 7U)>; resets = <&rctl STM32_RESET(APB1L, 7U)>; - interrupts = <29 0>; + interrupts = <28 0>; status = "disabled"; };