summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/85xx/mpc85xx_cds.h
blob: b251c9feb3dc244233831253a993047828c15b47 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
/*
 * arch/powerpc/platforms/85xx/mpc85xx_cds.h
 *
 * MPC85xx CDS board definitions
 *
 * Maintainer: Kumar Gala <galak@kernel.crashing.org>
 *
 * Copyright 2004 Freescale Semiconductor, Inc
 *
 * 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.
 *
 */

#ifndef __MACH_MPC85XX_CDS_H__
#define __MACH_MPC85XX_CDS_H__

/* CADMUS info */
#define CADMUS_BASE (0xf8004000)
#define CADMUS_SIZE (256)
#define CM_VER	(0)
#define CM_CSR	(1)
#define CM_RST	(2)

/* CDS NVRAM/RTC */
#define CDS_RTC_ADDR	(0xf8000000)
#define CDS_RTC_SIZE	(8 * 1024)

/* PCI interrupt controller */
#define PIRQ0A			MPC85xx_IRQ_EXT0
#define PIRQ0B			MPC85xx_IRQ_EXT1
#define PIRQ0C			MPC85xx_IRQ_EXT2
#define PIRQ0D			MPC85xx_IRQ_EXT3
#define PIRQ1A			MPC85xx_IRQ_EXT11

#define NR_8259_INTS		16
#define CPM_IRQ_OFFSET		NR_8259_INTS

#define MPC85xx_OPENPIC_IRQ_OFFSET	80

#endif /* __MACH_MPC85XX_CDS_H__ */
OpenPOWER on IntegriCloud