blob: 1b2fdb792359d8aff9019d5dc0c1487edeae88e9 [file] [log] [blame]
John Rigbybe72e0c2011-04-19 10:42:40 +00001/*
2 * Copyright (C) ST-Ericsson SA 2009
3 *
Wolfgang Denk1a459662013-07-08 09:37:19 +02004 * SPDX-License-Identifier: GPL-2.0+
John Rigbybe72e0c2011-04-19 10:42:40 +00005 */
6
7#ifndef __ASM_ARCH_CLOCK
8#define __ASM_ARCH_CLOCK
9
10struct prcmu {
11 unsigned int armclkfix_mgt;
12 unsigned int armclk_mgt;
13 unsigned int svammdspclk_mgt;
14 unsigned int siammdspclk_mgt;
15 unsigned int reserved;
16 unsigned int sgaclk_mgt;
17 unsigned int uartclk_mgt;
18 unsigned int msp02clk_mgt;
19 unsigned int i2cclk_mgt;
20 unsigned int sdmmcclk_mgt;
21 unsigned int slimclk_mgt;
22 unsigned int per1clk_mgt;
23 unsigned int per2clk_mgt;
24 unsigned int per3clk_mgt;
25 unsigned int per5clk_mgt;
26 unsigned int per6clk_mgt;
27 unsigned int per7clk_mgt;
28 unsigned int lcdclk_mgt;
29 unsigned int reserved1;
30 unsigned int bmlclk_mgt;
31 unsigned int hsitxclk_mgt;
32 unsigned int hsirxclk_mgt;
33 unsigned int hdmiclk_mgt;
34 unsigned int apeatclk_mgt;
35 unsigned int apetraceclk_mgt;
36 unsigned int mcdeclk_mgt;
37 unsigned int ipi2cclk_mgt;
38 unsigned int dsialtclk_mgt;
39 unsigned int spare2clk_mgt;
40 unsigned int dmaclk_mgt;
41 unsigned int b2r2clk_mgt;
42 unsigned int tvclk_mgt;
43 unsigned int unused[82];
44 unsigned int tcr;
45 unsigned int unused1[23];
46 unsigned int ape_softrst;
47};
48
49extern void u8500_clock_enable(int periph, int kern, int cluster);
50
Mathieu J. Poirier81637e22012-07-31 08:59:26 +000051void db8500_clocks_init(void);
John Rigbybe72e0c2011-04-19 10:42:40 +000052
53#endif /* __ASM_ARCH_CLOCK */