mpc8xx_sys.c 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. /*
  2. * arch/ppc/platforms/mpc8xx_sys.c
  3. *
  4. * MPC8xx System descriptions
  5. *
  6. * Maintainer: Kumar Gala <galak@kernel.crashing.org>
  7. *
  8. * Copyright 2005 MontaVista Software, Inc. by Vitaly Bordug <vbordug@ru.mvista.com>
  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. #include <linux/init.h>
  16. #include <linux/module.h>
  17. #include <linux/device.h>
  18. #include <asm/ppc_sys.h>
  19. struct ppc_sys_spec *cur_ppc_sys_spec;
  20. struct ppc_sys_spec ppc_sys_specs[] = {
  21. {
  22. .ppc_sys_name = "MPC86X",
  23. .mask = 0xFFFFFFFF,
  24. .value = 0x00000000,
  25. .num_devices = 7,
  26. .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,
  35. },
  36. },
  37. {
  38. .ppc_sys_name = "MPC885",
  39. .mask = 0xFFFFFFFF,
  40. .value = 0x00000000,
  41. .num_devices = 8,
  42. .device_list = (enum ppc_sys_devices[])
  43. {
  44. MPC8xx_CPM_FEC1,
  45. MPC8xx_CPM_FEC2,
  46. MPC8xx_CPM_SCC1,
  47. MPC8xx_CPM_SCC2,
  48. MPC8xx_CPM_SCC3,
  49. MPC8xx_CPM_SCC4,
  50. MPC8xx_CPM_SMC1,
  51. MPC8xx_CPM_SMC2,
  52. },
  53. },
  54. { /* default match */
  55. .ppc_sys_name = "",
  56. .mask = 0x00000000,
  57. .value = 0x00000000,
  58. },
  59. };