dts: arm: nxp: register ostimer for cm33_cpu0/1

register ostimer for cm33_cpu0/1
disable systick
set ostimer per sec 1000000 times

Signed-off-by: Lucien Zhao <lucien.zhao@nxp.com>
This commit is contained in:
Lucien Zhao 2025-02-12 16:44:52 +08:00 committed by Benjamin Cabé
commit ba982a0f85
3 changed files with 33 additions and 1 deletions

View file

@ -1,4 +1,4 @@
# Copyright 2024 NXP
# Copyright 2024-2025 NXP
# SPDX-License-Identifier: Apache-2.0
if SOC_MIMXRT798S_CM33_CPU0
@ -11,6 +11,7 @@ config NUM_IRQS
config SYS_CLOCK_HW_CYCLES_PER_SEC
default 237500000 if CORTEX_M_SYSTICK
default 1000000 if MCUX_OS_TIMER
choice CACHE_TYPE
default EXTERNAL_CACHE
@ -25,6 +26,7 @@ config NUM_IRQS
config SYS_CLOCK_HW_CYCLES_PER_SEC
default 100000000 if CORTEX_M_SYSTICK
default 1000000 if MCUX_OS_TIMER
endif # SOC_MIMXRT798S_CM33_CPU1