1# Copyright (c) 2019 Carlo Caione <ccaione@baylibre.com>
2# SPDX-License-Identifier: Apache-2.0
3
4if SOC_QEMU_CORTEX_A53
5
6config SOC
7	default "qemu_cortex_a53"
8
9config NUM_IRQS
10	# must be >= the highest interrupt number used
11	# - include the UART interrupts
12	# - LPIs (starting at 8192) if GIC_V3_ITS is used
13	default 16384 if GIC_V3_ITS
14	default 220 if !GIC_V3_ITS
15
16config SYS_CLOCK_HW_CYCLES_PER_SEC
17	default 62500000
18
19# Workaround for not being able to have commas in macro arguments
20DT_CHOSEN_Z_FLASH := zephyr,flash
21
22config FLASH_SIZE
23	default $(dt_chosen_reg_size_int,$(DT_CHOSEN_Z_FLASH),0,K)
24
25config FLASH_BASE_ADDRESS
26	default $(dt_chosen_reg_addr_hex,$(DT_CHOSEN_Z_FLASH))
27
28endif # SOC_QEMU_CORTEX_A53
29