diff options
author | John Rigby <jrigby@freescale.com> | 2008-07-09 14:54:04 -0600 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2008-07-12 12:10:55 -0600 |
commit | 1879f711d8c3960e0fd927f38ff885017a77291b (patch) | |
tree | 39c71df0060b858f7bab85abcef3fefce116f061 /arch/powerpc/platforms/512x/mpc5121_ads.c | |
parent | fb1803224ea145e3424d6295d4aaa8e9fef70642 (diff) |
powerpc/mpc5121: Add support for CPLD on MPC5121ADS board
Add a interrupt host for the interrupt controller in the mpc5121ads cpld.
PCI interrupts are 0-7 the rest are 8-15 Touchscreen pendown irq is
hardwired to irq1 All other irqs are chained to irq0
Signed-off-by: John Rigby <jrigby@freescale.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'arch/powerpc/platforms/512x/mpc5121_ads.c')
-rw-r--r-- | arch/powerpc/platforms/512x/mpc5121_ads.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/512x/mpc5121_ads.c b/arch/powerpc/platforms/512x/mpc5121_ads.c index 3ec9ca34d8e8..5ebf6939a697 100644 --- a/arch/powerpc/platforms/512x/mpc5121_ads.c +++ b/arch/powerpc/platforms/512x/mpc5121_ads.c @@ -23,10 +23,21 @@ #include <asm/time.h> #include "mpc512x.h" +#include "mpc5121_ads.h" + +static void __init mpc5121_ads_setup_arch(void) +{ + printk(KERN_INFO "MPC5121 ADS board from Freescale Semiconductor\n"); + /* + * cpld regs are needed early + */ + mpc5121_ads_cpld_map(); +} static void __init mpc5121_ads_init_IRQ(void) { mpc512x_init_IRQ(); + mpc5121_ads_cpld_pic_init(); } /* |