opp_data.c 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. /*
  2. * linux/arch/arm/mach-omap1/opp_data.c
  3. *
  4. * Copyright (C) 2004 - 2005 Nokia corporation
  5. * Written by Tuukka Tikkanen <tuukka.tikkanen@elektrobit.com>
  6. * Based on clocks.h by Tony Lindgren, Gordon McNutt and RidgeRun, Inc
  7. *
  8. * This program is free software; you can redistribute it and/or modify
  9. * it under the terms of the GNU General Public License version 2 as
  10. * published by the Free Software Foundation.
  11. */
  12. #include "clock.h"
  13. #include "opp.h"
  14. /*-------------------------------------------------------------------------
  15. * Omap1 MPU rate table
  16. *-------------------------------------------------------------------------*/
  17. struct mpu_rate omap1_rate_table[] = {
  18. /* MPU MHz, xtal MHz, dpll1 MHz, CKCTL, DPLL_CTL
  19. * NOTE: Comment order here is different from bits in CKCTL value:
  20. * armdiv, dspdiv, dspmmu, tcdiv, perdiv, lcddiv
  21. */
  22. { 216000000, 12000000, 216000000, 0x050d, 0x2910, /* 1/1/2/2/2/8 */
  23. CK_1710 },
  24. { 195000000, 13000000, 195000000, 0x050e, 0x2790, /* 1/1/2/2/4/8 */
  25. CK_7XX },
  26. { 192000000, 19200000, 192000000, 0x050f, 0x2510, /* 1/1/2/2/8/8 */
  27. CK_16XX },
  28. { 192000000, 12000000, 192000000, 0x050f, 0x2810, /* 1/1/2/2/8/8 */
  29. CK_16XX },
  30. { 96000000, 12000000, 192000000, 0x055f, 0x2810, /* 2/2/2/2/8/8 */
  31. CK_16XX },
  32. { 48000000, 12000000, 192000000, 0x0baf, 0x2810, /* 4/4/4/8/8/8 */
  33. CK_16XX },
  34. { 24000000, 12000000, 192000000, 0x0fff, 0x2810, /* 8/8/8/8/8/8 */
  35. CK_16XX },
  36. { 182000000, 13000000, 182000000, 0x050e, 0x2710, /* 1/1/2/2/4/8 */
  37. CK_7XX },
  38. { 168000000, 12000000, 168000000, 0x010f, 0x2710, /* 1/1/1/2/8/8 */
  39. CK_16XX|CK_7XX },
  40. { 150000000, 12000000, 150000000, 0x010a, 0x2cb0, /* 1/1/1/2/4/4 */
  41. CK_1510 },
  42. { 120000000, 12000000, 120000000, 0x010a, 0x2510, /* 1/1/1/2/4/4 */
  43. CK_16XX|CK_1510|CK_310|CK_7XX },
  44. { 96000000, 12000000, 96000000, 0x0005, 0x2410, /* 1/1/1/1/2/2 */
  45. CK_16XX|CK_1510|CK_310|CK_7XX },
  46. { 60000000, 12000000, 60000000, 0x0005, 0x2290, /* 1/1/1/1/2/2 */
  47. CK_16XX|CK_1510|CK_310|CK_7XX },
  48. { 30000000, 12000000, 60000000, 0x0555, 0x2290, /* 2/2/2/2/2/2 */
  49. CK_16XX|CK_1510|CK_310|CK_7XX },
  50. { 0, 0, 0, 0, 0 },
  51. };