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