wch,ch32-rcc-rctl

Description

CH32 Reset and Clock Control (RCC) Reset Controller.

This node is in charge of reset control for peripherals.

Use the standard resets property to set the reset line of a peripheral, e.g.:

  usart1: serial@xxx {
    ...
    /* Cell contains information about Reset register offset and bit */
    resets = <&rctl CH32_RESET(APB2, 14)>;
    ...
  };

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