]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blob - arch/powerpc/platforms/85xx/mpc85xx_cds.h
671f54ff185ac011bd091422931b6346a232e285
[mirror_ubuntu-artful-kernel.git] / arch / powerpc / platforms / 85xx / mpc85xx_cds.h
1 /*
2 * arch/ppc/platforms/85xx/mpc85xx_cds_common.h
3 *
4 * MPC85xx CDS board definitions
5 *
6 * Maintainer: Kumar Gala <galak@kernel.crashing.org>
7 *
8 * Copyright 2004 Freescale Semiconductor, Inc
9 *
10 * This program is free software; you can redistribute it and/or modify it
11 * under the terms of the GNU General Public License as published by the
12 * Free Software Foundation; either version 2 of the License, or (at your
13 * option) any later version.
14 *
15 */
16
17 #ifndef __MACH_MPC85XX_CDS_H__
18 #define __MACH_MPC85XX_CDS_H__
19
20 /* CADMUS info */
21 #define CADMUS_BASE (0xf8004000)
22 #define CADMUS_SIZE (256)
23 #define CM_VER (0)
24 #define CM_CSR (1)
25 #define CM_RST (2)
26
27 /* CDS NVRAM/RTC */
28 #define CDS_RTC_ADDR (0xf8000000)
29 #define CDS_RTC_SIZE (8 * 1024)
30
31 /* PCI interrupt controller */
32 #define PIRQ0A MPC85xx_IRQ_EXT0
33 #define PIRQ0B MPC85xx_IRQ_EXT1
34 #define PIRQ0C MPC85xx_IRQ_EXT2
35 #define PIRQ0D MPC85xx_IRQ_EXT3
36 #define PIRQ1A MPC85xx_IRQ_EXT11
37
38 #define NR_8259_INTS 16
39 #define CPM_IRQ_OFFSET NR_8259_INTS
40
41 #define MPC85xx_OPENPIC_IRQ_OFFSET 80
42
43 #endif /* __MACH_MPC85XX_CDS_H__ */