RT-AC66 3.0.0.4.374.130 core
[tomato.git] / release / src-rt-6.x / linux / linux-2.6 / arch / powerpc / platforms / 85xx / mpc8540_ads.h
blobda82f4c0fdac60ed7db774b1225b3ae495a19486
1 /*
2 * arch/powerpc/platforms/85xx/mpc8540_ads.h
4 * MPC8540ADS board definitions
6 * Maintainer: Kumar Gala <kumar.gala@freescale.com>
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_MPC8540ADS_H__
18 #define __MACH_MPC8540ADS_H__
20 #include <linux/initrd.h>
22 #define BOARD_CCSRBAR ((uint)0xe0000000)
23 #define BCSR_ADDR ((uint)0xf8000000)
24 #define BCSR_SIZE ((uint)(32 * 1024))
26 /* PCI interrupt controller */
27 #define PIRQA MPC85xx_IRQ_EXT1
28 #define PIRQB MPC85xx_IRQ_EXT2
29 #define PIRQC MPC85xx_IRQ_EXT3
30 #define PIRQD MPC85xx_IRQ_EXT4
32 /* Offset of CPM register space */
33 #define CPM_MAP_ADDR (CCSRBAR + MPC85xx_CPM_OFFSET)
35 #endif /* __MACH_MPC8540ADS_H__ */