3 Copyright 2002 Broadcom Corp. All Rights Reserved.
5 This program is free software; you can distribute it and/or modify it
6 under the terms of the GNU General Public License (Version 2) as
7 published by the Free Software Foundation.
9 This program is distributed in the hope it will be useful, but WITHOUT
10 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 You should have received a copy of the GNU General Public License along
15 with this program; if not, write to the Free Software Foundation, Inc.,
16 59 Temple Place - Suite 330, Boston MA 02111-1307, USA.
27 /*=====================================================================*/
28 /* BCM6345 External Interrupt Level Assignments */
29 /*=====================================================================*/
30 #define INTERRUPT_ID_EXTERNAL_0 3
31 #define INTERRUPT_ID_EXTERNAL_1 4
32 #define INTERRUPT_ID_EXTERNAL_2 5
33 #define INTERRUPT_ID_EXTERNAL_3 6
35 /*=====================================================================*/
36 /* BCM6345 Timer Interrupt Level Assignments */
37 /*=====================================================================*/
38 #define MIPS_TIMER_INT 7
40 /*=====================================================================*/
41 /* Peripheral ISR Table Offset */
42 /*=====================================================================*/
43 #define INTERNAL_ISR_TABLE_OFFSET 8
44 #define DMA_ISR_TABLE_OFFSET (INTERNAL_ISR_TABLE_OFFSET + 13)
46 /*=====================================================================*/
47 /* Logical Peripheral Interrupt IDs */
48 /*=====================================================================*/
50 /* Internal peripheral interrupt IDs */
51 #define INTERRUPT_ID_TIMER (INTERNAL_ISR_TABLE_OFFSET + 0)
52 #define INTERRUPT_ID_UART (INTERNAL_ISR_TABLE_OFFSET + 2)
53 #define INTERRUPT_ID_ADSL (INTERNAL_ISR_TABLE_OFFSET + 3)
54 #define INTERRUPT_ID_ATM (INTERNAL_ISR_TABLE_OFFSET + 4)
55 #define INTERRUPT_ID_USB (INTERNAL_ISR_TABLE_OFFSET + 5)
56 #define INTERRUPT_ID_EMAC (INTERNAL_ISR_TABLE_OFFSET + 8)
57 #define INTERRUPT_ID_EPHY (INTERNAL_ISR_TABLE_OFFSET + 12)
59 /* DMA channel interrupt IDs */
60 #define INTERRUPT_ID_EMAC_RX_CHAN (DMA_ISR_TABLE_OFFSET + EMAC_RX_CHAN)
61 #define INTERRUPT_ID_EMAC_TX_CHAN (DMA_ISR_TABLE_OFFSET + EMAC_TX_CHAN)
62 #define INTERRUPT_ID_EBI_RX_CHAN (DMA_ISR_TABLE_OFFSET + EBI_RX_CHAN)
63 #define INTERRUPT_ID_EBI_TX_CHAN (DMA_ISR_TABLE_OFFSET + EBI_TX_CHAN)
64 #define INTERRUPT_ID_RESERVED_RX_CHAN (DMA_ISR_TABLE_OFFSET + RESERVED_RX_CHAN)
65 #define INTERRUPT_ID_RESERVED_TX_CHAN (DMA_ISR_TABLE_OFFSET + RESERVED_TX_CHAN)
66 #define INTERRUPT_ID_USB_BULK_RX_CHAN (DMA_ISR_TABLE_OFFSET + USB_BULK_RX_CHAN)
67 #define INTERRUPT_ID_USB_BULK_TX_CHAN (DMA_ISR_TABLE_OFFSET + USB_BULK_TX_CHAN)
68 #define INTERRUPT_ID_USB_CNTL_RX_CHAN (DMA_ISR_TABLE_OFFSET + USB_CNTL_RX_CHAN)
69 #define INTERRUPT_ID_USB_CNTL_TX_CHAN (DMA_ISR_TABLE_OFFSET + USB_CNTL_TX_CHAN)
70 #define INTERRUPT_ID_USB_ISO_RX_CHAN (DMA_ISR_TABLE_OFFSET + USB_ISO_RX_CHAN)
71 #define INTERRUPT_ID_USB_ISO_TX_CHAN (DMA_ISR_TABLE_OFFSET + USB_ISO_TX_CHAN)
77 #endif /* __BCM6345_H */