blob: 18ba1d7ff9f19d712a53db382af582ca74c2ce93 [file] [log] [blame]
Vitaly Bordug514ccd42005-09-16 19:28:00 -07001/*
Vitaly Bordug514ccd42005-09-16 19:28:00 -07002 * MPC8xx System descriptions
3 *
Kumar Gala4c8d3d92005-11-13 16:06:30 -08004 * Maintainer: Kumar Gala <galak@kernel.crashing.org>
Vitaly Bordug514ccd42005-09-16 19:28:00 -07005 *
6 * Copyright 2005 MontaVista Software, Inc. by Vitaly Bordug <vbordug@ru.mvista.com>
7 *
8 * This program is free software; you can redistribute it and/or modify it
9 * under the terms of the GNU General Public License as published by the
10 * Free Software Foundation; either version 2 of the License, or (at your
11 * option) any later version.
12 */
13
14#include <linux/init.h>
15#include <linux/module.h>
16#include <linux/device.h>
17#include <asm/ppc_sys.h>
18
19struct ppc_sys_spec *cur_ppc_sys_spec;
20struct ppc_sys_spec ppc_sys_specs[] = {
21 {
22 .ppc_sys_name = "MPC86X",
23 .mask = 0xFFFFFFFF,
24 .value = 0x00000000,
Vitaly Bordug2ca2d5e2006-08-14 23:00:31 -070025 .num_devices = 8,
Vitaly Bordug514ccd42005-09-16 19:28:00 -070026 .device_list = (enum ppc_sys_devices[])
27 {
28 MPC8xx_CPM_FEC1,
29 MPC8xx_CPM_SCC1,
30 MPC8xx_CPM_SCC2,
31 MPC8xx_CPM_SCC3,
32 MPC8xx_CPM_SCC4,
33 MPC8xx_CPM_SMC1,
34 MPC8xx_CPM_SMC2,
Vitaly Bordug2ca2d5e2006-08-14 23:00:31 -070035 MPC8xx_MDIO_FEC,
Vitaly Bordug514ccd42005-09-16 19:28:00 -070036 },
37 },
38 {
39 .ppc_sys_name = "MPC885",
40 .mask = 0xFFFFFFFF,
41 .value = 0x00000000,
Vitaly Bordug2ca2d5e2006-08-14 23:00:31 -070042 .num_devices = 9,
Vitaly Bordug514ccd42005-09-16 19:28:00 -070043 .device_list = (enum ppc_sys_devices[])
44 {
45 MPC8xx_CPM_FEC1,
46 MPC8xx_CPM_FEC2,
47 MPC8xx_CPM_SCC1,
48 MPC8xx_CPM_SCC2,
49 MPC8xx_CPM_SCC3,
50 MPC8xx_CPM_SCC4,
51 MPC8xx_CPM_SMC1,
52 MPC8xx_CPM_SMC2,
Vitaly Bordug2ca2d5e2006-08-14 23:00:31 -070053 MPC8xx_MDIO_FEC,
Vitaly Bordug514ccd42005-09-16 19:28:00 -070054 },
55 },
56 { /* default match */
57 .ppc_sys_name = "",
58 .mask = 0x00000000,
59 .value = 0x00000000,
60 },
61};