--- zzzz-none-000/linux-4.1.52/arch/mips/include/asm/mach-generic/irq.h 2018-05-28 02:26:45.000000000 +0000 +++ bcm63-7530ax-731/linux-4.1.52/arch/mips/include/asm/mach-generic/irq.h 2022-03-02 11:37:12.000000000 +0000 @@ -8,6 +8,11 @@ #ifndef __ASM_MACH_GENERIC_IRQ_H #define __ASM_MACH_GENERIC_IRQ_H +#if defined(CONFIG_BCM_KF_MIPS_BCM963XX) && (defined(CONFIG_BCM96838) || defined(CONFIG_BCM96848)) +#ifndef NR_IRQS +#define NR_IRQS 256 +#endif +#endif #ifndef NR_IRQS #define NR_IRQS 128 #endif