zephyr/dts/bindings/timer/gd,gd32-timer.yaml

39 lines
742 B
YAML

# 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.