zephyr/dts/bindings/cpu/espressif,xtensa-lx6.yaml

35 lines
947 B
YAML

# Copyright (c) 2024 Espressif Systems (Shanghai) Co., Ltd.
# SPDX-License-Identifier: Apache-2.0
description: Espressif Xtensa CPU
compatible: "espressif,xtensa-lx6"
include: cdns,tensilica-xtensa-lx6.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. 8 MHz for ESP32S2.
- 3: APLL_CLK - 16 Mhz ~ 128 MHz
enum:
- 0
- 1
- 2
- 3
xtal-freq:
type: int
required: true
description: Value of the external XTAL connected to ESP32.
enum:
- 40000000
- 32000000