mpc8xx_sys.c 1.3 KB

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