]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - arch/arm/include/asm/arch-u8500/clock.h
Add GPL-2.0+ SPDX-License-Identifier to source files
[karo-tx-uboot.git] / arch / arm / include / asm / arch-u8500 / clock.h
1 /*
2  * Copyright (C) ST-Ericsson SA 2009
3  *
4  * SPDX-License-Identifier:     GPL-2.0+
5  */
6
7 #ifndef __ASM_ARCH_CLOCK
8 #define __ASM_ARCH_CLOCK
9
10 struct 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
49 extern void u8500_clock_enable(int periph, int kern, int cluster);
50
51 void db8500_clocks_init(void);
52
53 #endif /* __ASM_ARCH_CLOCK */