summaryrefslogtreecommitdiffstats
path: root/sys/arm/include/intr.h
diff options
context:
space:
mode:
authorraj <raj@FreeBSD.org>2008-10-13 20:07:13 +0000
committerraj <raj@FreeBSD.org>2008-10-13 20:07:13 +0000
commit3226c137788c6c0c6b82bd1b88fd42a2a8ea4cb8 (patch)
treed96b4a1062d4a3a8f75bdb30e300bd1a50f23e4f /sys/arm/include/intr.h
parent000539b88803ce11f549bc8d24154dc9a6b1c386 (diff)
downloadFreeBSD-src-3226c137788c6c0c6b82bd1b88fd42a2a8ea4cb8.zip
FreeBSD-src-3226c137788c6c0c6b82bd1b88fd42a2a8ea4cb8.tar.gz
Introduce basic support for Marvell families of system-on-chip ARM devices:
* Orion - 88F5181 - 88F5182 - 88F5281 * Kirkwood - 88F6281 * Discovery - MV78100 The above families of SOCs are built around CPU cores compliant with ARMv5TE instruction set architecture definition. They share a number of integrated peripherals. This commit brings support for the following basic elements: * GPIO * Interrupt controller * L1, L2 cache * Timers, watchdog, RTC * TWSI (I2C) * UART Other peripherals drivers will be introduced separately. Reviewed by: imp, marcel, stass (Thanks guys!) Obtained from: Marvell, Semihalf
Diffstat (limited to 'sys/arm/include/intr.h')
-rw-r--r--sys/arm/include/intr.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arm/include/intr.h b/sys/arm/include/intr.h
index bf2bf6d..d75f14e 100644
--- a/sys/arm/include/intr.h
+++ b/sys/arm/include/intr.h
@@ -44,7 +44,9 @@
#elif defined(CPU_XSCALE_PXA2X0)
#include <arm/xscale/pxa/pxareg.h>
#define NIRQ IRQ_GPIO_MAX
-#elif defined(CPU_ARM9)
+#elif defined(SOC_MV_DISCOVERY)
+#define NIRQ 96
+#elif defined(CPU_ARM9) || defined(SOC_MV_KIRKWOOD)
#define NIRQ 64
#else
#define NIRQ 32
OpenPOWER on IntegriCloud