blob: 6424d46be14a69b7fa255df9ec3e1b5c410c6a71 [file] [log] [blame]
Paul Walmsley82e9bd52009-12-08 16:18:47 -07001/*
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 */
22const struct clksel_rate gpt_32k_rates[] = {
Paul Walmsley63405362010-05-18 18:40:25 -060023 { .div = 1, .val = 0, .flags = RATE_IN_24XX | RATE_IN_3XXX },
Paul Walmsley82e9bd52009-12-08 16:18:47 -070024 { .div = 0 }
25};
26
27const struct clksel_rate gpt_sys_rates[] = {
Paul Walmsley63405362010-05-18 18:40:25 -060028 { .div = 1, .val = 1, .flags = RATE_IN_24XX | RATE_IN_3XXX },
Paul Walmsley82e9bd52009-12-08 16:18:47 -070029 { .div = 0 }
30};
31
32const struct clksel_rate gfx_l3_rates[] = {
Paul Walmsley63405362010-05-18 18:40:25 -060033 { .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 Walmsley82e9bd52009-12-08 16:18:47 -070037 { .div = 0 }
38};
39
Paul Walmsley22411392011-02-25 15:52:04 -070040const 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};