| # Copyright (c) 2021 Espressif Systems (Shanghai) Co., Ltd. |
| # SPDX-License-Identifier: Apache-2.0 |
| |
| description: Espressif RISC-V CPU |
| |
| compatible: "espressif,riscv" |
| |
| include: riscv,cpus.yaml |
| |
| properties: |
| clock-source: |
| required: true |
| type: int |
| 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. |
| enum: |
| - 0 |
| - 1 |
| - 2 |
| |
| xtal-freq: |
| required: true |
| type: int |
| description: Value of the external XTAL connected to ESP32. This is typically 40 MHz. |
| enum: |
| - 26000000 |
| - 32000000 |
| - 40000000 |