Skip to content

Commit 5299a58

Browse files
FRASTMcarlescufi
authored andcommitted
dts: arm: stm32u5 octospi clock source
The definition of the clock source for the 2 octospi instances is given by the DTS node. The default value selects the sysclk (not pclk) for the alternate clock control. Signed-off-by: Francois Ramu <[email protected]>
1 parent 764dbbf commit 5299a58

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

dts/arm/st/u5/stm32u5.dtsi

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,8 @@
360360
compatible = "st,stm32-ospi";
361361
reg = <0x420d1400 0x400>;
362362
interrupts = <76 0>;
363-
clocks = <&rcc STM32_CLOCK_BUS_AHB2_2 0x00000010>;
363+
clocks = <&rcc STM32_CLOCK_BUS_AHB2_2 0x00000010>,
364+
<&rcc STM32_SRC_SYSCLK OCTOSPI_SEL(0)>;
364365
#address-cells = <1>;
365366
#size-cells = <0>;
366367
status = "disabled";
@@ -371,7 +372,8 @@
371372
compatible = "st,stm32-ospi";
372373
reg = <0x420d2400 0x400>;
373374
interrupts = <120 0>;
374-
clocks = <&rcc STM32_CLOCK_BUS_AHB2_2 0x00000100>;
375+
clocks = <&rcc STM32_CLOCK_BUS_AHB2_2 0x00000100>,
376+
<&rcc STM32_SRC_SYSCLK OCTOSPI_SEL(0)>;
375377
#address-cells = <1>;
376378
#size-cells = <0>;
377379
status = "disabled";

0 commit comments

Comments
 (0)