1# Copyright (c) 2020, Mohamed ElShahawi
2# SPDX-License-Identifier: Apache-2.0
3
4description: ESP32 RTC (Power & Clock Controller Module) Module
5
6compatible: "espressif,esp32-rtc"
7
8include: [clock-controller.yaml, base.yaml]
9
10properties:
11  reg:
12    required: true
13
14  xtal-freq:
15    type: int
16    required: true
17    description: Value of the external XTAL connected to ESP32.
18
19  xtal-div:
20    type: int
21    description: Divisor value for XTAL Clock, CPU_CLK = XTAL_FREQ / xtal-div
22
23  "#clock-cells":
24    const: 1
25
26clock-cells:
27  - offset  # Index of the peripheral in esp32 modules list (Check esp32_clock.h)
28