Skip to content

Commit

Permalink
drivers: clock: fix STM32_PERIPH_BUS_MIN for STM32U0
Browse files Browse the repository at this point in the history
`STM32_PERIPH_BUS_MIN` is not the minimum bus address in `stm32u0_clock.h`

Signed-off-by: Arif Balik <arifbalik@outlook.com>
  • Loading branch information
arifbalik authored and mmahadevan108 committed Nov 7, 2024
1 parent 4f85ce6 commit 10fa1ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/zephyr/dt-bindings/clock/stm32u0_clock.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@
#include "stm32_common_clocks.h"

/** Bus gatting clocks */
#define STM32_CLOCK_BUS_IOP 0x4C
#define STM32_CLOCK_BUS_AHB1 0x48
#define STM32_CLOCK_BUS_IOP 0x4C
#define STM32_CLOCK_BUS_APB1 0x58
#define STM32_CLOCK_BUS_APB1_2 0x60

#define STM32_PERIPH_BUS_MIN STM32_CLOCK_BUS_IOP
#define STM32_PERIPH_BUS_MIN STM32_CLOCK_BUS_AHB1
#define STM32_PERIPH_BUS_MAX STM32_CLOCK_BUS_APB1_2

/** Domain clocks */
Expand Down

0 comments on commit 10fa1ea

Please sign in to comment.