opp_data.c 1.9 KB

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