RT-AC66 3.0.0.4.374.130 core
[tomato.git] / release / src-rt-6.x / linux / linux-2.6 / arch / powerpc / platforms / 85xx / mpc85xx_cds.h
blobb251c9feb3dc244233831253a993047828c15b47
1 /*
2 * arch/powerpc/platforms/85xx/mpc85xx_cds.h
4 * MPC85xx CDS board definitions
6 * Maintainer: Kumar Gala <galak@kernel.crashing.org>
8 * Copyright 2004 Freescale Semiconductor, Inc
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.
17 #ifndef __MACH_MPC85XX_CDS_H__
18 #define __MACH_MPC85XX_CDS_H__
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)
27 /* CDS NVRAM/RTC */
28 #define CDS_RTC_ADDR (0xf8000000)
29 #define CDS_RTC_SIZE (8 * 1024)
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
38 #define NR_8259_INTS 16
39 #define CPM_IRQ_OFFSET NR_8259_INTS
41 #define MPC85xx_OPENPIC_IRQ_OFFSET 80
43 #endif /* __MACH_MPC85XX_CDS_H__ */