diff options
Diffstat (limited to 'arch/arm/mach-mxs/regs-clkctrl-mx28.h')
-rw-r--r-- | arch/arm/mach-mxs/regs-clkctrl-mx28.h | 177 |
1 files changed, 0 insertions, 177 deletions
diff --git a/arch/arm/mach-mxs/regs-clkctrl-mx28.h b/arch/arm/mach-mxs/regs-clkctrl-mx28.h index 661df18755f7..7d1b061d7943 100644 --- a/arch/arm/mach-mxs/regs-clkctrl-mx28.h +++ b/arch/arm/mach-mxs/regs-clkctrl-mx28.h | |||
@@ -31,10 +31,6 @@ | |||
31 | #define HW_CLKCTRL_PLL0CTRL0_CLR (0x00000008) | 31 | #define HW_CLKCTRL_PLL0CTRL0_CLR (0x00000008) |
32 | #define HW_CLKCTRL_PLL0CTRL0_TOG (0x0000000c) | 32 | #define HW_CLKCTRL_PLL0CTRL0_TOG (0x0000000c) |
33 | 33 | ||
34 | #define BP_CLKCTRL_PLL0CTRL0_RSRVD6 30 | ||
35 | #define BM_CLKCTRL_PLL0CTRL0_RSRVD6 0xC0000000 | ||
36 | #define BF_CLKCTRL_PLL0CTRL0_RSRVD6(v) \ | ||
37 | (((v) << 30) & BM_CLKCTRL_PLL0CTRL0_RSRVD6) | ||
38 | #define BP_CLKCTRL_PLL0CTRL0_LFR_SEL 28 | 34 | #define BP_CLKCTRL_PLL0CTRL0_LFR_SEL 28 |
39 | #define BM_CLKCTRL_PLL0CTRL0_LFR_SEL 0x30000000 | 35 | #define BM_CLKCTRL_PLL0CTRL0_LFR_SEL 0x30000000 |
40 | #define BF_CLKCTRL_PLL0CTRL0_LFR_SEL(v) \ | 36 | #define BF_CLKCTRL_PLL0CTRL0_LFR_SEL(v) \ |
@@ -43,10 +39,6 @@ | |||
43 | #define BV_CLKCTRL_PLL0CTRL0_LFR_SEL__TIMES_2 0x1 | 39 | #define BV_CLKCTRL_PLL0CTRL0_LFR_SEL__TIMES_2 0x1 |
44 | #define BV_CLKCTRL_PLL0CTRL0_LFR_SEL__TIMES_05 0x2 | 40 | #define BV_CLKCTRL_PLL0CTRL0_LFR_SEL__TIMES_05 0x2 |
45 | #define BV_CLKCTRL_PLL0CTRL0_LFR_SEL__UNDEFINED 0x3 | 41 | #define BV_CLKCTRL_PLL0CTRL0_LFR_SEL__UNDEFINED 0x3 |
46 | #define BP_CLKCTRL_PLL0CTRL0_RSRVD5 26 | ||
47 | #define BM_CLKCTRL_PLL0CTRL0_RSRVD5 0x0C000000 | ||
48 | #define BF_CLKCTRL_PLL0CTRL0_RSRVD5(v) \ | ||
49 | (((v) << 26) & BM_CLKCTRL_PLL0CTRL0_RSRVD5) | ||
50 | #define BP_CLKCTRL_PLL0CTRL0_CP_SEL 24 | 42 | #define BP_CLKCTRL_PLL0CTRL0_CP_SEL 24 |
51 | #define BM_CLKCTRL_PLL0CTRL0_CP_SEL 0x03000000 | 43 | #define BM_CLKCTRL_PLL0CTRL0_CP_SEL 0x03000000 |
52 | #define BF_CLKCTRL_PLL0CTRL0_CP_SEL(v) \ | 44 | #define BF_CLKCTRL_PLL0CTRL0_CP_SEL(v) \ |
@@ -55,10 +47,6 @@ | |||
55 | #define BV_CLKCTRL_PLL0CTRL0_CP_SEL__TIMES_2 0x1 | 47 | #define BV_CLKCTRL_PLL0CTRL0_CP_SEL__TIMES_2 0x1 |
56 | #define BV_CLKCTRL_PLL0CTRL0_CP_SEL__TIMES_05 0x2 | 48 | #define BV_CLKCTRL_PLL0CTRL0_CP_SEL__TIMES_05 0x2 |
57 | #define BV_CLKCTRL_PLL0CTRL0_CP_SEL__UNDEFINED 0x3 | 49 | #define BV_CLKCTRL_PLL0CTRL0_CP_SEL__UNDEFINED 0x3 |
58 | #define BP_CLKCTRL_PLL0CTRL0_RSRVD4 22 | ||
59 | #define BM_CLKCTRL_PLL0CTRL0_RSRVD4 0x00C00000 | ||
60 | #define BF_CLKCTRL_PLL0CTRL0_RSRVD4(v) \ | ||
61 | (((v) << 22) & BM_CLKCTRL_PLL0CTRL0_RSRVD4) | ||
62 | #define BP_CLKCTRL_PLL0CTRL0_DIV_SEL 20 | 50 | #define BP_CLKCTRL_PLL0CTRL0_DIV_SEL 20 |
63 | #define BM_CLKCTRL_PLL0CTRL0_DIV_SEL 0x00300000 | 51 | #define BM_CLKCTRL_PLL0CTRL0_DIV_SEL 0x00300000 |
64 | #define BF_CLKCTRL_PLL0CTRL0_DIV_SEL(v) \ | 52 | #define BF_CLKCTRL_PLL0CTRL0_DIV_SEL(v) \ |
@@ -67,22 +55,13 @@ | |||
67 | #define BV_CLKCTRL_PLL0CTRL0_DIV_SEL__LOWER 0x1 | 55 | #define BV_CLKCTRL_PLL0CTRL0_DIV_SEL__LOWER 0x1 |
68 | #define BV_CLKCTRL_PLL0CTRL0_DIV_SEL__LOWEST 0x2 | 56 | #define BV_CLKCTRL_PLL0CTRL0_DIV_SEL__LOWEST 0x2 |
69 | #define BV_CLKCTRL_PLL0CTRL0_DIV_SEL__UNDEFINED 0x3 | 57 | #define BV_CLKCTRL_PLL0CTRL0_DIV_SEL__UNDEFINED 0x3 |
70 | #define BM_CLKCTRL_PLL0CTRL0_RSRVD3 0x00080000 | ||
71 | #define BM_CLKCTRL_PLL0CTRL0_EN_USB_CLKS 0x00040000 | 58 | #define BM_CLKCTRL_PLL0CTRL0_EN_USB_CLKS 0x00040000 |
72 | #define BM_CLKCTRL_PLL0CTRL0_POWER 0x00020000 | 59 | #define BM_CLKCTRL_PLL0CTRL0_POWER 0x00020000 |
73 | #define BP_CLKCTRL_PLL0CTRL0_RSRVD1 0 | ||
74 | #define BM_CLKCTRL_PLL0CTRL0_RSRVD1 0x0001FFFF | ||
75 | #define BF_CLKCTRL_PLL0CTRL0_RSRVD1(v) \ | ||
76 | (((v) << 0) & BM_CLKCTRL_PLL0CTRL0_RSRVD1) | ||
77 | 60 | ||
78 | #define HW_CLKCTRL_PLL0CTRL1 (0x00000010) | 61 | #define HW_CLKCTRL_PLL0CTRL1 (0x00000010) |
79 | 62 | ||
80 | #define BM_CLKCTRL_PLL0CTRL1_LOCK 0x80000000 | 63 | #define BM_CLKCTRL_PLL0CTRL1_LOCK 0x80000000 |
81 | #define BM_CLKCTRL_PLL0CTRL1_FORCE_LOCK 0x40000000 | 64 | #define BM_CLKCTRL_PLL0CTRL1_FORCE_LOCK 0x40000000 |
82 | #define BP_CLKCTRL_PLL0CTRL1_RSRVD1 16 | ||
83 | #define BM_CLKCTRL_PLL0CTRL1_RSRVD1 0x3FFF0000 | ||
84 | #define BF_CLKCTRL_PLL0CTRL1_RSRVD1(v) \ | ||
85 | (((v) << 16) & BM_CLKCTRL_PLL0CTRL1_RSRVD1) | ||
86 | #define BP_CLKCTRL_PLL0CTRL1_LOCK_COUNT 0 | 65 | #define BP_CLKCTRL_PLL0CTRL1_LOCK_COUNT 0 |
87 | #define BM_CLKCTRL_PLL0CTRL1_LOCK_COUNT 0x0000FFFF | 66 | #define BM_CLKCTRL_PLL0CTRL1_LOCK_COUNT 0x0000FFFF |
88 | #define BF_CLKCTRL_PLL0CTRL1_LOCK_COUNT(v) \ | 67 | #define BF_CLKCTRL_PLL0CTRL1_LOCK_COUNT(v) \ |
@@ -94,7 +73,6 @@ | |||
94 | #define HW_CLKCTRL_PLL1CTRL0_TOG (0x0000002c) | 73 | #define HW_CLKCTRL_PLL1CTRL0_TOG (0x0000002c) |
95 | 74 | ||
96 | #define BM_CLKCTRL_PLL1CTRL0_CLKGATEEMI 0x80000000 | 75 | #define BM_CLKCTRL_PLL1CTRL0_CLKGATEEMI 0x80000000 |
97 | #define BM_CLKCTRL_PLL1CTRL0_RSRVD6 0x40000000 | ||
98 | #define BP_CLKCTRL_PLL1CTRL0_LFR_SEL 28 | 76 | #define BP_CLKCTRL_PLL1CTRL0_LFR_SEL 28 |
99 | #define BM_CLKCTRL_PLL1CTRL0_LFR_SEL 0x30000000 | 77 | #define BM_CLKCTRL_PLL1CTRL0_LFR_SEL 0x30000000 |
100 | #define BF_CLKCTRL_PLL1CTRL0_LFR_SEL(v) \ | 78 | #define BF_CLKCTRL_PLL1CTRL0_LFR_SEL(v) \ |
@@ -103,10 +81,6 @@ | |||
103 | #define BV_CLKCTRL_PLL1CTRL0_LFR_SEL__TIMES_2 0x1 | 81 | #define BV_CLKCTRL_PLL1CTRL0_LFR_SEL__TIMES_2 0x1 |
104 | #define BV_CLKCTRL_PLL1CTRL0_LFR_SEL__TIMES_05 0x2 | 82 | #define BV_CLKCTRL_PLL1CTRL0_LFR_SEL__TIMES_05 0x2 |
105 | #define BV_CLKCTRL_PLL1CTRL0_LFR_SEL__UNDEFINED 0x3 | 83 | #define BV_CLKCTRL_PLL1CTRL0_LFR_SEL__UNDEFINED 0x3 |
106 | #define BP_CLKCTRL_PLL1CTRL0_RSRVD5 26 | ||
107 | #define BM_CLKCTRL_PLL1CTRL0_RSRVD5 0x0C000000 | ||
108 | #define BF_CLKCTRL_PLL1CTRL0_RSRVD5(v) \ | ||
109 | (((v) << 26) & BM_CLKCTRL_PLL1CTRL0_RSRVD5) | ||
110 | #define BP_CLKCTRL_PLL1CTRL0_CP_SEL 24 | 84 | #define BP_CLKCTRL_PLL1CTRL0_CP_SEL 24 |
111 | #define BM_CLKCTRL_PLL1CTRL0_CP_SEL 0x03000000 | 85 | #define BM_CLKCTRL_PLL1CTRL0_CP_SEL 0x03000000 |
112 | #define BF_CLKCTRL_PLL1CTRL0_CP_SEL(v) \ | 86 | #define BF_CLKCTRL_PLL1CTRL0_CP_SEL(v) \ |
@@ -115,10 +89,6 @@ | |||
115 | #define BV_CLKCTRL_PLL1CTRL0_CP_SEL__TIMES_2 0x1 | 89 | #define BV_CLKCTRL_PLL1CTRL0_CP_SEL__TIMES_2 0x1 |
116 | #define BV_CLKCTRL_PLL1CTRL0_CP_SEL__TIMES_05 0x2 | 90 | #define BV_CLKCTRL_PLL1CTRL0_CP_SEL__TIMES_05 0x2 |
117 | #define BV_CLKCTRL_PLL1CTRL0_CP_SEL__UNDEFINED 0x3 | 91 | #define BV_CLKCTRL_PLL1CTRL0_CP_SEL__UNDEFINED 0x3 |
118 | #define BP_CLKCTRL_PLL1CTRL0_RSRVD4 22 | ||
119 | #define BM_CLKCTRL_PLL1CTRL0_RSRVD4 0x00C00000 | ||
120 | #define BF_CLKCTRL_PLL1CTRL0_RSRVD4(v) \ | ||
121 | (((v) << 22) & BM_CLKCTRL_PLL1CTRL0_RSRVD4) | ||
122 | #define BP_CLKCTRL_PLL1CTRL0_DIV_SEL 20 | 92 | #define BP_CLKCTRL_PLL1CTRL0_DIV_SEL 20 |
123 | #define BM_CLKCTRL_PLL1CTRL0_DIV_SEL 0x00300000 | 93 | #define BM_CLKCTRL_PLL1CTRL0_DIV_SEL 0x00300000 |
124 | #define BF_CLKCTRL_PLL1CTRL0_DIV_SEL(v) \ | 94 | #define BF_CLKCTRL_PLL1CTRL0_DIV_SEL(v) \ |
@@ -127,22 +97,13 @@ | |||
127 | #define BV_CLKCTRL_PLL1CTRL0_DIV_SEL__LOWER 0x1 | 97 | #define BV_CLKCTRL_PLL1CTRL0_DIV_SEL__LOWER 0x1 |
128 | #define BV_CLKCTRL_PLL1CTRL0_DIV_SEL__LOWEST 0x2 | 98 | #define BV_CLKCTRL_PLL1CTRL0_DIV_SEL__LOWEST 0x2 |
129 | #define BV_CLKCTRL_PLL1CTRL0_DIV_SEL__UNDEFINED 0x3 | 99 | #define BV_CLKCTRL_PLL1CTRL0_DIV_SEL__UNDEFINED 0x3 |
130 | #define BM_CLKCTRL_PLL1CTRL0_RSRVD3 0x00080000 | ||
131 | #define BM_CLKCTRL_PLL1CTRL0_EN_USB_CLKS 0x00040000 | 100 | #define BM_CLKCTRL_PLL1CTRL0_EN_USB_CLKS 0x00040000 |
132 | #define BM_CLKCTRL_PLL1CTRL0_POWER 0x00020000 | 101 | #define BM_CLKCTRL_PLL1CTRL0_POWER 0x00020000 |
133 | #define BP_CLKCTRL_PLL1CTRL0_RSRVD1 0 | ||
134 | #define BM_CLKCTRL_PLL1CTRL0_RSRVD1 0x0001FFFF | ||
135 | #define BF_CLKCTRL_PLL1CTRL0_RSRVD1(v) \ | ||
136 | (((v) << 0) & BM_CLKCTRL_PLL1CTRL0_RSRVD1) | ||
137 | 102 | ||
138 | #define HW_CLKCTRL_PLL1CTRL1 (0x00000030) | 103 | #define HW_CLKCTRL_PLL1CTRL1 (0x00000030) |
139 | 104 | ||
140 | #define BM_CLKCTRL_PLL1CTRL1_LOCK 0x80000000 | 105 | #define BM_CLKCTRL_PLL1CTRL1_LOCK 0x80000000 |
141 | #define BM_CLKCTRL_PLL1CTRL1_FORCE_LOCK 0x40000000 | 106 | #define BM_CLKCTRL_PLL1CTRL1_FORCE_LOCK 0x40000000 |
142 | #define BP_CLKCTRL_PLL1CTRL1_RSRVD1 16 | ||
143 | #define BM_CLKCTRL_PLL1CTRL1_RSRVD1 0x3FFF0000 | ||
144 | #define BF_CLKCTRL_PLL1CTRL1_RSRVD1(v) \ | ||
145 | (((v) << 16) & BM_CLKCTRL_PLL1CTRL1_RSRVD1) | ||
146 | #define BP_CLKCTRL_PLL1CTRL1_LOCK_COUNT 0 | 107 | #define BP_CLKCTRL_PLL1CTRL1_LOCK_COUNT 0 |
147 | #define BM_CLKCTRL_PLL1CTRL1_LOCK_COUNT 0x0000FFFF | 108 | #define BM_CLKCTRL_PLL1CTRL1_LOCK_COUNT 0x0000FFFF |
148 | #define BF_CLKCTRL_PLL1CTRL1_LOCK_COUNT(v) \ | 109 | #define BF_CLKCTRL_PLL1CTRL1_LOCK_COUNT(v) \ |
@@ -154,51 +115,31 @@ | |||
154 | #define HW_CLKCTRL_PLL2CTRL0_TOG (0x0000004c) | 115 | #define HW_CLKCTRL_PLL2CTRL0_TOG (0x0000004c) |
155 | 116 | ||
156 | #define BM_CLKCTRL_PLL2CTRL0_CLKGATE 0x80000000 | 117 | #define BM_CLKCTRL_PLL2CTRL0_CLKGATE 0x80000000 |
157 | #define BM_CLKCTRL_PLL2CTRL0_RSRVD3 0x40000000 | ||
158 | #define BP_CLKCTRL_PLL2CTRL0_LFR_SEL 28 | 118 | #define BP_CLKCTRL_PLL2CTRL0_LFR_SEL 28 |
159 | #define BM_CLKCTRL_PLL2CTRL0_LFR_SEL 0x30000000 | 119 | #define BM_CLKCTRL_PLL2CTRL0_LFR_SEL 0x30000000 |
160 | #define BF_CLKCTRL_PLL2CTRL0_LFR_SEL(v) \ | 120 | #define BF_CLKCTRL_PLL2CTRL0_LFR_SEL(v) \ |
161 | (((v) << 28) & BM_CLKCTRL_PLL2CTRL0_LFR_SEL) | 121 | (((v) << 28) & BM_CLKCTRL_PLL2CTRL0_LFR_SEL) |
162 | #define BM_CLKCTRL_PLL2CTRL0_RSRVD2 0x08000000 | ||
163 | #define BM_CLKCTRL_PLL2CTRL0_HOLD_RING_OFF_B 0x04000000 | 122 | #define BM_CLKCTRL_PLL2CTRL0_HOLD_RING_OFF_B 0x04000000 |
164 | #define BP_CLKCTRL_PLL2CTRL0_CP_SEL 24 | 123 | #define BP_CLKCTRL_PLL2CTRL0_CP_SEL 24 |
165 | #define BM_CLKCTRL_PLL2CTRL0_CP_SEL 0x03000000 | 124 | #define BM_CLKCTRL_PLL2CTRL0_CP_SEL 0x03000000 |
166 | #define BF_CLKCTRL_PLL2CTRL0_CP_SEL(v) \ | 125 | #define BF_CLKCTRL_PLL2CTRL0_CP_SEL(v) \ |
167 | (((v) << 24) & BM_CLKCTRL_PLL2CTRL0_CP_SEL) | 126 | (((v) << 24) & BM_CLKCTRL_PLL2CTRL0_CP_SEL) |
168 | #define BM_CLKCTRL_PLL2CTRL0_POWER 0x00800000 | 127 | #define BM_CLKCTRL_PLL2CTRL0_POWER 0x00800000 |
169 | #define BP_CLKCTRL_PLL2CTRL0_RSRVD1 0 | ||
170 | #define BM_CLKCTRL_PLL2CTRL0_RSRVD1 0x007FFFFF | ||
171 | #define BF_CLKCTRL_PLL2CTRL0_RSRVD1(v) \ | ||
172 | (((v) << 0) & BM_CLKCTRL_PLL2CTRL0_RSRVD1) | ||
173 | 128 | ||
174 | #define HW_CLKCTRL_CPU (0x00000050) | 129 | #define HW_CLKCTRL_CPU (0x00000050) |
175 | #define HW_CLKCTRL_CPU_SET (0x00000054) | 130 | #define HW_CLKCTRL_CPU_SET (0x00000054) |
176 | #define HW_CLKCTRL_CPU_CLR (0x00000058) | 131 | #define HW_CLKCTRL_CPU_CLR (0x00000058) |
177 | #define HW_CLKCTRL_CPU_TOG (0x0000005c) | 132 | #define HW_CLKCTRL_CPU_TOG (0x0000005c) |
178 | 133 | ||
179 | #define BP_CLKCTRL_CPU_RSRVD5 30 | ||
180 | #define BM_CLKCTRL_CPU_RSRVD5 0xC0000000 | ||
181 | #define BF_CLKCTRL_CPU_RSRVD5(v) \ | ||
182 | (((v) << 30) & BM_CLKCTRL_CPU_RSRVD5) | ||
183 | #define BM_CLKCTRL_CPU_BUSY_REF_XTAL 0x20000000 | 134 | #define BM_CLKCTRL_CPU_BUSY_REF_XTAL 0x20000000 |
184 | #define BM_CLKCTRL_CPU_BUSY_REF_CPU 0x10000000 | 135 | #define BM_CLKCTRL_CPU_BUSY_REF_CPU 0x10000000 |
185 | #define BM_CLKCTRL_CPU_RSRVD4 0x08000000 | ||
186 | #define BM_CLKCTRL_CPU_DIV_XTAL_FRAC_EN 0x04000000 | 136 | #define BM_CLKCTRL_CPU_DIV_XTAL_FRAC_EN 0x04000000 |
187 | #define BP_CLKCTRL_CPU_DIV_XTAL 16 | 137 | #define BP_CLKCTRL_CPU_DIV_XTAL 16 |
188 | #define BM_CLKCTRL_CPU_DIV_XTAL 0x03FF0000 | 138 | #define BM_CLKCTRL_CPU_DIV_XTAL 0x03FF0000 |
189 | #define BF_CLKCTRL_CPU_DIV_XTAL(v) \ | 139 | #define BF_CLKCTRL_CPU_DIV_XTAL(v) \ |
190 | (((v) << 16) & BM_CLKCTRL_CPU_DIV_XTAL) | 140 | (((v) << 16) & BM_CLKCTRL_CPU_DIV_XTAL) |
191 | #define BP_CLKCTRL_CPU_RSRVD3 13 | ||
192 | #define BM_CLKCTRL_CPU_RSRVD3 0x0000E000 | ||
193 | #define BF_CLKCTRL_CPU_RSRVD3(v) \ | ||
194 | (((v) << 13) & BM_CLKCTRL_CPU_RSRVD3) | ||
195 | #define BM_CLKCTRL_CPU_INTERRUPT_WAIT 0x00001000 | 141 | #define BM_CLKCTRL_CPU_INTERRUPT_WAIT 0x00001000 |
196 | #define BM_CLKCTRL_CPU_RSRVD2 0x00000800 | ||
197 | #define BM_CLKCTRL_CPU_DIV_CPU_FRAC_EN 0x00000400 | 142 | #define BM_CLKCTRL_CPU_DIV_CPU_FRAC_EN 0x00000400 |
198 | #define BP_CLKCTRL_CPU_RSRVD1 6 | ||
199 | #define BM_CLKCTRL_CPU_RSRVD1 0x000003C0 | ||
200 | #define BF_CLKCTRL_CPU_RSRVD1(v) \ | ||
201 | (((v) << 6) & BM_CLKCTRL_CPU_RSRVD1) | ||
202 | #define BP_CLKCTRL_CPU_DIV_CPU 0 | 143 | #define BP_CLKCTRL_CPU_DIV_CPU 0 |
203 | #define BM_CLKCTRL_CPU_DIV_CPU 0x0000003F | 144 | #define BM_CLKCTRL_CPU_DIV_CPU 0x0000003F |
204 | #define BF_CLKCTRL_CPU_DIV_CPU(v) \ | 145 | #define BF_CLKCTRL_CPU_DIV_CPU(v) \ |
@@ -212,7 +153,6 @@ | |||
212 | #define BM_CLKCTRL_HBUS_ASM_BUSY 0x80000000 | 153 | #define BM_CLKCTRL_HBUS_ASM_BUSY 0x80000000 |
213 | #define BM_CLKCTRL_HBUS_DCP_AS_ENABLE 0x40000000 | 154 | #define BM_CLKCTRL_HBUS_DCP_AS_ENABLE 0x40000000 |
214 | #define BM_CLKCTRL_HBUS_PXP_AS_ENABLE 0x20000000 | 155 | #define BM_CLKCTRL_HBUS_PXP_AS_ENABLE 0x20000000 |
215 | #define BM_CLKCTRL_HBUS_RSRVD2 0x10000000 | ||
216 | #define BM_CLKCTRL_HBUS_ASM_EMIPORT_AS_ENABLE 0x08000000 | 156 | #define BM_CLKCTRL_HBUS_ASM_EMIPORT_AS_ENABLE 0x08000000 |
217 | #define BM_CLKCTRL_HBUS_APBHDMA_AS_ENABLE 0x04000000 | 157 | #define BM_CLKCTRL_HBUS_APBHDMA_AS_ENABLE 0x04000000 |
218 | #define BM_CLKCTRL_HBUS_APBXDMA_AS_ENABLE 0x02000000 | 158 | #define BM_CLKCTRL_HBUS_APBXDMA_AS_ENABLE 0x02000000 |
@@ -232,10 +172,6 @@ | |||
232 | #define BV_CLKCTRL_HBUS_SLOW_DIV__BY8 0x3 | 172 | #define BV_CLKCTRL_HBUS_SLOW_DIV__BY8 0x3 |
233 | #define BV_CLKCTRL_HBUS_SLOW_DIV__BY16 0x4 | 173 | #define BV_CLKCTRL_HBUS_SLOW_DIV__BY16 0x4 |
234 | #define BV_CLKCTRL_HBUS_SLOW_DIV__BY32 0x5 | 174 | #define BV_CLKCTRL_HBUS_SLOW_DIV__BY32 0x5 |
235 | #define BP_CLKCTRL_HBUS_RSRVD1 6 | ||
236 | #define BM_CLKCTRL_HBUS_RSRVD1 0x0000FFC0 | ||
237 | #define BF_CLKCTRL_HBUS_RSRVD1(v) \ | ||
238 | (((v) << 6) & BM_CLKCTRL_HBUS_RSRVD1) | ||
239 | #define BM_CLKCTRL_HBUS_DIV_FRAC_EN 0x00000020 | 175 | #define BM_CLKCTRL_HBUS_DIV_FRAC_EN 0x00000020 |
240 | #define BP_CLKCTRL_HBUS_DIV 0 | 176 | #define BP_CLKCTRL_HBUS_DIV 0 |
241 | #define BM_CLKCTRL_HBUS_DIV 0x0000001F | 177 | #define BM_CLKCTRL_HBUS_DIV 0x0000001F |
@@ -245,10 +181,6 @@ | |||
245 | #define HW_CLKCTRL_XBUS (0x00000070) | 181 | #define HW_CLKCTRL_XBUS (0x00000070) |
246 | 182 | ||
247 | #define BM_CLKCTRL_XBUS_BUSY 0x80000000 | 183 | #define BM_CLKCTRL_XBUS_BUSY 0x80000000 |
248 | #define BP_CLKCTRL_XBUS_RSRVD1 12 | ||
249 | #define BM_CLKCTRL_XBUS_RSRVD1 0x7FFFF000 | ||
250 | #define BF_CLKCTRL_XBUS_RSRVD1(v) \ | ||
251 | (((v) << 12) & BM_CLKCTRL_XBUS_RSRVD1) | ||
252 | #define BM_CLKCTRL_XBUS_AUTO_CLEAR_DIV_ENABLE 0x00000800 | 184 | #define BM_CLKCTRL_XBUS_AUTO_CLEAR_DIV_ENABLE 0x00000800 |
253 | #define BM_CLKCTRL_XBUS_DIV_FRAC_EN 0x00000400 | 185 | #define BM_CLKCTRL_XBUS_DIV_FRAC_EN 0x00000400 |
254 | #define BP_CLKCTRL_XBUS_DIV 0 | 186 | #define BP_CLKCTRL_XBUS_DIV 0 |
@@ -263,19 +195,10 @@ | |||
263 | 195 | ||
264 | #define BP_CLKCTRL_XTAL_UART_CLK_GATE 31 | 196 | #define BP_CLKCTRL_XTAL_UART_CLK_GATE 31 |
265 | #define BM_CLKCTRL_XTAL_UART_CLK_GATE 0x80000000 | 197 | #define BM_CLKCTRL_XTAL_UART_CLK_GATE 0x80000000 |
266 | #define BM_CLKCTRL_XTAL_RSRVD3 0x40000000 | ||
267 | #define BP_CLKCTRL_XTAL_PWM_CLK24M_GATE 29 | 198 | #define BP_CLKCTRL_XTAL_PWM_CLK24M_GATE 29 |
268 | #define BM_CLKCTRL_XTAL_PWM_CLK24M_GATE 0x20000000 | 199 | #define BM_CLKCTRL_XTAL_PWM_CLK24M_GATE 0x20000000 |
269 | #define BP_CLKCTRL_XTAL_RSRVD2 27 | ||
270 | #define BM_CLKCTRL_XTAL_RSRVD2 0x18000000 | ||
271 | #define BF_CLKCTRL_XTAL_RSRVD2(v) \ | ||
272 | (((v) << 27) & BM_CLKCTRL_XTAL_RSRVD2) | ||
273 | #define BP_CLKCTRL_XTAL_TIMROT_CLK32K_GATE 26 | 200 | #define BP_CLKCTRL_XTAL_TIMROT_CLK32K_GATE 26 |
274 | #define BM_CLKCTRL_XTAL_TIMROT_CLK32K_GATE 0x04000000 | 201 | #define BM_CLKCTRL_XTAL_TIMROT_CLK32K_GATE 0x04000000 |
275 | #define BP_CLKCTRL_XTAL_RSRVD1 2 | ||
276 | #define BM_CLKCTRL_XTAL_RSRVD1 0x03FFFFFC | ||
277 | #define BF_CLKCTRL_XTAL_RSRVD1(v) \ | ||
278 | (((v) << 2) & BM_CLKCTRL_XTAL_RSRVD1) | ||
279 | #define BP_CLKCTRL_XTAL_DIV_UART 0 | 202 | #define BP_CLKCTRL_XTAL_DIV_UART 0 |
280 | #define BM_CLKCTRL_XTAL_DIV_UART 0x00000003 | 203 | #define BM_CLKCTRL_XTAL_DIV_UART 0x00000003 |
281 | #define BF_CLKCTRL_XTAL_DIV_UART(v) \ | 204 | #define BF_CLKCTRL_XTAL_DIV_UART(v) \ |
@@ -285,12 +208,7 @@ | |||
285 | 208 | ||
286 | #define BP_CLKCTRL_SSP0_CLKGATE 31 | 209 | #define BP_CLKCTRL_SSP0_CLKGATE 31 |
287 | #define BM_CLKCTRL_SSP0_CLKGATE 0x80000000 | 210 | #define BM_CLKCTRL_SSP0_CLKGATE 0x80000000 |
288 | #define BM_CLKCTRL_SSP0_RSRVD2 0x40000000 | ||
289 | #define BM_CLKCTRL_SSP0_BUSY 0x20000000 | 211 | #define BM_CLKCTRL_SSP0_BUSY 0x20000000 |
290 | #define BP_CLKCTRL_SSP0_RSRVD1 10 | ||
291 | #define BM_CLKCTRL_SSP0_RSRVD1 0x1FFFFC00 | ||
292 | #define BF_CLKCTRL_SSP0_RSRVD1(v) \ | ||
293 | (((v) << 10) & BM_CLKCTRL_SSP0_RSRVD1) | ||
294 | #define BM_CLKCTRL_SSP0_DIV_FRAC_EN 0x00000200 | 212 | #define BM_CLKCTRL_SSP0_DIV_FRAC_EN 0x00000200 |
295 | #define BP_CLKCTRL_SSP0_DIV 0 | 213 | #define BP_CLKCTRL_SSP0_DIV 0 |
296 | #define BM_CLKCTRL_SSP0_DIV 0x000001FF | 214 | #define BM_CLKCTRL_SSP0_DIV 0x000001FF |
@@ -301,12 +219,7 @@ | |||
301 | 219 | ||
302 | #define BP_CLKCTRL_SSP1_CLKGATE 31 | 220 | #define BP_CLKCTRL_SSP1_CLKGATE 31 |
303 | #define BM_CLKCTRL_SSP1_CLKGATE 0x80000000 | 221 | #define BM_CLKCTRL_SSP1_CLKGATE 0x80000000 |
304 | #define BM_CLKCTRL_SSP1_RSRVD2 0x40000000 | ||
305 | #define BM_CLKCTRL_SSP1_BUSY 0x20000000 | 222 | #define BM_CLKCTRL_SSP1_BUSY 0x20000000 |
306 | #define BP_CLKCTRL_SSP1_RSRVD1 10 | ||
307 | #define BM_CLKCTRL_SSP1_RSRVD1 0x1FFFFC00 | ||
308 | #define BF_CLKCTRL_SSP1_RSRVD1(v) \ | ||
309 | (((v) << 10) & BM_CLKCTRL_SSP1_RSRVD1) | ||
310 | #define BM_CLKCTRL_SSP1_DIV_FRAC_EN 0x00000200 | 223 | #define BM_CLKCTRL_SSP1_DIV_FRAC_EN 0x00000200 |
311 | #define BP_CLKCTRL_SSP1_DIV 0 | 224 | #define BP_CLKCTRL_SSP1_DIV 0 |
312 | #define BM_CLKCTRL_SSP1_DIV 0x000001FF | 225 | #define BM_CLKCTRL_SSP1_DIV 0x000001FF |
@@ -317,12 +230,7 @@ | |||
317 | 230 | ||
318 | #define BP_CLKCTRL_SSP2_CLKGATE 31 | 231 | #define BP_CLKCTRL_SSP2_CLKGATE 31 |
319 | #define BM_CLKCTRL_SSP2_CLKGATE 0x80000000 | 232 | #define BM_CLKCTRL_SSP2_CLKGATE 0x80000000 |
320 | #define BM_CLKCTRL_SSP2_RSRVD2 0x40000000 | ||
321 | #define BM_CLKCTRL_SSP2_BUSY 0x20000000 | 233 | #define BM_CLKCTRL_SSP2_BUSY 0x20000000 |
322 | #define BP_CLKCTRL_SSP2_RSRVD1 10 | ||
323 | #define BM_CLKCTRL_SSP2_RSRVD1 0x1FFFFC00 | ||
324 | #define BF_CLKCTRL_SSP2_RSRVD1(v) \ | ||
325 | (((v) << 10) & BM_CLKCTRL_SSP2_RSRVD1) | ||
326 | #define BM_CLKCTRL_SSP2_DIV_FRAC_EN 0x00000200 | 234 | #define BM_CLKCTRL_SSP2_DIV_FRAC_EN 0x00000200 |
327 | #define BP_CLKCTRL_SSP2_DIV 0 | 235 | #define BP_CLKCTRL_SSP2_DIV 0 |
328 | #define BM_CLKCTRL_SSP2_DIV 0x000001FF | 236 | #define BM_CLKCTRL_SSP2_DIV 0x000001FF |
@@ -333,12 +241,7 @@ | |||
333 | 241 | ||
334 | #define BP_CLKCTRL_SSP3_CLKGATE 31 | 242 | #define BP_CLKCTRL_SSP3_CLKGATE 31 |
335 | #define BM_CLKCTRL_SSP3_CLKGATE 0x80000000 | 243 | #define BM_CLKCTRL_SSP3_CLKGATE 0x80000000 |
336 | #define BM_CLKCTRL_SSP3_RSRVD2 0x40000000 | ||
337 | #define BM_CLKCTRL_SSP3_BUSY 0x20000000 | 244 | #define BM_CLKCTRL_SSP3_BUSY 0x20000000 |
338 | #define BP_CLKCTRL_SSP3_RSRVD1 10 | ||
339 | #define BM_CLKCTRL_SSP3_RSRVD1 0x1FFFFC00 | ||
340 | #define BF_CLKCTRL_SSP3_RSRVD1(v) \ | ||
341 | (((v) << 10) & BM_CLKCTRL_SSP3_RSRVD1) | ||
342 | #define BM_CLKCTRL_SSP3_DIV_FRAC_EN 0x00000200 | 245 | #define BM_CLKCTRL_SSP3_DIV_FRAC_EN 0x00000200 |
343 | #define BP_CLKCTRL_SSP3_DIV 0 | 246 | #define BP_CLKCTRL_SSP3_DIV 0 |
344 | #define BM_CLKCTRL_SSP3_DIV 0x000001FF | 247 | #define BM_CLKCTRL_SSP3_DIV 0x000001FF |
@@ -349,12 +252,7 @@ | |||
349 | 252 | ||
350 | #define BP_CLKCTRL_GPMI_CLKGATE 31 | 253 | #define BP_CLKCTRL_GPMI_CLKGATE 31 |
351 | #define BM_CLKCTRL_GPMI_CLKGATE 0x80000000 | 254 | #define BM_CLKCTRL_GPMI_CLKGATE 0x80000000 |
352 | #define BM_CLKCTRL_GPMI_RSRVD2 0x40000000 | ||
353 | #define BM_CLKCTRL_GPMI_BUSY 0x20000000 | 255 | #define BM_CLKCTRL_GPMI_BUSY 0x20000000 |
354 | #define BP_CLKCTRL_GPMI_RSRVD1 11 | ||
355 | #define BM_CLKCTRL_GPMI_RSRVD1 0x1FFFF800 | ||
356 | #define BF_CLKCTRL_GPMI_RSRVD1(v) \ | ||
357 | (((v) << 11) & BM_CLKCTRL_GPMI_RSRVD1) | ||
358 | #define BM_CLKCTRL_GPMI_DIV_FRAC_EN 0x00000400 | 256 | #define BM_CLKCTRL_GPMI_DIV_FRAC_EN 0x00000400 |
359 | #define BP_CLKCTRL_GPMI_DIV 0 | 257 | #define BP_CLKCTRL_GPMI_DIV 0 |
360 | #define BM_CLKCTRL_GPMI_DIV 0x000003FF | 258 | #define BM_CLKCTRL_GPMI_DIV 0x000003FF |
@@ -365,10 +263,6 @@ | |||
365 | 263 | ||
366 | #define BP_CLKCTRL_SPDIF_CLKGATE 31 | 264 | #define BP_CLKCTRL_SPDIF_CLKGATE 31 |
367 | #define BM_CLKCTRL_SPDIF_CLKGATE 0x80000000 | 265 | #define BM_CLKCTRL_SPDIF_CLKGATE 0x80000000 |
368 | #define BP_CLKCTRL_SPDIF_RSRVD 0 | ||
369 | #define BM_CLKCTRL_SPDIF_RSRVD 0x7FFFFFFF | ||
370 | #define BF_CLKCTRL_SPDIF_RSRVD(v) \ | ||
371 | (((v) << 0) & BM_CLKCTRL_SPDIF_RSRVD) | ||
372 | 266 | ||
373 | #define HW_CLKCTRL_EMI (0x000000f0) | 267 | #define HW_CLKCTRL_EMI (0x000000f0) |
374 | 268 | ||
@@ -379,24 +273,12 @@ | |||
379 | #define BM_CLKCTRL_EMI_BUSY_REF_EMI 0x10000000 | 273 | #define BM_CLKCTRL_EMI_BUSY_REF_EMI 0x10000000 |
380 | #define BM_CLKCTRL_EMI_BUSY_REF_CPU 0x08000000 | 274 | #define BM_CLKCTRL_EMI_BUSY_REF_CPU 0x08000000 |
381 | #define BM_CLKCTRL_EMI_BUSY_SYNC_MODE 0x04000000 | 275 | #define BM_CLKCTRL_EMI_BUSY_SYNC_MODE 0x04000000 |
382 | #define BP_CLKCTRL_EMI_RSRVD3 18 | ||
383 | #define BM_CLKCTRL_EMI_RSRVD3 0x03FC0000 | ||
384 | #define BF_CLKCTRL_EMI_RSRVD3(v) \ | ||
385 | (((v) << 18) & BM_CLKCTRL_EMI_RSRVD3) | ||
386 | #define BM_CLKCTRL_EMI_BUSY_DCC_RESYNC 0x00020000 | 276 | #define BM_CLKCTRL_EMI_BUSY_DCC_RESYNC 0x00020000 |
387 | #define BM_CLKCTRL_EMI_DCC_RESYNC_ENABLE 0x00010000 | 277 | #define BM_CLKCTRL_EMI_DCC_RESYNC_ENABLE 0x00010000 |
388 | #define BP_CLKCTRL_EMI_RSRVD2 12 | ||
389 | #define BM_CLKCTRL_EMI_RSRVD2 0x0000F000 | ||
390 | #define BF_CLKCTRL_EMI_RSRVD2(v) \ | ||
391 | (((v) << 12) & BM_CLKCTRL_EMI_RSRVD2) | ||
392 | #define BP_CLKCTRL_EMI_DIV_XTAL 8 | 278 | #define BP_CLKCTRL_EMI_DIV_XTAL 8 |
393 | #define BM_CLKCTRL_EMI_DIV_XTAL 0x00000F00 | 279 | #define BM_CLKCTRL_EMI_DIV_XTAL 0x00000F00 |
394 | #define BF_CLKCTRL_EMI_DIV_XTAL(v) \ | 280 | #define BF_CLKCTRL_EMI_DIV_XTAL(v) \ |
395 | (((v) << 8) & BM_CLKCTRL_EMI_DIV_XTAL) | 281 | (((v) << 8) & BM_CLKCTRL_EMI_DIV_XTAL) |
396 | #define BP_CLKCTRL_EMI_RSRVD1 6 | ||
397 | #define BM_CLKCTRL_EMI_RSRVD1 0x000000C0 | ||
398 | #define BF_CLKCTRL_EMI_RSRVD1(v) \ | ||
399 | (((v) << 6) & BM_CLKCTRL_EMI_RSRVD1) | ||
400 | #define BP_CLKCTRL_EMI_DIV_EMI 0 | 282 | #define BP_CLKCTRL_EMI_DIV_EMI 0 |
401 | #define BM_CLKCTRL_EMI_DIV_EMI 0x0000003F | 283 | #define BM_CLKCTRL_EMI_DIV_EMI 0x0000003F |
402 | #define BF_CLKCTRL_EMI_DIV_EMI(v) \ | 284 | #define BF_CLKCTRL_EMI_DIV_EMI(v) \ |
@@ -406,12 +288,7 @@ | |||
406 | 288 | ||
407 | #define BP_CLKCTRL_SAIF0_CLKGATE 31 | 289 | #define BP_CLKCTRL_SAIF0_CLKGATE 31 |
408 | #define BM_CLKCTRL_SAIF0_CLKGATE 0x80000000 | 290 | #define BM_CLKCTRL_SAIF0_CLKGATE 0x80000000 |
409 | #define BM_CLKCTRL_SAIF0_RSRVD2 0x40000000 | ||
410 | #define BM_CLKCTRL_SAIF0_BUSY 0x20000000 | 291 | #define BM_CLKCTRL_SAIF0_BUSY 0x20000000 |
411 | #define BP_CLKCTRL_SAIF0_RSRVD1 17 | ||
412 | #define BM_CLKCTRL_SAIF0_RSRVD1 0x1FFE0000 | ||
413 | #define BF_CLKCTRL_SAIF0_RSRVD1(v) \ | ||
414 | (((v) << 17) & BM_CLKCTRL_SAIF0_RSRVD1) | ||
415 | #define BM_CLKCTRL_SAIF0_DIV_FRAC_EN 0x00010000 | 292 | #define BM_CLKCTRL_SAIF0_DIV_FRAC_EN 0x00010000 |
416 | #define BP_CLKCTRL_SAIF0_DIV 0 | 293 | #define BP_CLKCTRL_SAIF0_DIV 0 |
417 | #define BM_CLKCTRL_SAIF0_DIV 0x0000FFFF | 294 | #define BM_CLKCTRL_SAIF0_DIV 0x0000FFFF |
@@ -422,12 +299,7 @@ | |||
422 | 299 | ||
423 | #define BP_CLKCTRL_SAIF1_CLKGATE 31 | 300 | #define BP_CLKCTRL_SAIF1_CLKGATE 31 |
424 | #define BM_CLKCTRL_SAIF1_CLKGATE 0x80000000 | 301 | #define BM_CLKCTRL_SAIF1_CLKGATE 0x80000000 |
425 | #define BM_CLKCTRL_SAIF1_RSRVD2 0x40000000 | ||
426 | #define BM_CLKCTRL_SAIF1_BUSY 0x20000000 | 302 | #define BM_CLKCTRL_SAIF1_BUSY 0x20000000 |
427 | #define BP_CLKCTRL_SAIF1_RSRVD1 17 | ||
428 | #define BM_CLKCTRL_SAIF1_RSRVD1 0x1FFE0000 | ||
429 | #define BF_CLKCTRL_SAIF1_RSRVD1(v) \ | ||
430 | (((v) << 17) & BM_CLKCTRL_SAIF1_RSRVD1) | ||
431 | #define BM_CLKCTRL_SAIF1_DIV_FRAC_EN 0x00010000 | 303 | #define BM_CLKCTRL_SAIF1_DIV_FRAC_EN 0x00010000 |
432 | #define BP_CLKCTRL_SAIF1_DIV 0 | 304 | #define BP_CLKCTRL_SAIF1_DIV 0 |
433 | #define BM_CLKCTRL_SAIF1_DIV 0x0000FFFF | 305 | #define BM_CLKCTRL_SAIF1_DIV 0x0000FFFF |
@@ -438,12 +310,7 @@ | |||
438 | 310 | ||
439 | #define BP_CLKCTRL_DIS_LCDIF_CLKGATE 31 | 311 | #define BP_CLKCTRL_DIS_LCDIF_CLKGATE 31 |
440 | #define BM_CLKCTRL_DIS_LCDIF_CLKGATE 0x80000000 | 312 | #define BM_CLKCTRL_DIS_LCDIF_CLKGATE 0x80000000 |
441 | #define BM_CLKCTRL_DIS_LCDIF_RSRVD2 0x40000000 | ||
442 | #define BM_CLKCTRL_DIS_LCDIF_BUSY 0x20000000 | 313 | #define BM_CLKCTRL_DIS_LCDIF_BUSY 0x20000000 |
443 | #define BP_CLKCTRL_DIS_LCDIF_RSRVD1 14 | ||
444 | #define BM_CLKCTRL_DIS_LCDIF_RSRVD1 0x1FFFC000 | ||
445 | #define BF_CLKCTRL_DIS_LCDIF_RSRVD1(v) \ | ||
446 | (((v) << 14) & BM_CLKCTRL_DIS_LCDIF_RSRVD1) | ||
447 | #define BM_CLKCTRL_DIS_LCDIF_DIV_FRAC_EN 0x00002000 | 314 | #define BM_CLKCTRL_DIS_LCDIF_DIV_FRAC_EN 0x00002000 |
448 | #define BP_CLKCTRL_DIS_LCDIF_DIV 0 | 315 | #define BP_CLKCTRL_DIS_LCDIF_DIV 0 |
449 | #define BM_CLKCTRL_DIS_LCDIF_DIV 0x00001FFF | 316 | #define BM_CLKCTRL_DIS_LCDIF_DIV 0x00001FFF |
@@ -453,12 +320,7 @@ | |||
453 | #define HW_CLKCTRL_ETM (0x00000130) | 320 | #define HW_CLKCTRL_ETM (0x00000130) |
454 | 321 | ||
455 | #define BM_CLKCTRL_ETM_CLKGATE 0x80000000 | 322 | #define BM_CLKCTRL_ETM_CLKGATE 0x80000000 |
456 | #define BM_CLKCTRL_ETM_RSRVD2 0x40000000 | ||
457 | #define BM_CLKCTRL_ETM_BUSY 0x20000000 | 323 | #define BM_CLKCTRL_ETM_BUSY 0x20000000 |
458 | #define BP_CLKCTRL_ETM_RSRVD1 8 | ||
459 | #define BM_CLKCTRL_ETM_RSRVD1 0x1FFFFF00 | ||
460 | #define BF_CLKCTRL_ETM_RSRVD1(v) \ | ||
461 | (((v) << 8) & BM_CLKCTRL_ETM_RSRVD1) | ||
462 | #define BM_CLKCTRL_ETM_DIV_FRAC_EN 0x00000080 | 324 | #define BM_CLKCTRL_ETM_DIV_FRAC_EN 0x00000080 |
463 | #define BP_CLKCTRL_ETM_DIV 0 | 325 | #define BP_CLKCTRL_ETM_DIV 0 |
464 | #define BM_CLKCTRL_ETM_DIV 0x0000007F | 326 | #define BM_CLKCTRL_ETM_DIV 0x0000007F |
@@ -471,7 +333,6 @@ | |||
471 | #define BP_CLKCTRL_ENET_DISABLE 30 | 333 | #define BP_CLKCTRL_ENET_DISABLE 30 |
472 | #define BM_CLKCTRL_ENET_DISABLE 0x40000000 | 334 | #define BM_CLKCTRL_ENET_DISABLE 0x40000000 |
473 | #define BM_CLKCTRL_ENET_STATUS 0x20000000 | 335 | #define BM_CLKCTRL_ENET_STATUS 0x20000000 |
474 | #define BM_CLKCTRL_ENET_RSRVD1 0x10000000 | ||
475 | #define BM_CLKCTRL_ENET_BUSY_TIME 0x08000000 | 336 | #define BM_CLKCTRL_ENET_BUSY_TIME 0x08000000 |
476 | #define BP_CLKCTRL_ENET_DIV_TIME 21 | 337 | #define BP_CLKCTRL_ENET_DIV_TIME 21 |
477 | #define BM_CLKCTRL_ENET_DIV_TIME 0x07E00000 | 338 | #define BM_CLKCTRL_ENET_DIV_TIME 0x07E00000 |
@@ -493,37 +354,23 @@ | |||
493 | #define BM_CLKCTRL_ENET_CLK_OUT_EN 0x00040000 | 354 | #define BM_CLKCTRL_ENET_CLK_OUT_EN 0x00040000 |
494 | #define BM_CLKCTRL_ENET_RESET_BY_SW_CHIP 0x00020000 | 355 | #define BM_CLKCTRL_ENET_RESET_BY_SW_CHIP 0x00020000 |
495 | #define BM_CLKCTRL_ENET_RESET_BY_SW 0x00010000 | 356 | #define BM_CLKCTRL_ENET_RESET_BY_SW 0x00010000 |
496 | #define BP_CLKCTRL_ENET_RSRVD0 0 | ||
497 | #define BM_CLKCTRL_ENET_RSRVD0 0x0000FFFF | ||
498 | #define BF_CLKCTRL_ENET_RSRVD0(v) \ | ||
499 | (((v) << 0) & BM_CLKCTRL_ENET_RSRVD0) | ||
500 | 357 | ||
501 | #define HW_CLKCTRL_HSADC (0x00000150) | 358 | #define HW_CLKCTRL_HSADC (0x00000150) |
502 | 359 | ||
503 | #define BM_CLKCTRL_HSADC_RSRVD2 0x80000000 | ||
504 | #define BM_CLKCTRL_HSADC_RESETB 0x40000000 | 360 | #define BM_CLKCTRL_HSADC_RESETB 0x40000000 |
505 | #define BP_CLKCTRL_HSADC_FREQDIV 28 | 361 | #define BP_CLKCTRL_HSADC_FREQDIV 28 |
506 | #define BM_CLKCTRL_HSADC_FREQDIV 0x30000000 | 362 | #define BM_CLKCTRL_HSADC_FREQDIV 0x30000000 |
507 | #define BF_CLKCTRL_HSADC_FREQDIV(v) \ | 363 | #define BF_CLKCTRL_HSADC_FREQDIV(v) \ |
508 | (((v) << 28) & BM_CLKCTRL_HSADC_FREQDIV) | 364 | (((v) << 28) & BM_CLKCTRL_HSADC_FREQDIV) |
509 | #define BP_CLKCTRL_HSADC_RSRVD1 0 | ||
510 | #define BM_CLKCTRL_HSADC_RSRVD1 0x0FFFFFFF | ||
511 | #define BF_CLKCTRL_HSADC_RSRVD1(v) \ | ||
512 | (((v) << 0) & BM_CLKCTRL_HSADC_RSRVD1) | ||
513 | 365 | ||
514 | #define HW_CLKCTRL_FLEXCAN (0x00000160) | 366 | #define HW_CLKCTRL_FLEXCAN (0x00000160) |
515 | 367 | ||
516 | #define BM_CLKCTRL_FLEXCAN_RSRVD2 0x80000000 | ||
517 | #define BP_CLKCTRL_FLEXCAN_STOP_CAN0 30 | 368 | #define BP_CLKCTRL_FLEXCAN_STOP_CAN0 30 |
518 | #define BM_CLKCTRL_FLEXCAN_STOP_CAN0 0x40000000 | 369 | #define BM_CLKCTRL_FLEXCAN_STOP_CAN0 0x40000000 |
519 | #define BM_CLKCTRL_FLEXCAN_CAN0_STATUS 0x20000000 | 370 | #define BM_CLKCTRL_FLEXCAN_CAN0_STATUS 0x20000000 |
520 | #define BP_CLKCTRL_FLEXCAN_STOP_CAN1 28 | 371 | #define BP_CLKCTRL_FLEXCAN_STOP_CAN1 28 |
521 | #define BM_CLKCTRL_FLEXCAN_STOP_CAN1 0x10000000 | 372 | #define BM_CLKCTRL_FLEXCAN_STOP_CAN1 0x10000000 |
522 | #define BM_CLKCTRL_FLEXCAN_CAN1_STATUS 0x08000000 | 373 | #define BM_CLKCTRL_FLEXCAN_CAN1_STATUS 0x08000000 |
523 | #define BP_CLKCTRL_FLEXCAN_RSRVD1 0 | ||
524 | #define BM_CLKCTRL_FLEXCAN_RSRVD1 0x07FFFFFF | ||
525 | #define BF_CLKCTRL_FLEXCAN_RSRVD1(v) \ | ||
526 | (((v) << 0) & BM_CLKCTRL_FLEXCAN_RSRVD1) | ||
527 | 374 | ||
528 | #define HW_CLKCTRL_FRAC0 (0x000001b0) | 375 | #define HW_CLKCTRL_FRAC0 (0x000001b0) |
529 | #define HW_CLKCTRL_FRAC0_SET (0x000001b4) | 376 | #define HW_CLKCTRL_FRAC0_SET (0x000001b4) |
@@ -564,10 +411,6 @@ | |||
564 | #define HW_CLKCTRL_FRAC1_CLR (0x000001c8) | 411 | #define HW_CLKCTRL_FRAC1_CLR (0x000001c8) |
565 | #define HW_CLKCTRL_FRAC1_TOG (0x000001cc) | 412 | #define HW_CLKCTRL_FRAC1_TOG (0x000001cc) |
566 | 413 | ||
567 | #define BP_CLKCTRL_FRAC1_RSRVD2 24 | ||
568 | #define BM_CLKCTRL_FRAC1_RSRVD2 0xFF000000 | ||
569 | #define BF_CLKCTRL_FRAC1_RSRVD2(v) \ | ||
570 | (((v) << 24) & BM_CLKCTRL_FRAC1_RSRVD2) | ||
571 | #define BP_CLKCTRL_FRAC1_CLKGATEGPMI 23 | 414 | #define BP_CLKCTRL_FRAC1_CLKGATEGPMI 23 |
572 | #define BM_CLKCTRL_FRAC1_CLKGATEGPMI 0x00800000 | 415 | #define BM_CLKCTRL_FRAC1_CLKGATEGPMI 0x00800000 |
573 | #define BM_CLKCTRL_FRAC1_GPMI_STABLE 0x00400000 | 416 | #define BM_CLKCTRL_FRAC1_GPMI_STABLE 0x00400000 |
@@ -595,22 +438,10 @@ | |||
595 | #define HW_CLKCTRL_CLKSEQ_CLR (0x000001d8) | 438 | #define HW_CLKCTRL_CLKSEQ_CLR (0x000001d8) |
596 | #define HW_CLKCTRL_CLKSEQ_TOG (0x000001dc) | 439 | #define HW_CLKCTRL_CLKSEQ_TOG (0x000001dc) |
597 | 440 | ||
598 | #define BP_CLKCTRL_CLKSEQ_RSRVD0 19 | ||
599 | #define BM_CLKCTRL_CLKSEQ_RSRVD0 0xFFF80000 | ||
600 | #define BF_CLKCTRL_CLKSEQ_RSRVD0(v) \ | ||
601 | (((v) << 19) & BM_CLKCTRL_CLKSEQ_RSRVD0) | ||
602 | #define BM_CLKCTRL_CLKSEQ_BYPASS_CPU 0x00040000 | 441 | #define BM_CLKCTRL_CLKSEQ_BYPASS_CPU 0x00040000 |
603 | #define BP_CLKCTRL_CLKSEQ_RSRVD1 15 | ||
604 | #define BM_CLKCTRL_CLKSEQ_RSRVD1 0x00038000 | ||
605 | #define BF_CLKCTRL_CLKSEQ_RSRVD1(v) \ | ||
606 | (((v) << 15) & BM_CLKCTRL_CLKSEQ_RSRVD1) | ||
607 | #define BM_CLKCTRL_CLKSEQ_BYPASS_DIS_LCDIF 0x00004000 | 442 | #define BM_CLKCTRL_CLKSEQ_BYPASS_DIS_LCDIF 0x00004000 |
608 | #define BV_CLKCTRL_CLKSEQ_BYPASS_DIS_LCDIF__BYPASS 0x1 | 443 | #define BV_CLKCTRL_CLKSEQ_BYPASS_DIS_LCDIF__BYPASS 0x1 |
609 | #define BV_CLKCTRL_CLKSEQ_BYPASS_DIS_LCDIF__PFD 0x0 | 444 | #define BV_CLKCTRL_CLKSEQ_BYPASS_DIS_LCDIF__PFD 0x0 |
610 | #define BP_CLKCTRL_CLKSEQ_RSRVD2 9 | ||
611 | #define BM_CLKCTRL_CLKSEQ_RSRVD2 0x00003E00 | ||
612 | #define BF_CLKCTRL_CLKSEQ_RSRVD2(v) \ | ||
613 | (((v) << 9) & BM_CLKCTRL_CLKSEQ_RSRVD2) | ||
614 | #define BM_CLKCTRL_CLKSEQ_BYPASS_ETM 0x00000100 | 445 | #define BM_CLKCTRL_CLKSEQ_BYPASS_ETM 0x00000100 |
615 | #define BM_CLKCTRL_CLKSEQ_BYPASS_EMI 0x00000080 | 446 | #define BM_CLKCTRL_CLKSEQ_BYPASS_EMI 0x00000080 |
616 | #define BM_CLKCTRL_CLKSEQ_BYPASS_SSP3 0x00000040 | 447 | #define BM_CLKCTRL_CLKSEQ_BYPASS_SSP3 0x00000040 |
@@ -623,10 +454,6 @@ | |||
623 | 454 | ||
624 | #define HW_CLKCTRL_RESET (0x000001e0) | 455 | #define HW_CLKCTRL_RESET (0x000001e0) |
625 | 456 | ||
626 | #define BP_CLKCTRL_RESET_RSRVD 6 | ||
627 | #define BM_CLKCTRL_RESET_RSRVD 0xFFFFFFC0 | ||
628 | #define BF_CLKCTRL_RESET_RSRVD(v) \ | ||
629 | (((v) << 6) & BM_CLKCTRL_RESET_RSRVD) | ||
630 | #define BM_CLKCTRL_RESET_WDOG_POR_DISABLE 0x00000020 | 457 | #define BM_CLKCTRL_RESET_WDOG_POR_DISABLE 0x00000020 |
631 | #define BM_CLKCTRL_RESET_EXTERNAL_RESET_ENABLE 0x00000010 | 458 | #define BM_CLKCTRL_RESET_EXTERNAL_RESET_ENABLE 0x00000010 |
632 | #define BM_CLKCTRL_RESET_THERMAL_RESET_ENABLE 0x00000008 | 459 | #define BM_CLKCTRL_RESET_THERMAL_RESET_ENABLE 0x00000008 |
@@ -640,10 +467,6 @@ | |||
640 | #define BM_CLKCTRL_STATUS_CPU_LIMIT 0xC0000000 | 467 | #define BM_CLKCTRL_STATUS_CPU_LIMIT 0xC0000000 |
641 | #define BF_CLKCTRL_STATUS_CPU_LIMIT(v) \ | 468 | #define BF_CLKCTRL_STATUS_CPU_LIMIT(v) \ |
642 | (((v) << 30) & BM_CLKCTRL_STATUS_CPU_LIMIT) | 469 | (((v) << 30) & BM_CLKCTRL_STATUS_CPU_LIMIT) |
643 | #define BP_CLKCTRL_STATUS_RSRVD 0 | ||
644 | #define BM_CLKCTRL_STATUS_RSRVD 0x3FFFFFFF | ||
645 | #define BF_CLKCTRL_STATUS_RSRVD(v) \ | ||
646 | (((v) << 0) & BM_CLKCTRL_STATUS_RSRVD) | ||
647 | 470 | ||
648 | #define HW_CLKCTRL_VERSION (0x00000200) | 471 | #define HW_CLKCTRL_VERSION (0x00000200) |
649 | 472 | ||