1# Copyright (c) 2022, Teslabs Engineering S.L. 2# SPDX-License-Identifier: Apache-2.0 3 4description: | 5 Gigadevice Reset and Clock Unit (RCU) if a multi-function peripheral in 6 charge of reset control (RCTL) and clock control (CCTL) for all SoC 7 peripherals. This binding represents the reset controller (RCTL). 8 9 To specify the reset line in a peripheral, the standard resets property needs 10 to be used, e.g.: 11 12 gpioa: gpio@xxx { 13 ... 14 /* cell encodes RCU register offset and control bit position */ 15 resets = <&rctl GD32_RESET_GPIOA>; 16 ... 17 } 18 19 Predefined RCU reset cells are available in 20 include/zephyr/dts-bindings/reset/gd32{xxx}.h header files, where {xxx} 21 corresponds to the SoC series, e.g. f4xx. 22 23compatible: "gd,gd32-rctl" 24 25include: [reset-controller.yaml, base.yaml] 26 27properties: 28 "#reset-cells": 29 const: 1 30 31reset-cells: 32 - id 33