blob: 33c6503122bb86161db185fe75173999a6d9fe36 [file] [log] [blame]
# Copyright (c) 2024 Espressif Systems (Shanghai) Co., Ltd.
# SPDX-License-Identifier: Apache-2.0
description: Espressif Xtensa CPU
compatible: "espressif,xtensa-lx7"
include: cdns,tensilica-xtensa-lx7.yaml
properties:
clock-source:
type: int
required: true
description: |
Defines the CPU clock source, each corresponding to different frequencies:
- 0: ESP32_CPU_CLK_SRC_XTAL - Uses the external crystal clock typically at 40 MHz.
- 1: ESP32_CPU_CLK_SRC_PLL - Utilizes an internal PLL which operates at either
320 MHz or 480 MHz.
- 2: ESP32_CPU_CLK_SRC_RC_FAST - Employs an internal fast RC oscillator with
frequency of 17.5 MHz. 8 MHz for ESP32S2.
- 3: APLL_CLK - 16 Mhz ~ 128 MHz (ESP32S2 Only)
enum:
- 0
- 1
- 2
- 3
xtal-freq:
type: int
required: true
description: Value of the external XTAL connected to ESP32.
enum:
- 40000000
- 32000000