fa56e9ee2b
Added a driver to enable the GPT timer on RT1xxx parts to be used instead of systick as a clock source. The timer is set to run in reset mode, and uses the low frequency 32kHz oscillator for power savings Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
16 lines
526 B
Plaintext
16 lines
526 B
Plaintext
# Copyright (c) 2021 NXP
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
DT_COMPAT_NXP_GPT_TIMER := nxp,gpt-hw-timer
|
|
|
|
config MCUX_GPT_TIMER
|
|
bool "MCUX GPT Event timer"
|
|
depends on HAS_MCUX_GPT
|
|
default $(dt_compat_enabled,$(DT_COMPAT_NXP_GPT_TIMER))
|
|
select TICKLESS_CAPABLE
|
|
help
|
|
This module implements a kernel device driver for the NXP GPT timer,
|
|
and provides the standard "system clock driver" interfaces. It uses the
|
|
first GPT peripheral defined in the system, which can no longer be used
|
|
for the GPT counter driver.
|