Skip to content

Commit 4664f60

Browse files
AUtech-devcfriedt
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]>
1 parent 9dabb21 commit 4664f60

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
@@ -252,7 +252,7 @@
252252
reg = <0x40008000 0x400>;
253253
clocks = <&rcc STM32_CLOCK(APB1, 20U)>;
254254
resets = <&rctl STM32_RESET(APB1L, 20U)>;
255-
interrupts = <28 0>;
255+
interrupts = <29 0>;
256256
status = "disabled";
257257
};
258258

@@ -261,7 +261,7 @@
261261
reg = <0x40008400 0x400>;
262262
clocks = <&rcc STM32_CLOCK(APB1, 7U)>;
263263
resets = <&rctl STM32_RESET(APB1L, 7U)>;
264-
interrupts = <29 0>;
264+
interrupts = <28 0>;
265265
status = "disabled";
266266
};
267267

0 commit comments

Comments
 (0)