mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-04 12:57:07 +07:00
b0b6e42aa6
Add core definitions for MXS-based SoC MX23 and MX28. Signed-off-by: Shawn Guo <shawn.guo@freescale.com> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
33 lines
894 B
C
33 lines
894 B
C
/*
|
|
* Copyright 2004-2007 Freescale Semiconductor, Inc. All Rights Reserved.
|
|
*/
|
|
|
|
/*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*/
|
|
|
|
#ifndef __MACH_MXS_IRQS_H__
|
|
#define __MACH_MXS_IRQS_H__
|
|
|
|
#define MXS_INTERNAL_IRQS 128
|
|
|
|
#define MXS_GPIO_IRQ_START MXS_INTERNAL_IRQS
|
|
|
|
/* the maximum for MXS-based */
|
|
#define MXS_GPIO_IRQS (32 * 5)
|
|
|
|
/*
|
|
* The next 16 interrupts are for board specific purposes. Since
|
|
* the kernel can only run on one machine at a time, we can re-use
|
|
* these. If you need more, increase MXS_BOARD_IRQS, but keep it
|
|
* within sensible limits.
|
|
*/
|
|
#define MXS_BOARD_IRQ_START (MXS_GPIO_IRQ_START + MXS_GPIO_IRQS)
|
|
#define MXS_BOARD_IRQS 16
|
|
|
|
#define NR_IRQS (MXS_BOARD_IRQ_START + MXS_BOARD_IRQS)
|
|
|
|
#endif /* __MACH_MXS_IRQS_H__ */
|