zephyr/soc/arc/snps_emsdp/soc.h

35 lines
637 B
C

/*
* Copyright (c) 2019 Synopsys, Inc. All rights reserved.
*
* SPDX-License-Identifier: Apache-2.0
*/
/**
* @brief Board configuration macros for EM Software Development Platform 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(100)
/* ARC EM Core IRQs */
#define IRQ_TIMER0 16
#define IRQ_SEC_TIMER0 20
#ifndef _ASMLANGUAGE
#include <zephyr/sys/util.h>
#include <zephyr/random/rand32.h>
#endif /* !_ASMLANGUAGE */
#endif /* _SOC_H_ */