13#ifndef ZEPHYR_INCLUDE_DRIVERS_CLOCK_CONTROL_ESP32_CLOCK_CONTROL_H_
14#define ZEPHYR_INCLUDE_DRIVERS_CLOCK_CONTROL_ESP32_CLOCK_CONTROL_H_
22#if defined(CONFIG_SOC_SERIES_ESP32)
24#elif defined(CONFIG_SOC_SERIES_ESP32S2)
26#elif defined(CONFIG_SOC_SERIES_ESP32S3)
28#elif defined(CONFIG_SOC_SERIES_ESP32C2)
30#elif defined(CONFIG_SOC_SERIES_ESP32C3)
32#elif defined(CONFIG_SOC_SERIES_ESP32C5)
34#elif defined(CONFIG_SOC_SERIES_ESP32C6)
36#elif defined(CONFIG_SOC_SERIES_ESP32H2)
38#elif defined(CONFIG_SOC_SERIES_ESP32P4)
44#define ESP32_CLOCK_CONTROL_SUBSYS_CPU 50
45#define ESP32_CLOCK_CONTROL_SUBSYS_RTC_FAST 51
46#define ESP32_CLOCK_CONTROL_SUBSYS_RTC_SLOW 52
47#define ESP32_CLOCK_CONTROL_SUBSYS_RTC_FAST_NOMINAL 53
48#define ESP32_CLOCK_CONTROL_SUBSYS_RTC_SLOW_NOMINAL 54
ESP32-C5 clock definitions for device tree bindings.
Clock module identifiers for Espressif ESP32-P4.
__UINT32_TYPE__ uint32_t
Definition stdint.h:90
ESP32 aggregate clock configuration.
Definition esp32_clock_control.h:65
struct esp32_cpu_clock_config cpu
CPU clock configuration.
Definition esp32_clock_control.h:66
struct esp32_rtc_clock_config rtc
RTC clock configuration.
Definition esp32_clock_control.h:67
ESP32 CPU clock configuration.
Definition esp32_clock_control.h:52
uint32_t cpu_freq
Target CPU frequency, in MHz.
Definition esp32_clock_control.h:54
uint32_t xtal_freq
External crystal frequency, in MHz.
Definition esp32_clock_control.h:55
int clk_src
CPU clock source.
Definition esp32_clock_control.h:53
ESP32 RTC clock configuration.
Definition esp32_clock_control.h:59
uint32_t rtc_fast_clock_src
RTC fast clock source.
Definition esp32_clock_control.h:60
uint32_t rtc_slow_clock_src
RTC slow clock source.
Definition esp32_clock_control.h:61