1*d2912cb1SThomas Gleixner // SPDX-License-Identifier: GPL-2.0-only 252650505SPaul Walmsley /* 352650505SPaul Walmsley * linux/arch/arm/mach-omap1/opp_data.c 452650505SPaul Walmsley * 552650505SPaul Walmsley * Copyright (C) 2004 - 2005 Nokia corporation 652650505SPaul Walmsley * Written by Tuukka Tikkanen <tuukka.tikkanen@elektrobit.com> 752650505SPaul Walmsley * Based on clocks.h by Tony Lindgren, Gordon McNutt and RidgeRun, Inc 852650505SPaul Walmsley */ 952650505SPaul Walmsley 10e10dd62fSPaul Walmsley #include "clock.h" 1152650505SPaul Walmsley #include "opp.h" 1252650505SPaul Walmsley 1352650505SPaul Walmsley /*------------------------------------------------------------------------- 1452650505SPaul Walmsley * Omap1 MPU rate table 1552650505SPaul Walmsley *-------------------------------------------------------------------------*/ 1652650505SPaul Walmsley struct mpu_rate omap1_rate_table[] = { 1752650505SPaul Walmsley /* MPU MHz, xtal MHz, dpll1 MHz, CKCTL, DPLL_CTL 1852650505SPaul Walmsley * NOTE: Comment order here is different from bits in CKCTL value: 1952650505SPaul Walmsley * armdiv, dspdiv, dspmmu, tcdiv, perdiv, lcddiv 2052650505SPaul Walmsley */ 2124ce2705SJanusz Krzysztofik { 216000000, 12000000, 216000000, 0x050d, 0x2910, /* 1/1/2/2/2/8 */ 2224ce2705SJanusz Krzysztofik CK_1710 }, 2324ce2705SJanusz Krzysztofik { 195000000, 13000000, 195000000, 0x050e, 0x2790, /* 1/1/2/2/4/8 */ 2424ce2705SJanusz Krzysztofik CK_7XX }, 2524ce2705SJanusz Krzysztofik { 192000000, 19200000, 192000000, 0x050f, 0x2510, /* 1/1/2/2/8/8 */ 2624ce2705SJanusz Krzysztofik CK_16XX }, 2724ce2705SJanusz Krzysztofik { 192000000, 12000000, 192000000, 0x050f, 0x2810, /* 1/1/2/2/8/8 */ 2824ce2705SJanusz Krzysztofik CK_16XX }, 2924ce2705SJanusz Krzysztofik { 96000000, 12000000, 192000000, 0x055f, 0x2810, /* 2/2/2/2/8/8 */ 3024ce2705SJanusz Krzysztofik CK_16XX }, 3124ce2705SJanusz Krzysztofik { 48000000, 12000000, 192000000, 0x0baf, 0x2810, /* 4/4/4/8/8/8 */ 3224ce2705SJanusz Krzysztofik CK_16XX }, 3324ce2705SJanusz Krzysztofik { 24000000, 12000000, 192000000, 0x0fff, 0x2810, /* 8/8/8/8/8/8 */ 3424ce2705SJanusz Krzysztofik CK_16XX }, 3524ce2705SJanusz Krzysztofik { 182000000, 13000000, 182000000, 0x050e, 0x2710, /* 1/1/2/2/4/8 */ 3624ce2705SJanusz Krzysztofik CK_7XX }, 3724ce2705SJanusz Krzysztofik { 168000000, 12000000, 168000000, 0x010f, 0x2710, /* 1/1/1/2/8/8 */ 3824ce2705SJanusz Krzysztofik CK_16XX|CK_7XX }, 3924ce2705SJanusz Krzysztofik { 150000000, 12000000, 150000000, 0x010a, 0x2cb0, /* 1/1/1/2/4/4 */ 4024ce2705SJanusz Krzysztofik CK_1510 }, 4124ce2705SJanusz Krzysztofik { 120000000, 12000000, 120000000, 0x010a, 0x2510, /* 1/1/1/2/4/4 */ 4224ce2705SJanusz Krzysztofik CK_16XX|CK_1510|CK_310|CK_7XX }, 4324ce2705SJanusz Krzysztofik { 96000000, 12000000, 96000000, 0x0005, 0x2410, /* 1/1/1/1/2/2 */ 4424ce2705SJanusz Krzysztofik CK_16XX|CK_1510|CK_310|CK_7XX }, 4524ce2705SJanusz Krzysztofik { 60000000, 12000000, 60000000, 0x0005, 0x2290, /* 1/1/1/1/2/2 */ 4624ce2705SJanusz Krzysztofik CK_16XX|CK_1510|CK_310|CK_7XX }, 4724ce2705SJanusz Krzysztofik { 30000000, 12000000, 60000000, 0x0555, 0x2290, /* 2/2/2/2/2/2 */ 4824ce2705SJanusz Krzysztofik CK_16XX|CK_1510|CK_310|CK_7XX }, 4952650505SPaul Walmsley { 0, 0, 0, 0, 0 }, 5052650505SPaul Walmsley }; 5152650505SPaul Walmsley 52