summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/arch-u8500/clock.h
blob: 1b2fdb792359d8aff9019d5dc0c1487edeae88e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
/*
 * Copyright (C) ST-Ericsson SA 2009
 *
 * SPDX-License-Identifier:	GPL-2.0+
 */

#ifndef __ASM_ARCH_CLOCK
#define __ASM_ARCH_CLOCK

struct prcmu {
	unsigned int armclkfix_mgt;
	unsigned int armclk_mgt;
	unsigned int svammdspclk_mgt;
	unsigned int siammdspclk_mgt;
	unsigned int reserved;
	unsigned int sgaclk_mgt;
	unsigned int uartclk_mgt;
	unsigned int msp02clk_mgt;
	unsigned int i2cclk_mgt;
	unsigned int sdmmcclk_mgt;
	unsigned int slimclk_mgt;
	unsigned int per1clk_mgt;
	unsigned int per2clk_mgt;
	unsigned int per3clk_mgt;
	unsigned int per5clk_mgt;
	unsigned int per6clk_mgt;
	unsigned int per7clk_mgt;
	unsigned int lcdclk_mgt;
	unsigned int reserved1;
	unsigned int bmlclk_mgt;
	unsigned int hsitxclk_mgt;
	unsigned int hsirxclk_mgt;
	unsigned int hdmiclk_mgt;
	unsigned int apeatclk_mgt;
	unsigned int apetraceclk_mgt;
	unsigned int mcdeclk_mgt;
	unsigned int ipi2cclk_mgt;
	unsigned int dsialtclk_mgt;
	unsigned int spare2clk_mgt;
	unsigned int dmaclk_mgt;
	unsigned int b2r2clk_mgt;
	unsigned int tvclk_mgt;
	unsigned int unused[82];
	unsigned int tcr;
	unsigned int unused1[23];
	unsigned int ape_softrst;
};

extern void u8500_clock_enable(int periph, int kern, int cluster);

void db8500_clocks_init(void);

#endif /* __ASM_ARCH_CLOCK */