NXP S32 System Timer module includes a 32-bit count-up timer and four 32-bit compare channels with a separate interrupt source for each channel. The timer is driven by the module clock divided by an 8-bit prescale value. Signed-off-by: Manuel Arguelles <manuel.arguelles@nxp.com>
32 lines
656 B
YAML
32 lines
656 B
YAML
# Copyright 2022 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
|
|
|
|
clock-frequency:
|
|
type: int
|
|
required: true
|
|
description: Module clock frequency in Hz.
|
|
|
|
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.
|