162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-or-later */ 262306a36Sopenharmony_ci/* 362306a36Sopenharmony_ci * Galileo/Marvell GT641xx IRQ definitions. 462306a36Sopenharmony_ci * 562306a36Sopenharmony_ci * Copyright (C) 2007 Yoichi Yuasa <yuasa@linux-mips.org> 662306a36Sopenharmony_ci */ 762306a36Sopenharmony_ci#ifndef _ASM_IRQ_GT641XX_H 862306a36Sopenharmony_ci#define _ASM_IRQ_GT641XX_H 962306a36Sopenharmony_ci 1062306a36Sopenharmony_ci#ifndef GT641XX_IRQ_BASE 1162306a36Sopenharmony_ci#define GT641XX_IRQ_BASE 8 1262306a36Sopenharmony_ci#endif 1362306a36Sopenharmony_ci 1462306a36Sopenharmony_ci#define GT641XX_MEMORY_OUT_OF_RANGE_IRQ (GT641XX_IRQ_BASE + 1) 1562306a36Sopenharmony_ci#define GT641XX_DMA_OUT_OF_RANGE_IRQ (GT641XX_IRQ_BASE + 2) 1662306a36Sopenharmony_ci#define GT641XX_CPU_ACCESS_OUT_OF_RANGE_IRQ (GT641XX_IRQ_BASE + 3) 1762306a36Sopenharmony_ci#define GT641XX_DMA0_IRQ (GT641XX_IRQ_BASE + 4) 1862306a36Sopenharmony_ci#define GT641XX_DMA1_IRQ (GT641XX_IRQ_BASE + 5) 1962306a36Sopenharmony_ci#define GT641XX_DMA2_IRQ (GT641XX_IRQ_BASE + 6) 2062306a36Sopenharmony_ci#define GT641XX_DMA3_IRQ (GT641XX_IRQ_BASE + 7) 2162306a36Sopenharmony_ci#define GT641XX_TIMER0_IRQ (GT641XX_IRQ_BASE + 8) 2262306a36Sopenharmony_ci#define GT641XX_TIMER1_IRQ (GT641XX_IRQ_BASE + 9) 2362306a36Sopenharmony_ci#define GT641XX_TIMER2_IRQ (GT641XX_IRQ_BASE + 10) 2462306a36Sopenharmony_ci#define GT641XX_TIMER3_IRQ (GT641XX_IRQ_BASE + 11) 2562306a36Sopenharmony_ci#define GT641XX_PCI_0_MASTER_READ_ERROR_IRQ (GT641XX_IRQ_BASE + 12) 2662306a36Sopenharmony_ci#define GT641XX_PCI_0_SLAVE_WRITE_ERROR_IRQ (GT641XX_IRQ_BASE + 13) 2762306a36Sopenharmony_ci#define GT641XX_PCI_0_MASTER_WRITE_ERROR_IRQ (GT641XX_IRQ_BASE + 14) 2862306a36Sopenharmony_ci#define GT641XX_PCI_0_SLAVE_READ_ERROR_IRQ (GT641XX_IRQ_BASE + 15) 2962306a36Sopenharmony_ci#define GT641XX_PCI_0_ADDRESS_ERROR_IRQ (GT641XX_IRQ_BASE + 16) 3062306a36Sopenharmony_ci#define GT641XX_MEMORY_ERROR_IRQ (GT641XX_IRQ_BASE + 17) 3162306a36Sopenharmony_ci#define GT641XX_PCI_0_MASTER_ABORT_IRQ (GT641XX_IRQ_BASE + 18) 3262306a36Sopenharmony_ci#define GT641XX_PCI_0_TARGET_ABORT_IRQ (GT641XX_IRQ_BASE + 19) 3362306a36Sopenharmony_ci#define GT641XX_PCI_0_RETRY_TIMEOUT_IRQ (GT641XX_IRQ_BASE + 20) 3462306a36Sopenharmony_ci#define GT641XX_CPU_INT0_IRQ (GT641XX_IRQ_BASE + 21) 3562306a36Sopenharmony_ci#define GT641XX_CPU_INT1_IRQ (GT641XX_IRQ_BASE + 22) 3662306a36Sopenharmony_ci#define GT641XX_CPU_INT2_IRQ (GT641XX_IRQ_BASE + 23) 3762306a36Sopenharmony_ci#define GT641XX_CPU_INT3_IRQ (GT641XX_IRQ_BASE + 24) 3862306a36Sopenharmony_ci#define GT641XX_CPU_INT4_IRQ (GT641XX_IRQ_BASE + 25) 3962306a36Sopenharmony_ci#define GT641XX_PCI_INT0_IRQ (GT641XX_IRQ_BASE + 26) 4062306a36Sopenharmony_ci#define GT641XX_PCI_INT1_IRQ (GT641XX_IRQ_BASE + 27) 4162306a36Sopenharmony_ci#define GT641XX_PCI_INT2_IRQ (GT641XX_IRQ_BASE + 28) 4262306a36Sopenharmony_ci#define GT641XX_PCI_INT3_IRQ (GT641XX_IRQ_BASE + 29) 4362306a36Sopenharmony_ci 4462306a36Sopenharmony_ciextern void gt641xx_irq_dispatch(void); 4562306a36Sopenharmony_ciextern void gt641xx_irq_init(void); 4662306a36Sopenharmony_ci 4762306a36Sopenharmony_ci#endif /* _ASM_IRQ_GT641XX_H */ 48