Merge branch 'upstream'
[linux-2.6] / arch / ppc / syslib / mpc8xx_sys.c
1 /*
2  * arch/ppc/platforms/mpc8xx_sys.c
3  *
4  * MPC8xx System descriptions
5  *
6  * Maintainer: Kumar Gala <galak@kernel.crashing.org>
7  *
8  * Copyright 2005 MontaVista Software, Inc. by Vitaly Bordug <vbordug@ru.mvista.com>
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 #include <linux/init.h>
17 #include <linux/module.h>
18 #include <linux/device.h>
19 #include <asm/ppc_sys.h>
20
21 struct ppc_sys_spec *cur_ppc_sys_spec; 
22 struct ppc_sys_spec ppc_sys_specs[] = {
23         {
24                 .ppc_sys_name   = "MPC86X",
25                 .mask           = 0xFFFFFFFF,
26                 .value          = 0x00000000,
27                 .num_devices    = 7,
28                 .device_list    = (enum ppc_sys_devices[])
29                 {
30                         MPC8xx_CPM_FEC1,
31                         MPC8xx_CPM_SCC1,
32                         MPC8xx_CPM_SCC2,
33                         MPC8xx_CPM_SCC3,
34                         MPC8xx_CPM_SCC4,
35                         MPC8xx_CPM_SMC1,
36                         MPC8xx_CPM_SMC2,
37                 },
38         },
39         {
40                 .ppc_sys_name   = "MPC885",
41                 .mask           = 0xFFFFFFFF,
42                 .value          = 0x00000000,
43                 .num_devices    = 8,
44                 .device_list    = (enum ppc_sys_devices[])
45                 {
46                         MPC8xx_CPM_FEC1,
47                         MPC8xx_CPM_FEC2,
48                         MPC8xx_CPM_SCC1,
49                         MPC8xx_CPM_SCC2,
50                         MPC8xx_CPM_SCC3,
51                         MPC8xx_CPM_SCC4,
52                         MPC8xx_CPM_SMC1,
53                         MPC8xx_CPM_SMC2,
54                 },
55         },
56         {       /* default match */
57                 .ppc_sys_name   = "",
58                 .mask           = 0x00000000,
59                 .value          = 0x00000000,
60         },
61 };