diff --git a/arch/arm/include/lpc214x/irq.h b/arch/arm/include/lpc214x/irq.h index f517e30a7d..c199a585ca 100644 --- a/arch/arm/include/lpc214x/irq.h +++ b/arch/arm/include/lpc214x/irq.h @@ -50,7 +50,31 @@ /* LPC214X Interrupts */ -#define NR_IRQS 16 +#define LPC214X_WDT_IRQ 0 /* Watchdog */ +#define LPC214X_RESERVED_IRQ 1 /* SWI only */ +#define LPC214X_DBGCOMMRX_IRQ 2 /* Embedded debug */ +#define LPC214X_DBGCOMMTX_IRQ 3 /* Embedded debug */ +#define LPC214X_TIMER0_IRQ 4 /* Timer 0 */ +#define LPC214X_TIMER1_IRQ 5 /* Timer 1 */ +#define LPC214X_UART0_IRQ 6 /* UART 0 */ +#define LPC214X_UART1_IRQ 7 /* UART 1 */ +#define LPC214X_PWM0_IRQ 8 /* PWM 0 */ +#define LPC214X_I2C0_IRQ 9 /* I2C 0 */ +#define LPC214X_SPI0_IRQ 10 /* SPI 0 */ +#define LPC214X_SPI1_IRQ 11 /* SPI 1 */ +#define LPC214X_PLL_IRQ 12 /* PLL Lock IRQ */ +#define LPC214X_RTC_IRQ 13 /* Real Time Clock */ +#define LPC214X_EINT0_IRQ 14 /* External interrupt 0 */ +#define LPC214X_EINT1_IRQ 15 /* External interrupt 1 */ +#define LPC214X_EINT2_IRQ 16 /* External interrupt 2 */ +#define LPC214X_EINT3_IRQ 17 /* External interrupt 3 */ +#define LPC214X_ADC0_IRQ 18 /* ADC 0 */ +#define LPC214X_I2C1_IRQ 19 /* I2C 1 */ +#define LPC214X_BOD_IRQ 20 /* Brown Out Detect */ +#define LPC214X_ADC1_IRQ 21 /* ADC 1 */ +#define LPC214X_USB_IRQ 22 /* USB */ + +#define NR_IRQS 23 /************************************************************ * Public Types diff --git a/arch/arm/src/lpc214x/chip.h b/arch/arm/src/lpc214x/chip.h index f1e863c7d0..b9effa977b 100644 --- a/arch/arm/src/lpc214x/chip.h +++ b/arch/arm/src/lpc214x/chip.h @@ -48,7 +48,11 @@ #define LPC214X_FLASH_BASE 0x00000000 #define LPC214X_ONCHIP_RAM_BASE 0x40000000 +#define LPC214X_USBDMA_RAM_BASE 0x7fd00000 +#define LPC214X_BOOT_BLOCK 0x7fffd000 #define LPC214X_EXTMEM_BASE 0x80000000 +#define LPC214X_APB_BASE 0xe0000000 +#define LPC214X_AHB_BASE 0xf0000000 /* Interrupts **********************************************************************/