espressif,riscv

Vendor: Espressif Systems

Description

Espressif RISC-V CPU

Properties

Properties not inherited from the base binding file.

Name

Type

Details

clock-frequency

int

Clock frequency in Hz

cpu-power-states

phandles

List of power management states supported by this cpu

i-cache-line-size

int

i-cache line size

d-cache-line-size

int

d-cache line size

enable-method

string

Enable method for cpu, either it is "psci" or "spin-table"

mmu-type

string

Memory Management Unit (MMU)

Legal values: 'riscv,sv32', 'riscv,sv39', 'riscv,sv48', 'riscv,none'

riscv,isa

string

RISC-V instruction set architecture

This property is required.

clock-source

int

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.

This property is required.

Legal values: 0, 1, 2

xtal-freq

int

Value of the external XTAL connected to ESP32. This is typically 40 MHz.

This property is required.

Legal values: 40000000, 32000000