1# Copyright (c) 2022 Microchip Technology Inc. 2# SPDX-License-Identifier: Apache-2.0 3 4if BOARD_MEC172XMODULAR_ASSY6930 5 6config INPUT 7 default y if KSCAN 8 9if RTOS_TIMER 10 11# XEC RTOS timer HW frequency is fixed at 32768 Hz. 12# The driver requires tickless mode and ticks per second to be 32768 for 13# accurate operation. 14 15config SYS_CLOCK_HW_CYCLES_PER_SEC 16 default 32768 17 18config SYS_CLOCK_TICKS_PER_SEC 19 default 32768 20 21endif # RTOS_TIMER 22 23if !RTOS_TIMER 24 25# If RTOS timer is not enabled we use ARM Cortex-M 26# SYSTICK. SYSTICK frequency is 96 MHz divided down by the MEC172x PCR 27# processor clock divider register. We assume PCR processor clock divider 28# is set to 1. Refer to SOC_MEC_PROC_CLK_DIV 29# 30 31config SYS_CLOCK_HW_CYCLES_PER_SEC 32 default 96000000 33 34config SYS_CLOCK_TICKS_PER_SEC 35 default 1000 36 37endif # RTOS_TIMER 38 39endif # BOARD_MEC172XMODULAR_ASSY6930 40