include: bindings: stm32 clock HSI48 defined
The stm32 devices which have a HSI48 clock possibility.
for stm32F0, stm32G0, stm32G4, stm32H7, stm32L0,
stm32L4, stm32L5, stm32U5, stm32WB
Signed-off-by: Francois Ramu <francois.ramu@st.com>
diff --git a/include/zephyr/dt-bindings/clock/stm32f0_clock.h b/include/zephyr/dt-bindings/clock/stm32f0_clock.h
index 5ac9c92..b1c985d 100644
--- a/include/zephyr/dt-bindings/clock/stm32f0_clock.h
+++ b/include/zephyr/dt-bindings/clock/stm32f0_clock.h
@@ -19,14 +19,14 @@
/** Fixed clocks */
#define STM32_SRC_HSI 0x001
#define STM32_SRC_LSE 0x002
-#define STM32_SRC_LSI 0x007
-/* #define STM32_SRC_HSI48 0x003 */
+#define STM32_SRC_LSI 0x003
+#define STM32_SRC_HSI48 0x004
/** System clock */
-#define STM32_SRC_SYSCLK 0x004
+#define STM32_SRC_SYSCLK 0x005
/** Bus clock */
-#define STM32_SRC_PCLK 0x005
+#define STM32_SRC_PCLK 0x006
/** PLL clock */
-#define STM32_SRC_PLLCLK 0x006
+#define STM32_SRC_PLLCLK 0x007
#define STM32_CLOCK_REG_MASK 0xFFU
#define STM32_CLOCK_REG_SHIFT 0U
diff --git a/include/zephyr/dt-bindings/clock/stm32g0_clock.h b/include/zephyr/dt-bindings/clock/stm32g0_clock.h
index bf9f38d..3be7ed5 100644
--- a/include/zephyr/dt-bindings/clock/stm32g0_clock.h
+++ b/include/zephyr/dt-bindings/clock/stm32g0_clock.h
@@ -20,18 +20,19 @@
/** Fixed clocks */
#define STM32_SRC_HSI 0x001
-#define STM32_SRC_MSI 0x002
-#define STM32_SRC_HSE 0x003
-#define STM32_SRC_LSE 0x004
-#define STM32_SRC_LSI 0x005
+#define STM32_SRC_HSI48 0x002
+#define STM32_SRC_MSI 0x003
+#define STM32_SRC_HSE 0x004
+#define STM32_SRC_LSE 0x005
+#define STM32_SRC_LSI 0x006
/** System clock */
-#define STM32_SRC_SYSCLK 0x006
+#define STM32_SRC_SYSCLK 0x007
/** Peripheral bus clock */
-#define STM32_SRC_PCLK 0x007
+#define STM32_SRC_PCLK 0x008
/** PLL clock outputs */
-#define STM32_SRC_PLL_P 0x008
-#define STM32_SRC_PLL_Q 0x009
-#define STM32_SRC_PLL_R 0x00a
+#define STM32_SRC_PLL_P 0x009
+#define STM32_SRC_PLL_Q 0x00a
+#define STM32_SRC_PLL_R 0x00b
#define STM32_CLOCK_REG_MASK 0xFFU
#define STM32_CLOCK_REG_SHIFT 0U
diff --git a/include/zephyr/dt-bindings/clock/stm32g4_clock.h b/include/zephyr/dt-bindings/clock/stm32g4_clock.h
index 6ad3f90..ec13915 100644
--- a/include/zephyr/dt-bindings/clock/stm32g4_clock.h
+++ b/include/zephyr/dt-bindings/clock/stm32g4_clock.h
@@ -22,7 +22,7 @@
/** Fixed clocks */
#define STM32_SRC_HSI 0x001
-/* #define STM32_SRC_HSI48 0x002 */
+#define STM32_SRC_HSI48 0x002
#define STM32_SRC_HSE 0x003
#define STM32_SRC_LSE 0x004
#define STM32_SRC_LSI 0x005
diff --git a/include/zephyr/dt-bindings/clock/stm32h7_clock.h b/include/zephyr/dt-bindings/clock/stm32h7_clock.h
index 3f9aba6..e37e1af 100644
--- a/include/zephyr/dt-bindings/clock/stm32h7_clock.h
+++ b/include/zephyr/dt-bindings/clock/stm32h7_clock.h
@@ -24,8 +24,7 @@
#define STM32_SRC_HSE 0x00A
#define STM32_SRC_LSE 0x00B
#define STM32_SRC_LSI 0x00C
-/** Oscillators not yet supported */
-/* #define STM32_SRC_HSI48 0x00D */
+#define STM32_SRC_HSI48 0x00D
#define STM32_SRC_HSI_KER 0x00E /* HSI + HSIKERON */
#define STM32_SRC_CSI_KER 0x00F /* CSI + CSIKERON */
/** Core clock */
diff --git a/include/zephyr/dt-bindings/clock/stm32l0_clock.h b/include/zephyr/dt-bindings/clock/stm32l0_clock.h
index 37d5a6d..640b61c 100644
--- a/include/zephyr/dt-bindings/clock/stm32l0_clock.h
+++ b/include/zephyr/dt-bindings/clock/stm32l0_clock.h
@@ -23,10 +23,11 @@
#define STM32_SRC_LSE 0x002
#define STM32_SRC_LSI 0x003
#define STM32_SRC_HSI 0x004
+#define STM32_SRC_HSI48 0x005
/** System clock */
-#define STM32_SRC_SYSCLK 0x005
+#define STM32_SRC_SYSCLK 0x006
/** Bus clock */
-#define STM32_SRC_PCLK 0x006
+#define STM32_SRC_PCLK 0x007
#define STM32_CLOCK_REG_MASK 0xFFU
#define STM32_CLOCK_REG_SHIFT 0U
diff --git a/include/zephyr/dt-bindings/clock/stm32l4_clock.h b/include/zephyr/dt-bindings/clock/stm32l4_clock.h
index 78a825f..ca7a07f 100644
--- a/include/zephyr/dt-bindings/clock/stm32l4_clock.h
+++ b/include/zephyr/dt-bindings/clock/stm32l4_clock.h
@@ -22,7 +22,7 @@
/** Fixed clocks */
#define STM32_SRC_HSI 0x001
-/* #define STM32_SRC_HSI48 0x002 */
+#define STM32_SRC_HSI48 0x002
#define STM32_SRC_LSE 0x003
#define STM32_SRC_LSI 0x004
#define STM32_SRC_MSI 0x005
diff --git a/include/zephyr/dt-bindings/clock/stm32u5_clock.h b/include/zephyr/dt-bindings/clock/stm32u5_clock.h
index d741ed6..900f776 100644
--- a/include/zephyr/dt-bindings/clock/stm32u5_clock.h
+++ b/include/zephyr/dt-bindings/clock/stm32u5_clock.h
@@ -25,7 +25,7 @@
#define STM32_SRC_LSE 0x00B
#define STM32_SRC_LSI 0x00C
#define STM32_SRC_HSI16 0x00D
-/* #define STM32_SRC_HSI48 0x00E */
+#define STM32_SRC_HSI48 0x00E
#define STM32_SRC_MSIS 0x00F
#define STM32_SRC_MSIK 0x010
/** Core clock */
diff --git a/include/zephyr/dt-bindings/clock/stm32wb_clock.h b/include/zephyr/dt-bindings/clock/stm32wb_clock.h
index c7ff23d..4f4d2be 100644
--- a/include/zephyr/dt-bindings/clock/stm32wb_clock.h
+++ b/include/zephyr/dt-bindings/clock/stm32wb_clock.h
@@ -22,7 +22,7 @@
/** Fixed clocks */
#define STM32_SRC_HSI 0x001
-/* #define STM32_SRC_HSI48 0x002 */
+#define STM32_SRC_HSI48 0x002
#define STM32_SRC_LSE 0x003
#define STM32_SRC_LSI 0x004
#define STM32_SRC_MSI 0x005