aboutsummaryrefslogtreecommitdiffstats
path: root/arch/ppc/syslib/mpc83xx_sys.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-16 18:20:36 -0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-16 18:20:36 -0400
commit1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (patch)
tree0bba044c4ce775e45a88a51686b5d9f90697ea9d /arch/ppc/syslib/mpc83xx_sys.c
Linux-2.6.12-rc2v2.6.12-rc2
Initial git repository build. I'm not bothering with the full history, even though we have it. We can create a separate "historical" git archive of that later if we want to, and in the meantime it's about 3.2GB when imported into git - space that would just make the early git days unnecessarily complicated, when we don't have a lot of good infrastructure for it. Let it rip!
Diffstat (limited to 'arch/ppc/syslib/mpc83xx_sys.c')
-rw-r--r--arch/ppc/syslib/mpc83xx_sys.c100
1 files changed, 100 insertions, 0 deletions
diff --git a/arch/ppc/syslib/mpc83xx_sys.c b/arch/ppc/syslib/mpc83xx_sys.c
new file mode 100644
index 000000000000..29aa63350025
--- /dev/null
+++ b/arch/ppc/syslib/mpc83xx_sys.c
@@ -0,0 +1,100 @@
1/*
2 * arch/ppc/platforms/83xx/mpc83xx_sys.c
3 *
4 * MPC83xx System descriptions
5 *
6 * Maintainer: Kumar Gala <kumar.gala@freescale.com>
7 *
8 * Copyright 2005 Freescale Semiconductor Inc.
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
21struct ppc_sys_spec *cur_ppc_sys_spec;
22struct ppc_sys_spec ppc_sys_specs[] = {
23 {
24 .ppc_sys_name = "8349E",
25 .mask = 0xFFFF0000,
26 .value = 0x80500000,
27 .num_devices = 8,
28 .device_list = (enum ppc_sys_devices[])
29 {
30 MPC83xx_TSEC1, MPC83xx_TSEC2, MPC83xx_IIC1,
31 MPC83xx_IIC2, MPC83xx_DUART, MPC83xx_SEC2,
32 MPC83xx_USB2_DR, MPC83xx_USB2_MPH
33 },
34 },
35 {
36 .ppc_sys_name = "8349",
37 .mask = 0xFFFF0000,
38 .value = 0x80510000,
39 .num_devices = 7,
40 .device_list = (enum ppc_sys_devices[])
41 {
42 MPC83xx_TSEC1, MPC83xx_TSEC2, MPC83xx_IIC1,
43 MPC83xx_IIC2, MPC83xx_DUART,
44 MPC83xx_USB2_DR, MPC83xx_USB2_MPH
45 },
46 },
47 {
48 .ppc_sys_name = "8347E",
49 .mask = 0xFFFF0000,
50 .value = 0x80520000,
51 .num_devices = 8,
52 .device_list = (enum ppc_sys_devices[])
53 {
54 MPC83xx_TSEC1, MPC83xx_TSEC2, MPC83xx_IIC1,
55 MPC83xx_IIC2, MPC83xx_DUART, MPC83xx_SEC2,
56 MPC83xx_USB2_DR, MPC83xx_USB2_MPH
57 },
58 },
59 {
60 .ppc_sys_name = "8347",
61 .mask = 0xFFFF0000,
62 .value = 0x80530000,
63 .num_devices = 7,
64 .device_list = (enum ppc_sys_devices[])
65 {
66 MPC83xx_TSEC1, MPC83xx_TSEC2, MPC83xx_IIC1,
67 MPC83xx_IIC2, MPC83xx_DUART,
68 MPC83xx_USB2_DR, MPC83xx_USB2_MPH
69 },
70 },
71 {
72 .ppc_sys_name = "8343E",
73 .mask = 0xFFFF0000,
74 .value = 0x80540000,
75 .num_devices = 7,
76 .device_list = (enum ppc_sys_devices[])
77 {
78 MPC83xx_TSEC1, MPC83xx_TSEC2, MPC83xx_IIC1,
79 MPC83xx_IIC2, MPC83xx_DUART, MPC83xx_SEC2,
80 MPC83xx_USB2_DR,
81 },
82 },
83 {
84 .ppc_sys_name = "8343",
85 .mask = 0xFFFF0000,
86 .value = 0x80550000,
87 .num_devices = 6,
88 .device_list = (enum ppc_sys_devices[])
89 {
90 MPC83xx_TSEC1, MPC83xx_TSEC2, MPC83xx_IIC1,
91 MPC83xx_IIC2, MPC83xx_DUART,
92 MPC83xx_USB2_DR,
93 },
94 },
95 { /* default match */
96 .ppc_sys_name = "",
97 .mask = 0x00000000,
98 .value = 0x00000000,
99 },
100};