blob: 82cf3ab77f4a67b08e2c108bdfd28cf94769287a [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001/*
2 * arch/ppc/platforms/83xx/mpc83xx_sys.c
3 *
4 * MPC83xx System descriptions
5 *
Kumar Gala4c8d3d92005-11-13 16:06:30 -08006 * Maintainer: Kumar Gala <galak@kernel.crashing.org>
Linus Torvalds1da177e2005-04-16 15:20:36 -07007 *
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,
Kumar Gala78b33122005-11-08 21:34:37 -080027 .num_devices = 9,
Linus Torvalds1da177e2005-04-16 15:20:36 -070028 .device_list = (enum ppc_sys_devices[])
29 {
30 MPC83xx_TSEC1, MPC83xx_TSEC2, MPC83xx_IIC1,
31 MPC83xx_IIC2, MPC83xx_DUART, MPC83xx_SEC2,
Kumar Gala78b33122005-11-08 21:34:37 -080032 MPC83xx_USB2_DR, MPC83xx_USB2_MPH, MPC83xx_MDIO
Linus Torvalds1da177e2005-04-16 15:20:36 -070033 },
34 },
35 {
36 .ppc_sys_name = "8349",
37 .mask = 0xFFFF0000,
38 .value = 0x80510000,
Kumar Gala78b33122005-11-08 21:34:37 -080039 .num_devices = 8,
Linus Torvalds1da177e2005-04-16 15:20:36 -070040 .device_list = (enum ppc_sys_devices[])
41 {
42 MPC83xx_TSEC1, MPC83xx_TSEC2, MPC83xx_IIC1,
43 MPC83xx_IIC2, MPC83xx_DUART,
Kumar Gala78b33122005-11-08 21:34:37 -080044 MPC83xx_USB2_DR, MPC83xx_USB2_MPH, MPC83xx_MDIO
Linus Torvalds1da177e2005-04-16 15:20:36 -070045 },
46 },
47 {
48 .ppc_sys_name = "8347E",
49 .mask = 0xFFFF0000,
50 .value = 0x80520000,
Kumar Gala78b33122005-11-08 21:34:37 -080051 .num_devices = 9,
Linus Torvalds1da177e2005-04-16 15:20:36 -070052 .device_list = (enum ppc_sys_devices[])
53 {
54 MPC83xx_TSEC1, MPC83xx_TSEC2, MPC83xx_IIC1,
55 MPC83xx_IIC2, MPC83xx_DUART, MPC83xx_SEC2,
Kumar Gala78b33122005-11-08 21:34:37 -080056 MPC83xx_USB2_DR, MPC83xx_USB2_MPH, MPC83xx_MDIO
Linus Torvalds1da177e2005-04-16 15:20:36 -070057 },
58 },
59 {
60 .ppc_sys_name = "8347",
61 .mask = 0xFFFF0000,
62 .value = 0x80530000,
Kumar Gala78b33122005-11-08 21:34:37 -080063 .num_devices = 8,
Linus Torvalds1da177e2005-04-16 15:20:36 -070064 .device_list = (enum ppc_sys_devices[])
65 {
66 MPC83xx_TSEC1, MPC83xx_TSEC2, MPC83xx_IIC1,
67 MPC83xx_IIC2, MPC83xx_DUART,
Kumar Gala78b33122005-11-08 21:34:37 -080068 MPC83xx_USB2_DR, MPC83xx_USB2_MPH, MPC83xx_MDIO
Linus Torvalds1da177e2005-04-16 15:20:36 -070069 },
70 },
71 {
Kumar Gala6760a1b2005-11-17 17:05:02 -060072 .ppc_sys_name = "8347E",
Linus Torvalds1da177e2005-04-16 15:20:36 -070073 .mask = 0xFFFF0000,
74 .value = 0x80540000,
Kumar Gala6760a1b2005-11-17 17:05:02 -060075 .num_devices = 9,
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, MPC83xx_USB2_MPH, MPC83xx_MDIO
81 },
82 },
83 {
84 .ppc_sys_name = "8347",
85 .mask = 0xFFFF0000,
86 .value = 0x80550000,
87 .num_devices = 8,
88 .device_list = (enum ppc_sys_devices[])
89 {
90 MPC83xx_TSEC1, MPC83xx_TSEC2, MPC83xx_IIC1,
91 MPC83xx_IIC2, MPC83xx_DUART,
92 MPC83xx_USB2_DR, MPC83xx_USB2_MPH, MPC83xx_MDIO
93 },
94 },
95 {
96 .ppc_sys_name = "8343E",
97 .mask = 0xFFFF0000,
98 .value = 0x80560000,
Kumar Gala78b33122005-11-08 21:34:37 -080099 .num_devices = 8,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700100 .device_list = (enum ppc_sys_devices[])
101 {
102 MPC83xx_TSEC1, MPC83xx_TSEC2, MPC83xx_IIC1,
103 MPC83xx_IIC2, MPC83xx_DUART, MPC83xx_SEC2,
Kumar Gala78b33122005-11-08 21:34:37 -0800104 MPC83xx_USB2_DR, MPC83xx_MDIO
Linus Torvalds1da177e2005-04-16 15:20:36 -0700105 },
106 },
107 {
108 .ppc_sys_name = "8343",
109 .mask = 0xFFFF0000,
Kumar Gala6760a1b2005-11-17 17:05:02 -0600110 .value = 0x80570000,
Kumar Gala78b33122005-11-08 21:34:37 -0800111 .num_devices = 7,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700112 .device_list = (enum ppc_sys_devices[])
113 {
114 MPC83xx_TSEC1, MPC83xx_TSEC2, MPC83xx_IIC1,
115 MPC83xx_IIC2, MPC83xx_DUART,
Kumar Gala78b33122005-11-08 21:34:37 -0800116 MPC83xx_USB2_DR, MPC83xx_MDIO
Linus Torvalds1da177e2005-04-16 15:20:36 -0700117 },
118 },
119 { /* default match */
120 .ppc_sys_name = "",
121 .mask = 0x00000000,
122 .value = 0x00000000,
123 },
124};