mpc83xx_sys.c 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  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. #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 = "8349E",
  23. .mask = 0xFFFF0000,
  24. .value = 0x80500000,
  25. .num_devices = 8,
  26. .device_list = (enum ppc_sys_devices[])
  27. {
  28. MPC83xx_TSEC1, MPC83xx_TSEC2, MPC83xx_IIC1,
  29. MPC83xx_IIC2, MPC83xx_DUART, MPC83xx_SEC2,
  30. MPC83xx_USB2_DR, MPC83xx_USB2_MPH
  31. },
  32. },
  33. {
  34. .ppc_sys_name = "8349",
  35. .mask = 0xFFFF0000,
  36. .value = 0x80510000,
  37. .num_devices = 7,
  38. .device_list = (enum ppc_sys_devices[])
  39. {
  40. MPC83xx_TSEC1, MPC83xx_TSEC2, MPC83xx_IIC1,
  41. MPC83xx_IIC2, MPC83xx_DUART,
  42. MPC83xx_USB2_DR, MPC83xx_USB2_MPH
  43. },
  44. },
  45. {
  46. .ppc_sys_name = "8347E",
  47. .mask = 0xFFFF0000,
  48. .value = 0x80520000,
  49. .num_devices = 8,
  50. .device_list = (enum ppc_sys_devices[])
  51. {
  52. MPC83xx_TSEC1, MPC83xx_TSEC2, MPC83xx_IIC1,
  53. MPC83xx_IIC2, MPC83xx_DUART, MPC83xx_SEC2,
  54. MPC83xx_USB2_DR, MPC83xx_USB2_MPH
  55. },
  56. },
  57. {
  58. .ppc_sys_name = "8347",
  59. .mask = 0xFFFF0000,
  60. .value = 0x80530000,
  61. .num_devices = 7,
  62. .device_list = (enum ppc_sys_devices[])
  63. {
  64. MPC83xx_TSEC1, MPC83xx_TSEC2, MPC83xx_IIC1,
  65. MPC83xx_IIC2, MPC83xx_DUART,
  66. MPC83xx_USB2_DR, MPC83xx_USB2_MPH
  67. },
  68. },
  69. {
  70. .ppc_sys_name = "8343E",
  71. .mask = 0xFFFF0000,
  72. .value = 0x80540000,
  73. .num_devices = 7,
  74. .device_list = (enum ppc_sys_devices[])
  75. {
  76. MPC83xx_TSEC1, MPC83xx_TSEC2, MPC83xx_IIC1,
  77. MPC83xx_IIC2, MPC83xx_DUART, MPC83xx_SEC2,
  78. MPC83xx_USB2_DR,
  79. },
  80. },
  81. {
  82. .ppc_sys_name = "8343",
  83. .mask = 0xFFFF0000,
  84. .value = 0x80550000,
  85. .num_devices = 6,
  86. .device_list = (enum ppc_sys_devices[])
  87. {
  88. MPC83xx_TSEC1, MPC83xx_TSEC2, MPC83xx_IIC1,
  89. MPC83xx_IIC2, MPC83xx_DUART,
  90. MPC83xx_USB2_DR,
  91. },
  92. },
  93. { /* default match */
  94. .ppc_sys_name = "",
  95. .mask = 0x00000000,
  96. .value = 0x00000000,
  97. },
  98. };