All in tree device drivers use some form of DEVICE_DT_GET so we no longer need to require label properties. Signed-off-by: Kumar Gala <galak@kernel.org>
43 lines
881 B
YAML
43 lines
881 B
YAML
# 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
|