blob: 6ba69a86b9ddf2cc2e488f01a0c57cad44e80c8f [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001/*
2 * Since there are many different boards and no standard configuration,
3 * we have a unique include file for each. Rather than change every
4 * file that has to include MPC8260 configuration, they all include
5 * this one and the configuration switching is done here.
6 */
7#ifdef __KERNEL__
8#ifndef __ASM_PPC_MPC8260_H__
9#define __ASM_PPC_MPC8260_H__
10
11#include <linux/config.h>
12
13#ifdef CONFIG_8260
14
15#ifdef CONFIG_EST8260
16#include <platforms/est8260.h>
17#endif
18
19#ifdef CONFIG_SBC82xx
20#include <platforms/sbc82xx.h>
21#endif
22
23#ifdef CONFIG_SBS8260
24#include <platforms/sbs8260.h>
25#endif
26
27#ifdef CONFIG_RPX8260
28#include <platforms/rpx8260.h>
29#endif
30
31#ifdef CONFIG_WILLOW
32#include <platforms/willow.h>
33#endif
34
35#ifdef CONFIG_TQM8260
36#include <platforms/tqm8260.h>
37#endif
38
39#if defined(CONFIG_PQ2ADS) || defined (CONFIG_PQ2FADS)
40#include <platforms/pq2ads.h>
41#endif
42
43#ifdef CONFIG_PCI_8260
Vitaly Borduga6dbba72005-05-28 15:52:09 -070044#include <syslib/m82xx_pci.h>
Linus Torvalds1da177e2005-04-16 15:20:36 -070045#endif
46
47/* Make sure the memory translation stuff is there if PCI not used.
48 */
49#ifndef _IO_BASE
50#define _IO_BASE 0
51#endif
52
53#ifndef _ISA_MEM_BASE
54#define _ISA_MEM_BASE 0
55#endif
56
57#ifndef PCI_DRAM_OFFSET
58#define PCI_DRAM_OFFSET 0
59#endif
60
61/* Map 256MB I/O region
62 */
63#ifndef IO_PHYS_ADDR
64#define IO_PHYS_ADDR 0xe0000000
65#endif
66#ifndef IO_VIRT_ADDR
67#define IO_VIRT_ADDR IO_PHYS_ADDR
68#endif
69
Kumar Gala8e8fff02005-09-03 15:55:34 -070070enum ppc_sys_devices {
71 MPC82xx_CPM_FCC1,
72 MPC82xx_CPM_FCC2,
73 MPC82xx_CPM_FCC3,
74 MPC82xx_CPM_I2C,
75 MPC82xx_CPM_SCC1,
76 MPC82xx_CPM_SCC2,
77 MPC82xx_CPM_SCC3,
78 MPC82xx_CPM_SCC4,
79 MPC82xx_CPM_SPI,
80 MPC82xx_CPM_MCC1,
81 MPC82xx_CPM_MCC2,
82 MPC82xx_CPM_SMC1,
83 MPC82xx_CPM_SMC2,
84 MPC82xx_CPM_USB,
85 MPC82xx_SEC1,
Vitaly Bordug75288c72006-01-20 22:22:34 +030086 NUM_PPC_SYS_DEVS,
Kumar Gala8e8fff02005-09-03 15:55:34 -070087};
88
Linus Torvalds1da177e2005-04-16 15:20:36 -070089#ifndef __ASSEMBLY__
90/* The "residual" data board information structure the boot loader
91 * hands to us.
92 */
93extern unsigned char __res[];
94#endif
95
Vitaly Bordug1461b4e2005-10-28 17:46:28 -070096#ifndef BOARD_CHIP_NAME
97#define BOARD_CHIP_NAME ""
98#endif
99
Linus Torvalds1da177e2005-04-16 15:20:36 -0700100#endif /* CONFIG_8260 */
101#endif /* !__ASM_PPC_MPC8260_H__ */
102#endif /* __KERNEL__ */