From b5ae6fa34808080e0039dee4b59fea37f8e23f13 Mon Sep 17 00:00:00 2001 From: Arif Balik Date: Sat, 26 Oct 2024 15:01:57 +0300 Subject: [PATCH] drivers: clock: fix STM32_PERIPH_BUS_MIN for STM32U0 `STM32_PERIPH_BUS_MIN` is not the minimum bus address in `stm32u0_clock.h` Signed-off-by: Arif Balik --- include/zephyr/dt-bindings/clock/stm32u0_clock.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/zephyr/dt-bindings/clock/stm32u0_clock.h b/include/zephyr/dt-bindings/clock/stm32u0_clock.h index 4dfd1b3a0f3354..f47a3c4dba714d 100644 --- a/include/zephyr/dt-bindings/clock/stm32u0_clock.h +++ b/include/zephyr/dt-bindings/clock/stm32u0_clock.h @@ -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 */