Skip to content

Commit ea82349

Browse files
TD-JBLcfriedt
authored andcommitted
drivers: clock: stm32_ll_h7: fix max. frequency defines for stm32H7RS
The maximum frequencies for SYSCLK, AHB and APB bus have changed since the first issue of the datasheet. Setting values according to the up- to-date datasheet. Signed-off-by: Thomas Decker <[email protected]>
1 parent 0907701 commit ea82349

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

drivers/clock_control/clock_stm32_ll_h7.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -144,10 +144,10 @@
144144
#define AHB_FREQ_MAX 280000000UL
145145
#define APBx_FREQ_MAX 140000000UL
146146
#elif defined(CONFIG_SOC_SERIES_STM32H7RSX)
147-
/* All h7RS SoC with maximum 500MHz SYSCLK (refer to Datasheet DS14359 rev 1) */
148-
#define SYSCLK_FREQ_MAX 500000000UL
149-
#define AHB_FREQ_MAX 250000000UL
150-
#define APBx_FREQ_MAX 125000000UL
147+
/* All h7RS SoC with maximum 600MHz SYSCLK (refer to Datasheet DS14359 rev 4) */
148+
#define SYSCLK_FREQ_MAX 600000000UL
149+
#define AHB_FREQ_MAX 300000000UL
150+
#define APBx_FREQ_MAX 150000000UL
151151
#else
152152
/* Default: All h7 SoC with maximum 280MHz SYSCLK */
153153
#define SYSCLK_FREQ_MAX 280000000UL

0 commit comments

Comments
 (0)