gd,gd32-rctl

Vendor: GigaDevice Semiconductor

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 reset controller (RCTL).

To specify the reset line in a peripheral, the standard resets property needs
to be used, e.g.:

  gpioa: gpio@xxx {
      ...
      /* cell encodes RCU register offset and control bit position */
      resets = <&rctl GD32_RESET_GPIOA>;
      ...
  }

Predefined RCU reset cells are available in
include/zephyr/dts-bindings/reset/gd32{xxx}.h header files, where {xxx}
corresponds to the SoC series, e.g. f4xx.

Properties

Properties not inherited from the base binding file.

Name

Type

Details

#reset-cells

int

Number of cells in reset property. There must be a cell
named "id" to use the reset_dt_spec macros.

This property is required.

Constant value: 1

Specifier cell names

  • reset cells: id