aboutsummaryrefslogtreecommitdiff
path: root/arch/powerpc/platforms/512x/mpc5121_ads.h
diff options
context:
space:
mode:
authorJohn Rigby <jrigby@freescale.com>2008-07-09 14:54:04 -0600
committerGrant Likely <grant.likely@secretlab.ca>2008-07-12 12:10:55 -0600
commit1879f711d8c3960e0fd927f38ff885017a77291b (patch)
tree39c71df0060b858f7bab85abcef3fefce116f061 /arch/powerpc/platforms/512x/mpc5121_ads.h
parentfb1803224ea145e3424d6295d4aaa8e9fef70642 (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.h')
-rw-r--r--arch/powerpc/platforms/512x/mpc5121_ads.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/512x/mpc5121_ads.h b/arch/powerpc/platforms/512x/mpc5121_ads.h
new file mode 100644
index 00000000000..662076cfee2
--- /dev/null
+++ b/arch/powerpc/platforms/512x/mpc5121_ads.h
@@ -0,0 +1,16 @@
+/*
+ * Copyright (C) 2008 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 as published by the
+ * Free Software Foundation; either version 2 of the License, or (at your
+ * option) any later version.
+ *
+ * Prototypes for ADS5121 specific code
+ */
+
+#ifndef __MPC512ADS_H__
+#define __MPC512ADS_H__
+extern void __init mpc5121_ads_cpld_map(void);
+extern void __init mpc5121_ads_cpld_pic_init(void);
+#endif /* __MPC512ADS_H__ */