1# Copyright (c) 2024 Espressif Systems (Shanghai) Co., Ltd. 2# SPDX-License-Identifier: Apache-2.0 3 4description: Espressif Xtensa CPU 5 6compatible: "espressif,xtensa-lx6" 7 8include: cdns,tensilica-xtensa-lx6.yaml 9 10properties: 11 clock-source: 12 required: true 13 type: int 14 description: | 15 Defines the CPU clock source, each corresponding to different frequencies: 16 - 0: ESP32_CPU_CLK_SRC_XTAL - Uses the external crystal clock typically at 40 MHz. 17 - 1: ESP32_CPU_CLK_SRC_PLL - Utilizes an internal PLL which operates at either 18 320 MHz or 480 MHz. 19 - 2: ESP32_CPU_CLK_SRC_RC_FAST - Employs an internal fast RC oscillator with 20 frequency of 17.5 MHz. 8 MHz for ESP32S2. 21 - 3: APLL_CLK - 16 Mhz ~ 128 MHz 22 enum: 23 - 0 24 - 1 25 - 2 26 - 3 27 28 xtal-freq: 29 type: int 30 required: true 31 description: Value of the external XTAL connected to ESP32. 32 enum: 33 - 40000000 34 - 32000000 35