2 * MPC85xx System descriptions
4 * Maintainer: Kumar Gala <galak@kernel.crashing.org>
6 * Copyright 2005 Freescale Semiconductor Inc.
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.
14 #include <linux/init.h>
15 #include <linux/module.h>
16 #include <linux/device.h>
17 #include <asm/ppc_sys.h>
19 struct ppc_sys_spec
*cur_ppc_sys_spec
;
20 struct ppc_sys_spec ppc_sys_specs
[] = {
22 .ppc_sys_name
= "8540",
26 .device_list
= (enum ppc_sys_devices
[])
28 MPC85xx_TSEC1
, MPC85xx_TSEC2
, MPC85xx_FEC
, MPC85xx_IIC1
,
29 MPC85xx_DMA0
, MPC85xx_DMA1
, MPC85xx_DMA2
, MPC85xx_DMA3
,
30 MPC85xx_PERFMON
, MPC85xx_DUART
, MPC85xx_MDIO
,
34 .ppc_sys_name
= "8560",
38 .device_list
= (enum ppc_sys_devices
[])
40 MPC85xx_TSEC1
, MPC85xx_TSEC2
, MPC85xx_IIC1
,
41 MPC85xx_DMA0
, MPC85xx_DMA1
, MPC85xx_DMA2
, MPC85xx_DMA3
,
43 MPC85xx_CPM_SPI
, MPC85xx_CPM_I2C
, MPC85xx_CPM_SCC1
,
44 MPC85xx_CPM_SCC2
, MPC85xx_CPM_SCC3
, MPC85xx_CPM_SCC4
,
45 MPC85xx_CPM_FCC1
, MPC85xx_CPM_FCC2
, MPC85xx_CPM_FCC3
,
46 MPC85xx_CPM_MCC1
, MPC85xx_CPM_MCC2
, MPC85xx_MDIO
,
50 .ppc_sys_name
= "8541",
54 .device_list
= (enum ppc_sys_devices
[])
56 MPC85xx_TSEC1
, MPC85xx_TSEC2
, MPC85xx_IIC1
,
57 MPC85xx_DMA0
, MPC85xx_DMA1
, MPC85xx_DMA2
, MPC85xx_DMA3
,
58 MPC85xx_PERFMON
, MPC85xx_DUART
,
59 MPC85xx_CPM_SPI
, MPC85xx_CPM_I2C
,
60 MPC85xx_CPM_FCC1
, MPC85xx_CPM_FCC2
,
65 .ppc_sys_name
= "8541E",
69 .device_list
= (enum ppc_sys_devices
[])
71 MPC85xx_TSEC1
, MPC85xx_TSEC2
, MPC85xx_IIC1
,
72 MPC85xx_DMA0
, MPC85xx_DMA1
, MPC85xx_DMA2
, MPC85xx_DMA3
,
73 MPC85xx_PERFMON
, MPC85xx_DUART
, MPC85xx_SEC2
,
74 MPC85xx_CPM_SPI
, MPC85xx_CPM_I2C
,
75 MPC85xx_CPM_FCC1
, MPC85xx_CPM_FCC2
,
80 .ppc_sys_name
= "8555",
84 .device_list
= (enum ppc_sys_devices
[])
86 MPC85xx_TSEC1
, MPC85xx_TSEC2
, MPC85xx_IIC1
,
87 MPC85xx_DMA0
, MPC85xx_DMA1
, MPC85xx_DMA2
, MPC85xx_DMA3
,
88 MPC85xx_PERFMON
, MPC85xx_DUART
,
89 MPC85xx_CPM_SPI
, MPC85xx_CPM_I2C
, MPC85xx_CPM_SCC1
,
90 MPC85xx_CPM_SCC2
, MPC85xx_CPM_SCC3
,
91 MPC85xx_CPM_FCC1
, MPC85xx_CPM_FCC2
,
92 MPC85xx_CPM_SMC1
, MPC85xx_CPM_SMC2
,
98 .ppc_sys_name
= "8555E",
102 .device_list
= (enum ppc_sys_devices
[])
104 MPC85xx_TSEC1
, MPC85xx_TSEC2
, MPC85xx_IIC1
,
105 MPC85xx_DMA0
, MPC85xx_DMA1
, MPC85xx_DMA2
, MPC85xx_DMA3
,
106 MPC85xx_PERFMON
, MPC85xx_DUART
, MPC85xx_SEC2
,
107 MPC85xx_CPM_SPI
, MPC85xx_CPM_I2C
, MPC85xx_CPM_SCC1
,
108 MPC85xx_CPM_SCC2
, MPC85xx_CPM_SCC3
,
109 MPC85xx_CPM_FCC1
, MPC85xx_CPM_FCC2
,
110 MPC85xx_CPM_SMC1
, MPC85xx_CPM_SMC2
,
115 /* SVRs on 8548 rev1.0 matches for 8548/8547/8545 */
117 .ppc_sys_name
= "8548E",
121 .device_list
= (enum ppc_sys_devices
[])
123 MPC85xx_eTSEC1
, MPC85xx_eTSEC2
, MPC85xx_eTSEC3
,
124 MPC85xx_eTSEC4
, MPC85xx_IIC1
, MPC85xx_IIC2
,
125 MPC85xx_DMA0
, MPC85xx_DMA1
, MPC85xx_DMA2
, MPC85xx_DMA3
,
126 MPC85xx_PERFMON
, MPC85xx_DUART
, MPC85xx_SEC2
,
131 .ppc_sys_name
= "8548",
135 .device_list
= (enum ppc_sys_devices
[])
137 MPC85xx_eTSEC1
, MPC85xx_eTSEC2
, MPC85xx_eTSEC3
,
138 MPC85xx_eTSEC4
, MPC85xx_IIC1
, MPC85xx_IIC2
,
139 MPC85xx_DMA0
, MPC85xx_DMA1
, MPC85xx_DMA2
, MPC85xx_DMA3
,
140 MPC85xx_PERFMON
, MPC85xx_DUART
,
145 .ppc_sys_name
= "8547E",
149 .device_list
= (enum ppc_sys_devices
[])
151 MPC85xx_eTSEC1
, MPC85xx_eTSEC2
, MPC85xx_eTSEC3
,
152 MPC85xx_eTSEC4
, MPC85xx_IIC1
, MPC85xx_IIC2
,
153 MPC85xx_DMA0
, MPC85xx_DMA1
, MPC85xx_DMA2
, MPC85xx_DMA3
,
154 MPC85xx_PERFMON
, MPC85xx_DUART
, MPC85xx_SEC2
,
159 .ppc_sys_name
= "8547",
163 .device_list
= (enum ppc_sys_devices
[])
165 MPC85xx_eTSEC1
, MPC85xx_eTSEC2
, MPC85xx_eTSEC3
,
166 MPC85xx_eTSEC4
, MPC85xx_IIC1
, MPC85xx_IIC2
,
167 MPC85xx_DMA0
, MPC85xx_DMA1
, MPC85xx_DMA2
, MPC85xx_DMA3
,
168 MPC85xx_PERFMON
, MPC85xx_DUART
,
173 .ppc_sys_name
= "8545E",
177 .device_list
= (enum ppc_sys_devices
[])
179 MPC85xx_eTSEC1
, MPC85xx_eTSEC2
,
180 MPC85xx_IIC1
, MPC85xx_IIC2
,
181 MPC85xx_DMA0
, MPC85xx_DMA1
, MPC85xx_DMA2
, MPC85xx_DMA3
,
182 MPC85xx_PERFMON
, MPC85xx_DUART
, MPC85xx_SEC2
,
187 .ppc_sys_name
= "8545",
191 .device_list
= (enum ppc_sys_devices
[])
193 MPC85xx_eTSEC1
, MPC85xx_eTSEC2
,
194 MPC85xx_IIC1
, MPC85xx_IIC2
,
195 MPC85xx_DMA0
, MPC85xx_DMA1
, MPC85xx_DMA2
, MPC85xx_DMA3
,
196 MPC85xx_PERFMON
, MPC85xx_DUART
,
201 .ppc_sys_name
= "8543E",
205 .device_list
= (enum ppc_sys_devices
[])
207 MPC85xx_eTSEC1
, MPC85xx_eTSEC2
,
208 MPC85xx_IIC1
, MPC85xx_IIC2
,
209 MPC85xx_DMA0
, MPC85xx_DMA1
, MPC85xx_DMA2
, MPC85xx_DMA3
,
210 MPC85xx_PERFMON
, MPC85xx_DUART
, MPC85xx_SEC2
,
215 .ppc_sys_name
= "8543",
219 .device_list
= (enum ppc_sys_devices
[])
221 MPC85xx_eTSEC1
, MPC85xx_eTSEC2
,
222 MPC85xx_IIC1
, MPC85xx_IIC2
,
223 MPC85xx_DMA0
, MPC85xx_DMA1
, MPC85xx_DMA2
, MPC85xx_DMA3
,
224 MPC85xx_PERFMON
, MPC85xx_DUART
,
228 { /* default match */