zephyr/dts/bindings/timer/nxp,s32-sys-timer.yaml
Manuel Argüelles b38dab48c6 counter: nxp_s32_sys_timer: use clock control APIs
Use clock control API to retrieve the counter module's frequency and
update the boards using it to provide the source clocks.

Signed-off-by: Manuel Argüelles <manuel.arguelles@nxp.com>
2023-09-29 16:29:31 +02:00

30 lines
591 B
YAML

# Copyright 2022-2023 NXP
# SPDX-License-Identifier: Apache-2.0
description: NXP S32 System Timer Module (STM)
compatible: "nxp,s32-sys-timer"
include: base.yaml
properties:
reg:
required: true
interrupts:
required: true
clocks:
required: true
prescaler:
type: int
required: true
description: |
Selects the module clock divide value for the prescaler, between 1 and 256.
Timer frequency equals to clock-frequency divided by the prescaler value.
freeze:
type: boolean
description: Stops the timer when the chip enters Debug mode.