blob: 2001451d60b55f90a17ce6b3fe979869bf415760 [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: [reset-device.yaml, base.yaml]
properties:
reg:
required: true
clocks:
required: true
resets:
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.