1 /*
2  * Copyright (c) 2018 Synopsys, Inc. All rights reserved.
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  */
6 
7 /**
8  * This module provides routines to initialize and support soc-level hardware
9  * for the IoT Development Kit board.
10  *
11  */
12 #include <zephyr/device.h>
13 #include <zephyr/init.h>
14 #include "sysconf.h"
15 
16 #define CPU_FREQ DT_PROP(DT_PATH(cpus, cpu_0), clock_frequency)
17 
soc_early_init_hook(void)18 void soc_early_init_hook(void)
19 {
20 	arc_iot_pll_fout_config(CPU_FREQ / 1000000);
21 }
22