18c2ecf20Sopenharmony_ci// SPDX-License-Identifier: GPL-2.0-only 28c2ecf20Sopenharmony_ci/* 38c2ecf20Sopenharmony_ci * linux/arch/arm/mach-omap1/opp_data.c 48c2ecf20Sopenharmony_ci * 58c2ecf20Sopenharmony_ci * Copyright (C) 2004 - 2005 Nokia corporation 68c2ecf20Sopenharmony_ci * Written by Tuukka Tikkanen <tuukka.tikkanen@elektrobit.com> 78c2ecf20Sopenharmony_ci * Based on clocks.h by Tony Lindgren, Gordon McNutt and RidgeRun, Inc 88c2ecf20Sopenharmony_ci */ 98c2ecf20Sopenharmony_ci 108c2ecf20Sopenharmony_ci#include "clock.h" 118c2ecf20Sopenharmony_ci#include "opp.h" 128c2ecf20Sopenharmony_ci 138c2ecf20Sopenharmony_ci/*------------------------------------------------------------------------- 148c2ecf20Sopenharmony_ci * Omap1 MPU rate table 158c2ecf20Sopenharmony_ci *-------------------------------------------------------------------------*/ 168c2ecf20Sopenharmony_cistruct mpu_rate omap1_rate_table[] = { 178c2ecf20Sopenharmony_ci /* MPU MHz, xtal MHz, dpll1 MHz, CKCTL, DPLL_CTL 188c2ecf20Sopenharmony_ci * NOTE: Comment order here is different from bits in CKCTL value: 198c2ecf20Sopenharmony_ci * armdiv, dspdiv, dspmmu, tcdiv, perdiv, lcddiv 208c2ecf20Sopenharmony_ci */ 218c2ecf20Sopenharmony_ci { 216000000, 12000000, 216000000, 0x050d, 0x2910, /* 1/1/2/2/2/8 */ 228c2ecf20Sopenharmony_ci CK_1710 }, 238c2ecf20Sopenharmony_ci { 195000000, 13000000, 195000000, 0x050e, 0x2790, /* 1/1/2/2/4/8 */ 248c2ecf20Sopenharmony_ci CK_7XX }, 258c2ecf20Sopenharmony_ci { 192000000, 19200000, 192000000, 0x050f, 0x2510, /* 1/1/2/2/8/8 */ 268c2ecf20Sopenharmony_ci CK_16XX }, 278c2ecf20Sopenharmony_ci { 192000000, 12000000, 192000000, 0x050f, 0x2810, /* 1/1/2/2/8/8 */ 288c2ecf20Sopenharmony_ci CK_16XX }, 298c2ecf20Sopenharmony_ci { 96000000, 12000000, 192000000, 0x055f, 0x2810, /* 2/2/2/2/8/8 */ 308c2ecf20Sopenharmony_ci CK_16XX }, 318c2ecf20Sopenharmony_ci { 48000000, 12000000, 192000000, 0x0baf, 0x2810, /* 4/4/4/8/8/8 */ 328c2ecf20Sopenharmony_ci CK_16XX }, 338c2ecf20Sopenharmony_ci { 24000000, 12000000, 192000000, 0x0fff, 0x2810, /* 8/8/8/8/8/8 */ 348c2ecf20Sopenharmony_ci CK_16XX }, 358c2ecf20Sopenharmony_ci { 182000000, 13000000, 182000000, 0x050e, 0x2710, /* 1/1/2/2/4/8 */ 368c2ecf20Sopenharmony_ci CK_7XX }, 378c2ecf20Sopenharmony_ci { 168000000, 12000000, 168000000, 0x010f, 0x2710, /* 1/1/1/2/8/8 */ 388c2ecf20Sopenharmony_ci CK_16XX|CK_7XX }, 398c2ecf20Sopenharmony_ci { 150000000, 12000000, 150000000, 0x010a, 0x2cb0, /* 1/1/1/2/4/4 */ 408c2ecf20Sopenharmony_ci CK_1510 }, 418c2ecf20Sopenharmony_ci { 120000000, 12000000, 120000000, 0x010a, 0x2510, /* 1/1/1/2/4/4 */ 428c2ecf20Sopenharmony_ci CK_16XX|CK_1510|CK_310|CK_7XX }, 438c2ecf20Sopenharmony_ci { 96000000, 12000000, 96000000, 0x0005, 0x2410, /* 1/1/1/1/2/2 */ 448c2ecf20Sopenharmony_ci CK_16XX|CK_1510|CK_310|CK_7XX }, 458c2ecf20Sopenharmony_ci { 60000000, 12000000, 60000000, 0x0005, 0x2290, /* 1/1/1/1/2/2 */ 468c2ecf20Sopenharmony_ci CK_16XX|CK_1510|CK_310|CK_7XX }, 478c2ecf20Sopenharmony_ci { 30000000, 12000000, 60000000, 0x0555, 0x2290, /* 2/2/2/2/2/2 */ 488c2ecf20Sopenharmony_ci CK_16XX|CK_1510|CK_310|CK_7XX }, 498c2ecf20Sopenharmony_ci { 0, 0, 0, 0, 0 }, 508c2ecf20Sopenharmony_ci}; 518c2ecf20Sopenharmony_ci 52