162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-only */ 262306a36Sopenharmony_ci/* 362306a36Sopenharmony_ci * IRQ definitions for Orion SoC 462306a36Sopenharmony_ci * 562306a36Sopenharmony_ci * Maintainer: Tzachi Perelstein <tzachi@marvell.com> 662306a36Sopenharmony_ci */ 762306a36Sopenharmony_ci 862306a36Sopenharmony_ci#ifndef __ASM_ARCH_IRQS_H 962306a36Sopenharmony_ci#define __ASM_ARCH_IRQS_H 1062306a36Sopenharmony_ci 1162306a36Sopenharmony_ci/* 1262306a36Sopenharmony_ci * Orion Main Interrupt Controller 1362306a36Sopenharmony_ci */ 1462306a36Sopenharmony_ci#define IRQ_ORION5X_BRIDGE (1 + 0) 1562306a36Sopenharmony_ci#define IRQ_ORION5X_DOORBELL_H2C (1 + 1) 1662306a36Sopenharmony_ci#define IRQ_ORION5X_DOORBELL_C2H (1 + 2) 1762306a36Sopenharmony_ci#define IRQ_ORION5X_UART0 (1 + 3) 1862306a36Sopenharmony_ci#define IRQ_ORION5X_UART1 (1 + 4) 1962306a36Sopenharmony_ci#define IRQ_ORION5X_I2C (1 + 5) 2062306a36Sopenharmony_ci#define IRQ_ORION5X_GPIO_0_7 (1 + 6) 2162306a36Sopenharmony_ci#define IRQ_ORION5X_GPIO_8_15 (1 + 7) 2262306a36Sopenharmony_ci#define IRQ_ORION5X_GPIO_16_23 (1 + 8) 2362306a36Sopenharmony_ci#define IRQ_ORION5X_GPIO_24_31 (1 + 9) 2462306a36Sopenharmony_ci#define IRQ_ORION5X_PCIE0_ERR (1 + 10) 2562306a36Sopenharmony_ci#define IRQ_ORION5X_PCIE0_INT (1 + 11) 2662306a36Sopenharmony_ci#define IRQ_ORION5X_USB1_CTRL (1 + 12) 2762306a36Sopenharmony_ci#define IRQ_ORION5X_DEV_BUS_ERR (1 + 14) 2862306a36Sopenharmony_ci#define IRQ_ORION5X_PCI_ERR (1 + 15) 2962306a36Sopenharmony_ci#define IRQ_ORION5X_USB_BR_ERR (1 + 16) 3062306a36Sopenharmony_ci#define IRQ_ORION5X_USB0_CTRL (1 + 17) 3162306a36Sopenharmony_ci#define IRQ_ORION5X_ETH_RX (1 + 18) 3262306a36Sopenharmony_ci#define IRQ_ORION5X_ETH_TX (1 + 19) 3362306a36Sopenharmony_ci#define IRQ_ORION5X_ETH_MISC (1 + 20) 3462306a36Sopenharmony_ci#define IRQ_ORION5X_ETH_SUM (1 + 21) 3562306a36Sopenharmony_ci#define IRQ_ORION5X_ETH_ERR (1 + 22) 3662306a36Sopenharmony_ci#define IRQ_ORION5X_IDMA_ERR (1 + 23) 3762306a36Sopenharmony_ci#define IRQ_ORION5X_IDMA_0 (1 + 24) 3862306a36Sopenharmony_ci#define IRQ_ORION5X_IDMA_1 (1 + 25) 3962306a36Sopenharmony_ci#define IRQ_ORION5X_IDMA_2 (1 + 26) 4062306a36Sopenharmony_ci#define IRQ_ORION5X_IDMA_3 (1 + 27) 4162306a36Sopenharmony_ci#define IRQ_ORION5X_CESA (1 + 28) 4262306a36Sopenharmony_ci#define IRQ_ORION5X_SATA (1 + 29) 4362306a36Sopenharmony_ci#define IRQ_ORION5X_XOR0 (1 + 30) 4462306a36Sopenharmony_ci#define IRQ_ORION5X_XOR1 (1 + 31) 4562306a36Sopenharmony_ci 4662306a36Sopenharmony_ci/* 4762306a36Sopenharmony_ci * Orion General Purpose Pins 4862306a36Sopenharmony_ci */ 4962306a36Sopenharmony_ci#define IRQ_ORION5X_GPIO_START 33 5062306a36Sopenharmony_ci#define NR_GPIO_IRQS 32 5162306a36Sopenharmony_ci 5262306a36Sopenharmony_ci#define ORION5X_NR_IRQS (IRQ_ORION5X_GPIO_START + NR_GPIO_IRQS) 5362306a36Sopenharmony_ci 5462306a36Sopenharmony_ci 5562306a36Sopenharmony_ci#endif 56