zephyr/dts/bindings/clock/espressif,esp32-rtc.yaml
Mohamed ElShahawi 4acac3e9ef drivers: esp32/clock_control: Add Clock Driver
- Support PLL for Higher Frequencies 80,160,240 MHz
- Support XTAL Frequencies 26MHz, 40MHz
- Clock Driver can't be disabled, because all of the other drivers
will depend on it to get their operating Frequency based on chosen
clock source (XTAL/PLL).

- Add needed references to BBPLL i2c bus ROM functions.
- Add `rtc` node to Device Tree.
- Since All Peripherals Frequency is depending on CPU_CLK Source,
`clock-source` property added to CPU node

Signed-off-by: Mohamed ElShahawi <ExtremeGTX@hotmail.com>
2020-06-16 09:00:51 -05:00

32 lines
708 B
YAML

# Copyright (c) 2020, Mohamed ElShahawi
# SPDX-License-Identifier: Apache-2.0
description: ESP32 RTC (Power & Clock Controller Module) Module
compatible: "espressif,esp32-rtc"
include: [clock-controller.yaml, base.yaml]
properties:
reg:
required: true
label:
required: true
xtal-freq:
type: int
required: true
description: Value of the extrernal XTAL connected to ESP32, Supported values 40M,26M
xtal-div:
type: int
required: true
description: Divisor value for XTAL Clock, CPU_CLK = XTAL_FREQ / xtal-div
"#clock-cells":
const: 1
clock-cells:
- offset # Index of the peripheral in esp32 modules list (Check esp32_clock.h)