Skip to content

Commit 31e35bf

Browse files
AUtech-devfabiobaltieri
authored andcommitted
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 <[email protected]> (cherry picked from commit 4664f60)
1 parent 7e90d36 commit 31e35bf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dts/arm/st/u0/stm32u0.dtsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@
229229
reg = <0x40008000 0x400>;
230230
clocks = <&rcc STM32_CLOCK(APB1, 20U)>;
231231
resets = <&rctl STM32_RESET(APB1L, 20U)>;
232-
interrupts = <28 0>;
232+
interrupts = <29 0>;
233233
status = "disabled";
234234
};
235235

@@ -238,7 +238,7 @@
238238
reg = <0x40008400 0x400>;
239239
clocks = <&rcc STM32_CLOCK(APB1, 7U)>;
240240
resets = <&rctl STM32_RESET(APB1L, 7U)>;
241-
interrupts = <29 0>;
241+
interrupts = <28 0>;
242242
status = "disabled";
243243
};
244244

0 commit comments

Comments
 (0)