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 #include <linux/kernel.h>
31
32 #include "opp2xxx.h"
33 #include "sdrc.h"
34 #include "clock.h"
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54 const struct prcm_config omap2430_rate_table[] = {
55
56 {S13M, S798M, S399M, R2_CM_CLKSEL_MPU_VAL,
57 R2_CM_CLKSEL_DSP_VAL, R2_CM_CLKSEL_GFX_VAL,
58 R2_CM_CLKSEL1_CORE_VAL, M4_CM_CLKSEL1_PLL_13_VAL,
59 MX_CLKSEL2_PLL_2x_VAL, R2_CM_CLKSEL_MDM_VAL,
60 SDRC_RFR_CTRL_133MHz,
61 RATE_IN_243X},
62
63
64 {S13M, S658M, S329M, R1_CM_CLKSEL_MPU_VAL,
65 R1_CM_CLKSEL_DSP_VAL, R1_CM_CLKSEL_GFX_VAL,
66 R1_CM_CLKSEL1_CORE_VAL, M2_CM_CLKSEL1_PLL_13_VAL,
67 MX_CLKSEL2_PLL_2x_VAL, R1_CM_CLKSEL_MDM_VAL,
68 SDRC_RFR_CTRL_165MHz,
69 RATE_IN_243X},
70
71
72 {S13M, S532M, S266M, R1_CM_CLKSEL_MPU_VAL,
73 R1_CM_CLKSEL_DSP_VAL, R1_CM_CLKSEL_GFX_VAL,
74 R1_CM_CLKSEL1_CORE_VAL, M5A_CM_CLKSEL1_PLL_13_VAL,
75 MX_CLKSEL2_PLL_2x_VAL, R1_CM_CLKSEL_MDM_VAL,
76 SDRC_RFR_CTRL_133MHz,
77 RATE_IN_243X},
78
79
80 {S13M, S400M, S200M, R1_CM_CLKSEL_MPU_VAL,
81 R1_CM_CLKSEL_DSP_VAL, R1_CM_CLKSEL_GFX_VAL,
82 R1_CM_CLKSEL1_CORE_VAL, M5B_CM_CLKSEL1_PLL_13_VAL,
83 MX_CLKSEL2_PLL_2x_VAL, R1_CM_CLKSEL_MDM_VAL,
84 SDRC_RFR_CTRL_100MHz,
85 RATE_IN_243X},
86
87
88 {S13M, S399M, S199M, R2_CM_CLKSEL_MPU_VAL,
89 R2_CM_CLKSEL_DSP_VAL, R2_CM_CLKSEL_GFX_VAL,
90 R2_CM_CLKSEL1_CORE_VAL, M4_CM_CLKSEL1_PLL_13_VAL,
91 MX_CLKSEL2_PLL_1x_VAL, R2_CM_CLKSEL_MDM_VAL,
92 SDRC_RFR_CTRL_133MHz,
93 RATE_IN_243X},
94
95
96 {S13M, S329M, S164M, R1_CM_CLKSEL_MPU_VAL,
97 R1_CM_CLKSEL_DSP_VAL, R1_CM_CLKSEL_GFX_VAL,
98 R1_CM_CLKSEL1_CORE_VAL, M2_CM_CLKSEL1_PLL_13_VAL,
99 MX_CLKSEL2_PLL_1x_VAL, R1_CM_CLKSEL_MDM_VAL,
100 SDRC_RFR_CTRL_165MHz,
101 RATE_IN_243X},
102
103
104 {S13M, S266M, S133M, R1_CM_CLKSEL_MPU_VAL,
105 R1_CM_CLKSEL_DSP_VAL, R1_CM_CLKSEL_GFX_VAL,
106 R1_CM_CLKSEL1_CORE_VAL, M5A_CM_CLKSEL1_PLL_13_VAL,
107 MX_CLKSEL2_PLL_1x_VAL, R1_CM_CLKSEL_MDM_VAL,
108 SDRC_RFR_CTRL_133MHz,
109 RATE_IN_243X},
110
111
112 {S13M, S200M, S100M, R1_CM_CLKSEL_MPU_VAL,
113 R1_CM_CLKSEL_DSP_VAL, R1_CM_CLKSEL_GFX_VAL,
114 R1_CM_CLKSEL1_CORE_VAL, M5B_CM_CLKSEL1_PLL_13_VAL,
115 MX_CLKSEL2_PLL_1x_VAL, R1_CM_CLKSEL_MDM_VAL,
116 SDRC_RFR_CTRL_100MHz,
117 RATE_IN_243X},
118
119
120 {S13M, S13M, S13M, RB_CM_CLKSEL_MPU_VAL,
121 RB_CM_CLKSEL_DSP_VAL, RB_CM_CLKSEL_GFX_VAL,
122 RB_CM_CLKSEL1_CORE_VAL, MB_CM_CLKSEL1_PLL_13_VAL,
123 MX_CLKSEL2_PLL_2x_VAL, RB_CM_CLKSEL_MDM_VAL,
124 SDRC_RFR_CTRL_BYPASS,
125 RATE_IN_243X},
126
127
128 {S12M, S12M, S12M, RB_CM_CLKSEL_MPU_VAL,
129 RB_CM_CLKSEL_DSP_VAL, RB_CM_CLKSEL_GFX_VAL,
130 RB_CM_CLKSEL1_CORE_VAL, MB_CM_CLKSEL1_PLL_12_VAL,
131 MX_CLKSEL2_PLL_2x_VAL, RB_CM_CLKSEL_MDM_VAL,
132 SDRC_RFR_CTRL_BYPASS,
133 RATE_IN_243X},
134
135 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
136 };