1# Copyright (c) 2023 Enphase Energy
2# SPDX-License-Identifier: Apache-2.0
3
4if SOC_SERIES_AM6X_A53
5
6config SOC_SERIES
7	default "am6x"
8
9# Workaround for not being able to have commas in macro arguments
10DT_CHOSEN_Z_FLASH := zephyr,flash
11
12config FLASH_SIZE
13	default $(dt_chosen_reg_size_int,$(DT_CHOSEN_Z_FLASH),0,K)
14
15config FLASH_BASE_ADDRESS
16	default $(dt_chosen_reg_addr_hex,$(DT_CHOSEN_Z_FLASH))
17
18config NUM_IRQS
19	int
20	default 280
21
22config SYS_CLOCK_HW_CYCLES_PER_SEC
23	int
24	default 200000000
25
26config PINCTRL
27	default y
28
29if SERIAL
30
31config UART_NS16550
32	default y
33
34choice UART_NS16550_VARIANT
35	default UART_NS16550_VARIANT_NS16750
36endchoice
37
38endif # SERIAL
39
40source "soc/arm64/ti_k3/am6x/Kconfig.defconfig.am62*"
41
42endif # SOC_SERIES_AM6X_A53
43