cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

opp_data.c (1983B)


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