1 /*
2  * Copyright (c) 2013-2015 Wind River Systems, Inc.
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  */
6 
7 /**
8  * @file
9  * @brief Board configuration macros for the QEMU for arm platform
10  *
11  * This header file is used to specify and describe board-level aspects for
12  * the 'QEMU' platform.
13  */
14 
15 #ifndef _BOARD__H_
16 #define _BOARD__H_
17 
18 #include <zephyr/sys/util.h>
19 
20 /* default system clock */
21 
22 #define SYSCLK_DEFAULT_IOSC_HZ MHZ(12)
23 
24 /* IRQs */
25 
26 #define IRQ_GPIO_PORTA 0
27 #define IRQ_GPIO_PORTB 1
28 #define IRQ_GPIO_PORTC 2
29 #define IRQ_GPIO_PORTD 3
30 #define IRQ_GPIO_PORTE 4
31 #define IRQ_SSI0 7
32 #define IRQ_I2C0 8
33 #define IRQ_PWM_FAULT 9
34 #define IRQ_PWM_GEN0 10
35 #define IRQ_PWM_GEN1 11
36 #define IRQ_PWM_GEN2 12
37 #define IRQ_QEI0 13
38 #define IRQ_ADC0_SEQ0 14
39 #define IRQ_ADC0_SEQ1 15
40 #define IRQ_ADC0_SEQ2 16
41 #define IRQ_ADC0_SEQ3 17
42 #define IRQ_WDOG0 18
43 #define IRQ_TIMER0A 19
44 #define IRQ_TIMER0B 20
45 #define IRQ_TIMER1A 21
46 #define IRQ_TIMER1B 22
47 #define IRQ_TIMER2A 23
48 #define IRQ_TIMER2B 24
49 #define IRQ_ANALOG_COMP0 25
50 #define IRQ_ANALOG_COMP1 26
51 #define IRQ_RESERVED0 27
52 #define IRQ_SYS_CONTROL 28
53 #define IRQ_FLASH_MEM_CTRL 29
54 #define IRQ_GPIO_PORTF 30
55 #define IRQ_GPIO_PORTG 31
56 #define IRQ_RESERVED1 32
57 #define IRQ_RESERVED2 34
58 #define IRQ_TIMER3A 35
59 #define IRQ_TIMER3B 36
60 #define IRQ_I2C1 37
61 #define IRQ_QEI1 38
62 #define IRQ_RESERVED3 39
63 #define IRQ_RESERVED4 40
64 #define IRQ_RESERVED5 41
65 #define IRQ_ETH 42
66 #define IRQ_HIBERNATION 43
67 
68 #ifndef _ASMLANGUAGE
69 
70 #endif /* !_ASMLANGUAGE */
71 
72 #endif /* _BOARD__H_ */
73