Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 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 | |
| 21 | struct ppc_sys_spec *cur_ppc_sys_spec; |
| 22 | struct 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 | }; |