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:
parent
f026faee3d
commit
ba982a0f85
3 changed files with 33 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue