blob: 34c1643858d93ea992d4e7ddab5376b76490be75 [file] [log] [blame]
/*
* Copyright (c) 2018 Synopsys, Inc. All rights reserved.
*
* SPDX-License-Identifier: Apache-2.0
*/
/**
* @brief Board configuration macros for EM Starter kit board
*
* This header file is used to specify and describe board-level
* aspects for the target.
*/
#ifndef _SOC_H_
#define _SOC_H_
#include <zephyr/sys/util.h>
/* default system clock */
#define SYSCLK_DEFAULT_IOSC_HZ MHZ(16)
/* ARC EM Core IRQs */
#define IRQ_TIMER0 16
#define IRQ_TIMER1 17
#include "soc_irq.h"
#define BASE_ADDR_SYSCONFIG 0xF000A000
#ifndef _ASMLANGUAGE
#include <zephyr/sys/util.h>
#include <zephyr/random/rand32.h>
#endif /* !_ASMLANGUAGE */
#endif /* _SOC_H_ */