blob: c077f452e782adfa469f3f9d73656bc693dd2879 [file] [log] [blame]
# Copyright (c) 2022, Teslabs Engineering S.L.
# SPDX-License-Identifier: Apache-2.0
description: |
Gigadevice Reset and Clock Unit (RCU) if a multi-function peripheral in
charge of reset control (RCTL) and clock control (CCTL) for all SoC
peripherals. This binding represents the clock controller (CCTL).
To specify the clocks in a peripheral, the standard clocks property needs
to be used, e.g.:
gpioa: gpio@xxx {
...
/* cell encodes RCU register offset and control bit position */
clocks = <&cctl GD32_CLOCK_GPIOA>;
...
}
Predefined RCU clock cells are available in
include/zephyr/dts-bindings/clock/gd32{xxx}-clocks.h header files, where {xxx}
corresponds to the SoC series, e.g. f4xx.
compatible: "gd,gd32-cctl"
include: [clock-controller.yaml, base.yaml]
properties:
"#clock-cells":
const: 1
clock-cells:
- id