John Rigby | a3f9d65 | 2011-04-19 10:42:40 +0000 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) ST-Ericsson SA 2009 |
| 3 | * |
Wolfgang Denk | d79de1d | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 4 | * SPDX-License-Identifier: GPL-2.0+ |
John Rigby | a3f9d65 | 2011-04-19 10:42:40 +0000 | [diff] [blame] | 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 | |
Mathieu J. Poirier | 2d8516bb | 2012-07-31 08:59:26 +0000 | [diff] [blame] | 51 | void db8500_clocks_init(void); |
John Rigby | a3f9d65 | 2011-04-19 10:42:40 +0000 | [diff] [blame] | 52 | |
| 53 | #endif /* __ASM_ARCH_CLOCK */ |