1 --- a/arch/arm/mach-s3c2442/Kconfig
2 +++ b/arch/arm/mach-s3c2442/Kconfig
3 @@ -25,6 +25,20 @@ config SMDK2440_CPU2442
4 depends on ARCH_S3C2440
7 +config MACH_NEO1973_GTA02
8 + bool "Openmoko Freerunner GSM Phone (GTA02 Hardware)"
11 + select PCF50633_GPIO
17 + select S3C_DEV_USB_HOST
19 + Say Y here if you are using the Openmoko Freerunner GSM Phone
24 --- a/arch/arm/mach-s3c2442/Makefile
25 +++ b/arch/arm/mach-s3c2442/Makefile
26 @@ -9,8 +9,11 @@ obj-m :=
30 +obj-$(CONFIG_S3C2440_C_FIQ) += fiq_c_isr.o
32 obj-$(CONFIG_CPU_S3C2442) += s3c2442.o
33 obj-$(CONFIG_CPU_S3C2442) += clock.o
34 +obj-$(CONFIG_MACH_NEO1973_GTA02) += mach-gta02.o
38 --- a/arch/arm/mach-s3c2410/include/mach/irqs.h
39 +++ b/arch/arm/mach-s3c2410/include/mach/irqs.h
41 #define IRQ_S3C2443_AC97 S3C2410_IRQSUB(28)
43 #ifdef CONFIG_CPU_S3C2443
44 -#define NR_IRQS (IRQ_S3C2443_AC97+1)
45 +#define _NR_IRQS (IRQ_S3C2443_AC97+1)
47 -#define NR_IRQS (IRQ_S3C2440_AC97+1)
48 +#define _NR_IRQS (IRQ_S3C2440_AC97+1)
51 /* compatibility define. */
53 /* Our FIQs are routable from IRQ_EINT0 to IRQ_ADCPARENT */
54 #define FIQ_START IRQ_EINT0
58 + * The next 16 interrupts are for board specific purposes. Since
59 + * the kernel can only run on one machine at a time, we can re-use
60 + * these. If you need more, increase IRQ_BOARD_END, but keep it
61 + * within sensible limits.
63 +#define IRQ_BOARD_START _NR_IRQS
64 +#define IRQ_BOARD_END (_NR_IRQS + 10)
66 +#if defined(CONFIG_MACH_NEO1973_GTA02)
67 +#define NR_IRQS (IRQ_BOARD_END)
69 +#define NR_IRQS (IRQ_BOARD_START)
72 +/* Neo1973 GTA02 interrupts */
73 +#define NEO1973_GTA02_IRQ(x) (IRQ_BOARD_START + (x))
74 +#define IRQ_GLAMO(x) NEO1973_GTA02_IRQ(x)
75 +#define IRQ_GLAMO_HOSTBUS IRQ_GLAMO(0)
76 +#define IRQ_GLAMO_JPEG IRQ_GLAMO(1)
77 +#define IRQ_GLAMO_MPEG IRQ_GLAMO(2)
78 +#define IRQ_GLAMO_MPROC1 IRQ_GLAMO(3)
79 +#define IRQ_GLAMO_MPROC0 IRQ_GLAMO(4)
80 +#define IRQ_GLAMO_CMDQUEUE IRQ_GLAMO(5)
81 +#define IRQ_GLAMO_2D IRQ_GLAMO(6)
82 +#define IRQ_GLAMO_MMC IRQ_GLAMO(7)
83 +#define IRQ_GLAMO_RISC IRQ_GLAMO(8)
85 #endif /* __ASM_ARCH_IRQ_H */