]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - arch/arc/plat-arcfpga/include/plat/irq.h
ARC: [Review] Multi-platform image #3: switch to board callback
[mirror_ubuntu-bionic-kernel.git] / arch / arc / plat-arcfpga / include / plat / irq.h
CommitLineData
ee36d172
VG
1/*
2 * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com)
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 *
8 * vineetg: Feb 2009
9 * -For AA4 board, IRQ assignments to peripherals
10 */
11
12#ifndef __PLAT_IRQ_H
13#define __PLAT_IRQ_H
14
41195d23
VG
15#ifdef CONFIG_SMP
16#define NR_IRQS 32
17#else
18#define NR_IRQS 16
19#endif
ee36d172
VG
20
21#define UART0_IRQ 5
22#define UART1_IRQ 10
23#define UART2_IRQ 11
24
25#define VMAC_IRQ 6
26
27#define IDE_IRQ 13
28#define PCI_IRQ 14
29#define PS2_IRQ 15
30
41195d23
VG
31#ifdef CONFIG_SMP
32#define IDU_INTERRUPT_0 16
33#endif
34
877768c8
VG
35extern void __init plat_fpga_init_IRQ(void);
36
ee36d172 37#endif