blob: 53e88f1096efa9f7be725ca37298ce655bca5499 [file] [log] [blame]
# Copyright (c) 2020-2021 Microchip Technology Inc
# SPDX-License-Identifier: Apache-2.0
if SOC_SERIES_POLARFIRE
config SOC_SERIES
default "polarfire"
# MPFS should be configured so that the mtimer clock is 1MHz independent of the CPU clock...
config SYS_CLOCK_HW_CYCLES_PER_SEC
default 1000000
config RISCV_SOC_INTERRUPT_INIT
default y
config RISCV_GP
default y
config 2ND_LVL_ISR_TBL_OFFSET
default 13
config 2ND_LVL_INTR_00_OFFSET
default 11
config MAX_IRQ_PER_AGGREGATOR
default 186
config NUM_IRQS
default 186
endif # SOC_SERIES_POLARFIRE