1# MIMX8ML8 SoC defconfig
2
3# Copyright (c) 2021, Laird Connectivity
4# SPDX-License-Identifier: Apache-2.0
5
6if SOC_MIMX8ML8
7
8config SOC
9	string
10	default "mimx8ml8"
11
12config SYS_CLOCK_HW_CYCLES_PER_SEC
13	int
14	default 800000000
15
16config GPIO
17	default y
18
19config IPM_IMX_REV2
20	default y
21	depends on IPM
22
23if CODE_ITCM
24
25config FLASH_SIZE
26	default $(dt_node_reg_size_int,/soc/itcm@0,0,K)
27
28config FLASH_BASE_ADDRESS
29	default $(dt_node_reg_addr_hex,/soc/itcm@0)
30
31endif # CODE_ITCM
32
33if CODE_DDR
34
35config FLASH_SIZE
36	default $(dt_node_reg_size_int,/soc/code@80000000,0,K)
37
38config FLASH_BASE_ADDRESS
39	default $(dt_node_reg_addr_hex,/soc/code@80000000)
40
41endif # CODE_DDR
42
43endif # SOC_MIMX8ML8
44