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 <cmsis_core_m_defaults.h> 19 #include <zephyr/sys/util.h> 20 21 /* default system clock */ 22 23 #define SYSCLK_DEFAULT_IOSC_HZ MHZ(12) 24 25 /* IRQs */ 26 27 #define IRQ_GPIO_PORTA 0 28 #define IRQ_GPIO_PORTB 1 29 #define IRQ_GPIO_PORTC 2 30 #define IRQ_GPIO_PORTD 3 31 #define IRQ_GPIO_PORTE 4 32 #define IRQ_SSI0 7 33 #define IRQ_I2C0 8 34 #define IRQ_PWM_FAULT 9 35 #define IRQ_PWM_GEN0 10 36 #define IRQ_PWM_GEN1 11 37 #define IRQ_PWM_GEN2 12 38 #define IRQ_QEI0 13 39 #define IRQ_ADC0_SEQ0 14 40 #define IRQ_ADC0_SEQ1 15 41 #define IRQ_ADC0_SEQ2 16 42 #define IRQ_ADC0_SEQ3 17 43 #define IRQ_WDOG0 18 44 #define IRQ_TIMER0A 19 45 #define IRQ_TIMER0B 20 46 #define IRQ_TIMER1A 21 47 #define IRQ_TIMER1B 22 48 #define IRQ_TIMER2A 23 49 #define IRQ_TIMER2B 24 50 #define IRQ_ANALOG_COMP0 25 51 #define IRQ_ANALOG_COMP1 26 52 #define IRQ_RESERVED0 27 53 #define IRQ_SYS_CONTROL 28 54 #define IRQ_FLASH_MEM_CTRL 29 55 #define IRQ_GPIO_PORTF 30 56 #define IRQ_GPIO_PORTG 31 57 #define IRQ_RESERVED1 32 58 #define IRQ_RESERVED2 34 59 #define IRQ_TIMER3A 35 60 #define IRQ_TIMER3B 36 61 #define IRQ_I2C1 37 62 #define IRQ_QEI1 38 63 #define IRQ_RESERVED3 39 64 #define IRQ_RESERVED4 40 65 #define IRQ_RESERVED5 41 66 #define IRQ_ETH 42 67 #define IRQ_HIBERNATION 43 68 69 #ifndef _ASMLANGUAGE 70 71 #endif /* !_ASMLANGUAGE */ 72 73 #endif /* _BOARD__H_ */ 74