blob: 39bb495f11dbbdb7a7a416120ef77d1ddd4ad76a [file] [log] [blame]
# Copyright (c) 2021 Teslabs Engineering S.L.
# SPDX-License-Identifier: Apache-2.0
description: GigaDevice GD32 timer
compatible: "gd,gd32-timer"
include: base.yaml
properties:
reg:
required: true
channels:
type: int
required: true
description: Number of timer channels.
prescaler:
type: int
default: 0
description: Timer prescaler. Defaults to 0 (SoC default).
is-32bit:
type: boolean
description: Indicates if timer has a 32-bit counter.
is-advanced:
type: boolean
description: |
Indicates if timer has advanced features. Such features include break
inputs, dead-time insertion, etc.
rcu-periph-clock:
type: int
description: Reset Control Unit Peripheral Clock ID
required: true
rcu-periph-reset:
type: int
description: Reset Control Unit Peripheral Reset ID
required: true