Paul Walmsley | 82e9bd5 | 2009-12-08 16:18:47 -0700 | [diff] [blame] | 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 | |
| 19 | #include "clock.h" |
| 20 | |
| 21 | /* clksel_rate data common to 24xx/343x */ |
| 22 | const struct clksel_rate gpt_32k_rates[] = { |
Paul Walmsley | 6340536 | 2010-05-18 18:40:25 -0600 | [diff] [blame] | 23 | { .div = 1, .val = 0, .flags = RATE_IN_24XX | RATE_IN_3XXX }, |
Paul Walmsley | 82e9bd5 | 2009-12-08 16:18:47 -0700 | [diff] [blame] | 24 | { .div = 0 } |
| 25 | }; |
| 26 | |
| 27 | const struct clksel_rate gpt_sys_rates[] = { |
Paul Walmsley | 6340536 | 2010-05-18 18:40:25 -0600 | [diff] [blame] | 28 | { .div = 1, .val = 1, .flags = RATE_IN_24XX | RATE_IN_3XXX }, |
Paul Walmsley | 82e9bd5 | 2009-12-08 16:18:47 -0700 | [diff] [blame] | 29 | { .div = 0 } |
| 30 | }; |
| 31 | |
| 32 | const struct clksel_rate gfx_l3_rates[] = { |
Paul Walmsley | 6340536 | 2010-05-18 18:40:25 -0600 | [diff] [blame] | 33 | { .div = 1, .val = 1, .flags = RATE_IN_24XX | RATE_IN_3XXX }, |
| 34 | { .div = 2, .val = 2, .flags = RATE_IN_24XX | RATE_IN_3XXX }, |
| 35 | { .div = 3, .val = 3, .flags = RATE_IN_243X | RATE_IN_3XXX }, |
| 36 | { .div = 4, .val = 4, .flags = RATE_IN_243X | RATE_IN_3XXX }, |
Paul Walmsley | 82e9bd5 | 2009-12-08 16:18:47 -0700 | [diff] [blame] | 37 | { .div = 0 } |
| 38 | }; |
| 39 | |
Paul Walmsley | 2241139 | 2011-02-25 15:52:04 -0700 | [diff] [blame] | 40 | const struct clksel_rate dsp_ick_rates[] = { |
| 41 | { .div = 1, .val = 1, .flags = RATE_IN_24XX }, |
| 42 | { .div = 2, .val = 2, .flags = RATE_IN_24XX }, |
| 43 | { .div = 3, .val = 3, .flags = RATE_IN_243X }, |
| 44 | { .div = 0 }, |
| 45 | }; |