blob: 7bf46238946eb2edb290a32c79ba02f09f62d1ed [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001/* SPDX-License-Identifier: GPL-2.0 */
Chao Xie2bc61da2014-10-31 10:13:50 +08002#ifndef __DTS_MARVELL_PXA910_CLOCK_H
3#define __DTS_MARVELL_PXA910_CLOCK_H
4
5/* fixed clocks and plls */
6#define PXA910_CLK_CLK32 1
7#define PXA910_CLK_VCTCXO 2
8#define PXA910_CLK_PLL1 3
9#define PXA910_CLK_PLL1_2 8
10#define PXA910_CLK_PLL1_4 9
11#define PXA910_CLK_PLL1_8 10
12#define PXA910_CLK_PLL1_16 11
13#define PXA910_CLK_PLL1_6 12
14#define PXA910_CLK_PLL1_12 13
15#define PXA910_CLK_PLL1_24 14
16#define PXA910_CLK_PLL1_48 15
17#define PXA910_CLK_PLL1_96 16
18#define PXA910_CLK_PLL1_13 17
19#define PXA910_CLK_PLL1_13_1_5 18
20#define PXA910_CLK_PLL1_2_1_5 19
21#define PXA910_CLK_PLL1_3_16 20
Chao Xie24c65a02015-04-30 09:53:42 +080022#define PXA910_CLK_PLL1_192 21
Chao Xie2bc61da2014-10-31 10:13:50 +080023#define PXA910_CLK_UART_PLL 27
Chao Xiea35247c2015-04-30 09:53:40 +080024#define PXA910_CLK_USB_PLL 28
Chao Xie2bc61da2014-10-31 10:13:50 +080025
26/* apb periphrals */
27#define PXA910_CLK_TWSI0 60
28#define PXA910_CLK_TWSI1 61
29#define PXA910_CLK_TWSI2 62
30#define PXA910_CLK_TWSI3 63
31#define PXA910_CLK_GPIO 64
32#define PXA910_CLK_KPC 65
33#define PXA910_CLK_RTC 66
34#define PXA910_CLK_PWM0 67
35#define PXA910_CLK_PWM1 68
36#define PXA910_CLK_PWM2 69
37#define PXA910_CLK_PWM3 70
38#define PXA910_CLK_UART0 71
39#define PXA910_CLK_UART1 72
40#define PXA910_CLK_UART2 73
41#define PXA910_CLK_SSP0 74
42#define PXA910_CLK_SSP1 75
Chao Xie24c65a02015-04-30 09:53:42 +080043#define PXA910_CLK_TIMER0 76
44#define PXA910_CLK_TIMER1 77
Chao Xie2bc61da2014-10-31 10:13:50 +080045
46/* axi periphrals */
47#define PXA910_CLK_DFC 100
48#define PXA910_CLK_SDH0 101
49#define PXA910_CLK_SDH1 102
50#define PXA910_CLK_SDH2 103
51#define PXA910_CLK_USB 104
52#define PXA910_CLK_SPH 105
53#define PXA910_CLK_DISP0 106
54#define PXA910_CLK_CCIC0 107
55#define PXA910_CLK_CCIC0_PHY 108
56#define PXA910_CLK_CCIC0_SPHY 109
57
58#define PXA910_NR_CLKS 200
59#endif