Chao Xie | ab08aef | 2014-10-31 10:13:49 +0800 | [diff] [blame] | 1 | #ifndef __DTS_MARVELL_PXA168_CLOCK_H |
| 2 | #define __DTS_MARVELL_PXA168_CLOCK_H |
| 3 | |
| 4 | /* fixed clocks and plls */ |
| 5 | #define PXA168_CLK_CLK32 1 |
| 6 | #define PXA168_CLK_VCTCXO 2 |
| 7 | #define PXA168_CLK_PLL1 3 |
| 8 | #define PXA168_CLK_PLL1_2 8 |
| 9 | #define PXA168_CLK_PLL1_4 9 |
| 10 | #define PXA168_CLK_PLL1_8 10 |
| 11 | #define PXA168_CLK_PLL1_16 11 |
| 12 | #define PXA168_CLK_PLL1_6 12 |
| 13 | #define PXA168_CLK_PLL1_12 13 |
| 14 | #define PXA168_CLK_PLL1_24 14 |
| 15 | #define PXA168_CLK_PLL1_48 15 |
| 16 | #define PXA168_CLK_PLL1_96 16 |
| 17 | #define PXA168_CLK_PLL1_13 17 |
| 18 | #define PXA168_CLK_PLL1_13_1_5 18 |
| 19 | #define PXA168_CLK_PLL1_2_1_5 19 |
| 20 | #define PXA168_CLK_PLL1_3_16 20 |
Chao Xie | 24c65a0 | 2015-04-30 09:53:42 +0800 | [diff] [blame] | 21 | #define PXA168_CLK_PLL1_192 21 |
Chao Xie | ab08aef | 2014-10-31 10:13:49 +0800 | [diff] [blame] | 22 | #define PXA168_CLK_UART_PLL 27 |
Chao Xie | a35247c | 2015-04-30 09:53:40 +0800 | [diff] [blame] | 23 | #define PXA168_CLK_USB_PLL 28 |
Chao Xie | ab08aef | 2014-10-31 10:13:49 +0800 | [diff] [blame] | 24 | |
| 25 | /* apb periphrals */ |
| 26 | #define PXA168_CLK_TWSI0 60 |
| 27 | #define PXA168_CLK_TWSI1 61 |
| 28 | #define PXA168_CLK_TWSI2 62 |
| 29 | #define PXA168_CLK_TWSI3 63 |
| 30 | #define PXA168_CLK_GPIO 64 |
| 31 | #define PXA168_CLK_KPC 65 |
| 32 | #define PXA168_CLK_RTC 66 |
| 33 | #define PXA168_CLK_PWM0 67 |
| 34 | #define PXA168_CLK_PWM1 68 |
| 35 | #define PXA168_CLK_PWM2 69 |
| 36 | #define PXA168_CLK_PWM3 70 |
| 37 | #define PXA168_CLK_UART0 71 |
| 38 | #define PXA168_CLK_UART1 72 |
| 39 | #define PXA168_CLK_UART2 73 |
| 40 | #define PXA168_CLK_SSP0 74 |
| 41 | #define PXA168_CLK_SSP1 75 |
| 42 | #define PXA168_CLK_SSP2 76 |
| 43 | #define PXA168_CLK_SSP3 77 |
| 44 | #define PXA168_CLK_SSP4 78 |
Chao Xie | 24c65a0 | 2015-04-30 09:53:42 +0800 | [diff] [blame] | 45 | #define PXA168_CLK_TIMER 79 |
Chao Xie | ab08aef | 2014-10-31 10:13:49 +0800 | [diff] [blame] | 46 | |
| 47 | /* axi periphrals */ |
| 48 | #define PXA168_CLK_DFC 100 |
| 49 | #define PXA168_CLK_SDH0 101 |
| 50 | #define PXA168_CLK_SDH1 102 |
| 51 | #define PXA168_CLK_SDH2 103 |
| 52 | #define PXA168_CLK_USB 104 |
| 53 | #define PXA168_CLK_SPH 105 |
| 54 | #define PXA168_CLK_DISP0 106 |
| 55 | #define PXA168_CLK_CCIC0 107 |
| 56 | #define PXA168_CLK_CCIC0_PHY 108 |
| 57 | #define PXA168_CLK_CCIC0_SPHY 109 |
| 58 | |
| 59 | #define PXA168_NR_CLKS 200 |
| 60 | #endif |