st,stm32-rcc-rctl

Vendor: STMicroelectronics

Note

An implementation of a driver matching this compatible is available in drivers/reset/reset_stm32.c.

Description

STM32 Reset and Clock Control (RCC) node.
This node is in charge of reset control for AHB (Advanced High Performance)
and APB (Advanced Peripheral) bus domains.

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

  usart1: serial@xxx {
      ...
      /* Cell contains information about RCU register offset and bit */
      resets = <&rctl STM32_RESET(ABP2, 4U)>;
      ...
  };

RCC reset cells are available in
include/zephyr/dts-bindings/reset/stm32{soc_family}_reset.h header files.

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

set-bit-to-deassert

boolean

Indicates if the driver should set bit in clear register to
deassert reset.

Specifier cell names

  • reset cells: id