clock_common_data.c 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. /*
  2. * linux/arch/arm/mach-omap2/clock_common_data.c
  3. *
  4. * Copyright (C) 2005-2009 Texas Instruments, Inc.
  5. * Copyright (C) 2004-2009 Nokia Corporation
  6. *
  7. * Contacts:
  8. * Richard Woodruff <r-woodruff2@ti.com>
  9. * Paul Walmsley
  10. *
  11. * This program is free software; you can redistribute it and/or modify
  12. * it under the terms of the GNU General Public License version 2 as
  13. * published by the Free Software Foundation.
  14. *
  15. * This file contains clock data that is common to both the OMAP2xxx and
  16. * OMAP3xxx clock definition files.
  17. */
  18. #include "clock.h"
  19. /* clksel_rate data common to 24xx/343x */
  20. const struct clksel_rate gpt_32k_rates[] = {
  21. { .div = 1, .val = 0, .flags = RATE_IN_24XX | RATE_IN_3XXX },
  22. { .div = 0 }
  23. };
  24. const struct clksel_rate gpt_sys_rates[] = {
  25. { .div = 1, .val = 1, .flags = RATE_IN_24XX | RATE_IN_3XXX },
  26. { .div = 0 }
  27. };
  28. const struct clksel_rate gfx_l3_rates[] = {
  29. { .div = 1, .val = 1, .flags = RATE_IN_24XX | RATE_IN_3XXX },
  30. { .div = 2, .val = 2, .flags = RATE_IN_24XX | RATE_IN_3XXX },
  31. { .div = 3, .val = 3, .flags = RATE_IN_243X | RATE_IN_3XXX },
  32. { .div = 4, .val = 4, .flags = RATE_IN_243X | RATE_IN_3XXX },
  33. { .div = 0 }
  34. };