summaryrefslogtreecommitdiffstats
path: root/arch/ppc/syslib/mpc8xx_sys.c
blob: 3cc27d29e3af64e59fdf3a78d0549dfd6ac78070 (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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
/*
 * arch/ppc/platforms/mpc8xx_sys.c
 *
 * MPC8xx System descriptions
 *
 * Maintainer: Kumar Gala <kumar.gala@freescale.com>
 *
 * Copyright 2005 MontaVista Software, Inc. by Vitaly Bordug <vbordug@ru.mvista.com>
 *
 * 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.
 */

#include <linux/init.h>
#include <linux/module.h>
#include <linux/device.h>
#include <asm/ppc_sys.h>

struct ppc_sys_spec *cur_ppc_sys_spec; 
struct ppc_sys_spec ppc_sys_specs[] = {
	{
		.ppc_sys_name	= "MPC86X",
		.mask 		= 0xFFFFFFFF,
		.value 		= 0x00000000,
		.num_devices	= 7,
		.device_list	= (enum ppc_sys_devices[])
		{
			MPC8xx_CPM_FEC1,
			MPC8xx_CPM_SCC1,
			MPC8xx_CPM_SCC2,
			MPC8xx_CPM_SCC3,
			MPC8xx_CPM_SCC4,
			MPC8xx_CPM_SMC1,
			MPC8xx_CPM_SMC2,
		},
	},
	{
		.ppc_sys_name	= "MPC885",
		.mask 		= 0xFFFFFFFF,
		.value 		= 0x00000000,
		.num_devices	= 8,
		.device_list	= (enum ppc_sys_devices[])
		{
			MPC8xx_CPM_FEC1,
			MPC8xx_CPM_FEC2,
			MPC8xx_CPM_SCC1,
			MPC8xx_CPM_SCC2,
			MPC8xx_CPM_SCC3,
			MPC8xx_CPM_SCC4,
			MPC8xx_CPM_SMC1,
			MPC8xx_CPM_SMC2,
		},
	},
	{	/* default match */
		.ppc_sys_name	= "",
		.mask 		= 0x00000000,
		.value 		= 0x00000000,
	},
};
OpenPOWER on IntegriCloud