Lines Matching +full:2 +full:- +full:8
1 // SPDX-License-Identifier: GPL-2.0-only
9 #include <linux/clk-provider.h>
14 #include <linux/irqchip/irq-davinci-cp-intc.h>
16 #include <clocksource/timer-davinci.h>
26 /* Offsets of the 8 compare registers on the da830 */
47 MUX_CFG(DA830, RTCK, 0, 0, 0xf, 8, false)
49 MUX_CFG(DA830, EMU_0, 0, 4, 0xf, 8, false)
50 MUX_CFG(DA830, EMB_SDCKE, 0, 8, 0xf, 1, false)
52 MUX_CFG(DA830, EMB_CLK, 0, 12, 0xf, 2, false)
59 MUX_CFG(DA830, EMB_A_0, 1, 8, 0xf, 1, false)
65 MUX_CFG(DA830, GPIO7_0, 1, 0, 0xf, 8, false)
66 MUX_CFG(DA830, GPIO7_1, 1, 4, 0xf, 8, false)
67 MUX_CFG(DA830, GPIO7_2, 1, 8, 0xf, 8, false)
68 MUX_CFG(DA830, GPIO7_3, 1, 12, 0xf, 8, false)
69 MUX_CFG(DA830, GPIO7_4, 1, 16, 0xf, 8, false)
70 MUX_CFG(DA830, GPIO7_5, 1, 20, 0xf, 8, false)
71 MUX_CFG(DA830, GPIO7_6, 1, 24, 0xf, 8, false)
72 MUX_CFG(DA830, GPIO7_7, 1, 28, 0xf, 8, false)
73 MUX_CFG(DA830, EMB_A_6, 2, 0, 0xf, 1, false)
74 MUX_CFG(DA830, EMB_A_7, 2, 4, 0xf, 1, false)
75 MUX_CFG(DA830, EMB_A_8, 2, 8, 0xf, 1, false)
76 MUX_CFG(DA830, EMB_A_9, 2, 12, 0xf, 1, false)
77 MUX_CFG(DA830, EMB_A_10, 2, 16, 0xf, 1, false)
78 MUX_CFG(DA830, EMB_A_11, 2, 20, 0xf, 1, false)
79 MUX_CFG(DA830, EMB_A_12, 2, 24, 0xf, 1, false)
80 MUX_CFG(DA830, EMB_D_31, 2, 28, 0xf, 1, false)
81 MUX_CFG(DA830, GPIO7_8, 2, 0, 0xf, 8, false)
82 MUX_CFG(DA830, GPIO7_9, 2, 4, 0xf, 8, false)
83 MUX_CFG(DA830, GPIO7_10, 2, 8, 0xf, 8, false)
84 MUX_CFG(DA830, GPIO7_11, 2, 12, 0xf, 8, false)
85 MUX_CFG(DA830, GPIO7_12, 2, 16, 0xf, 8, false)
86 MUX_CFG(DA830, GPIO7_13, 2, 20, 0xf, 8, false)
87 MUX_CFG(DA830, GPIO3_13, 2, 24, 0xf, 8, false)
90 MUX_CFG(DA830, EMB_D_28, 3, 8, 0xf, 1, false)
98 MUX_CFG(DA830, EMB_D_20, 4, 8, 0xf, 1, false)
106 MUX_CFG(DA830, EMB_D_1, 5, 8, 0xf, 1, false)
112 MUX_CFG(DA830, GPIO6_0, 5, 4, 0xf, 8, false)
113 MUX_CFG(DA830, GPIO6_1, 5, 8, 0xf, 8, false)
114 MUX_CFG(DA830, GPIO6_2, 5, 12, 0xf, 8, false)
115 MUX_CFG(DA830, GPIO6_3, 5, 16, 0xf, 8, false)
116 MUX_CFG(DA830, GPIO6_4, 5, 20, 0xf, 8, false)
117 MUX_CFG(DA830, GPIO6_5, 5, 24, 0xf, 8, false)
118 MUX_CFG(DA830, GPIO6_6, 5, 28, 0xf, 8, false)
121 MUX_CFG(DA830, EMB_D_9, 6, 8, 0xf, 1, false)
127 MUX_CFG(DA830, GPIO6_7, 6, 0, 0xf, 8, false)
128 MUX_CFG(DA830, GPIO6_8, 6, 4, 0xf, 8, false)
129 MUX_CFG(DA830, GPIO6_9, 6, 8, 0xf, 8, false)
130 MUX_CFG(DA830, GPIO6_10, 6, 12, 0xf, 8, false)
131 MUX_CFG(DA830, GPIO6_11, 6, 16, 0xf, 8, false)
132 MUX_CFG(DA830, GPIO6_12, 6, 20, 0xf, 8, false)
133 MUX_CFG(DA830, GPIO6_13, 6, 24, 0xf, 8, false)
134 MUX_CFG(DA830, GPIO6_14, 6, 28, 0xf, 8, false)
137 MUX_CFG(DA830, NEMB_WE_DQM_0, 7, 8, 0xf, 1, false)
143 MUX_CFG(DA830, EQEP0I, 7, 12, 0xf, 2, false)
144 MUX_CFG(DA830, EQEP0S, 7, 16, 0xf, 2, false)
145 MUX_CFG(DA830, EQEP1I, 7, 20, 0xf, 2, false)
146 MUX_CFG(DA830, NUART0_CTS, 7, 24, 0xf, 2, false)
147 MUX_CFG(DA830, NUART0_RTS, 7, 28, 0xf, 2, false)
150 MUX_CFG(DA830, GPIO6_15, 7, 0, 0xf, 8, false)
151 MUX_CFG(DA830, GPIO5_14, 7, 4, 0xf, 8, false)
152 MUX_CFG(DA830, GPIO5_15, 7, 8, 0xf, 8, false)
153 MUX_CFG(DA830, GPIO5_0, 7, 12, 0xf, 8, false)
154 MUX_CFG(DA830, GPIO5_1, 7, 16, 0xf, 8, false)
155 MUX_CFG(DA830, GPIO5_2, 7, 20, 0xf, 8, false)
156 MUX_CFG(DA830, GPIO5_3, 7, 24, 0xf, 8, false)
157 MUX_CFG(DA830, GPIO5_4, 7, 28, 0xf, 8, false)
158 MUX_CFG(DA830, SPI1_SOMI_0, 8, 0, 0xf, 1, false)
159 MUX_CFG(DA830, SPI1_SIMO_0, 8, 4, 0xf, 1, false)
160 MUX_CFG(DA830, SPI1_CLK, 8, 8, 0xf, 1, false)
161 MUX_CFG(DA830, UART0_RXD, 8, 12, 0xf, 1, false)
162 MUX_CFG(DA830, UART0_TXD, 8, 16, 0xf, 1, false)
163 MUX_CFG(DA830, AXR1_10, 8, 20, 0xf, 1, false)
164 MUX_CFG(DA830, AXR1_11, 8, 24, 0xf, 1, false)
165 MUX_CFG(DA830, NSPI1_ENA, 8, 28, 0xf, 1, false)
166 MUX_CFG(DA830, I2C1_SCL, 8, 0, 0xf, 2, false)
167 MUX_CFG(DA830, I2C1_SDA, 8, 4, 0xf, 2, false)
168 MUX_CFG(DA830, EQEP1S, 8, 8, 0xf, 2, false)
169 MUX_CFG(DA830, I2C0_SDA, 8, 12, 0xf, 2, false)
170 MUX_CFG(DA830, I2C0_SCL, 8, 16, 0xf, 2, false)
171 MUX_CFG(DA830, UART2_RXD, 8, 28, 0xf, 2, false)
172 MUX_CFG(DA830, TM64P0_IN12, 8, 12, 0xf, 4, false)
173 MUX_CFG(DA830, TM64P0_OUT12, 8, 16, 0xf, 4, false)
174 MUX_CFG(DA830, GPIO5_5, 8, 0, 0xf, 8, false)
175 MUX_CFG(DA830, GPIO5_6, 8, 4, 0xf, 8, false)
176 MUX_CFG(DA830, GPIO5_7, 8, 8, 0xf, 8, false)
177 MUX_CFG(DA830, GPIO5_8, 8, 12, 0xf, 8, false)
178 MUX_CFG(DA830, GPIO5_9, 8, 16, 0xf, 8, false)
179 MUX_CFG(DA830, GPIO5_10, 8, 20, 0xf, 8, false)
180 MUX_CFG(DA830, GPIO5_11, 8, 24, 0xf, 8, false)
181 MUX_CFG(DA830, GPIO5_12, 8, 28, 0xf, 8, false)
184 MUX_CFG(DA830, AHCLKX0, 9, 8, 0xf, 1, false)
190 MUX_CFG(DA830, UART2_TXD, 9, 0, 0xf, 2, false)
191 MUX_CFG(DA830, AHCLKX2, 9, 8, 0xf, 2, false)
192 MUX_CFG(DA830, ECAP0_APWM0, 9, 12, 0xf, 2, false)
193 MUX_CFG(DA830, RMII_MHZ_50_CLK, 9, 20, 0xf, 2, false)
194 MUX_CFG(DA830, ECAP1_APWM1, 9, 24, 0xf, 2, false)
195 MUX_CFG(DA830, USB_REFCLKIN, 9, 8, 0xf, 4, false)
196 MUX_CFG(DA830, GPIO5_13, 9, 0, 0xf, 8, false)
197 MUX_CFG(DA830, GPIO4_15, 9, 4, 0xf, 8, false)
198 MUX_CFG(DA830, GPIO2_11, 9, 8, 0xf, 8, false)
199 MUX_CFG(DA830, GPIO2_12, 9, 12, 0xf, 8, false)
200 MUX_CFG(DA830, GPIO2_13, 9, 16, 0xf, 8, false)
201 MUX_CFG(DA830, GPIO2_14, 9, 20, 0xf, 8, false)
202 MUX_CFG(DA830, GPIO2_15, 9, 24, 0xf, 8, false)
203 MUX_CFG(DA830, GPIO3_12, 9, 28, 0xf, 8, false)
206 MUX_CFG(DA830, AXR0_1, 10, 8, 0xf, 1, false)
212 MUX_CFG(DA830, RMII_TXD_0, 10, 4, 0xf, 2, false)
213 MUX_CFG(DA830, RMII_TXD_1, 10, 8, 0xf, 2, false)
214 MUX_CFG(DA830, RMII_TXEN, 10, 12, 0xf, 2, false)
215 MUX_CFG(DA830, RMII_CRS_DV, 10, 16, 0xf, 2, false)
216 MUX_CFG(DA830, RMII_RXD_0, 10, 20, 0xf, 2, false)
217 MUX_CFG(DA830, RMII_RXD_1, 10, 24, 0xf, 2, false)
218 MUX_CFG(DA830, RMII_RXER, 10, 28, 0xf, 2, false)
220 MUX_CFG(DA830, ACLKX2, 10, 8, 0xf, 4, false)
226 MUX_CFG(DA830, NRESETOUT, 10, 0, 0xf, 8, false)
227 MUX_CFG(DA830, GPIO3_0, 10, 4, 0xf, 8, false)
228 MUX_CFG(DA830, GPIO3_1, 10, 8, 0xf, 8, false)
229 MUX_CFG(DA830, GPIO3_2, 10, 12, 0xf, 8, false)
230 MUX_CFG(DA830, GPIO3_3, 10, 16, 0xf, 8, false)
231 MUX_CFG(DA830, GPIO3_4, 10, 20, 0xf, 8, false)
232 MUX_CFG(DA830, GPIO3_5, 10, 24, 0xf, 8, false)
233 MUX_CFG(DA830, GPIO3_6, 10, 28, 0xf, 8, false)
236 MUX_CFG(DA830, UART1_RXD, 11, 8, 0xf, 1, false)
242 MUX_CFG(DA830, MDIO_CLK, 11, 0, 0xf, 2, false)
243 MUX_CFG(DA830, MDIO_D, 11, 4, 0xf, 2, false)
244 MUX_CFG(DA830, AXR0_9, 11, 8, 0xf, 2, false)
245 MUX_CFG(DA830, AXR0_10, 11, 12, 0xf, 2, false)
246 MUX_CFG(DA830, EPWM0B, 11, 20, 0xf, 2, false)
247 MUX_CFG(DA830, EPWM0A, 11, 24, 0xf, 2, false)
248 MUX_CFG(DA830, EPWMSYNCI, 11, 28, 0xf, 2, false)
251 MUX_CFG(DA830, GPIO3_7, 11, 0, 0xf, 8, false)
252 MUX_CFG(DA830, GPIO3_8, 11, 4, 0xf, 8, false)
253 MUX_CFG(DA830, GPIO3_9, 11, 8, 0xf, 8, false)
254 MUX_CFG(DA830, GPIO3_10, 11, 12, 0xf, 8, false)
255 MUX_CFG(DA830, GPIO3_11, 11, 16, 0xf, 8, false)
256 MUX_CFG(DA830, GPIO3_14, 11, 20, 0xf, 8, false)
257 MUX_CFG(DA830, GPIO3_15, 11, 24, 0xf, 8, false)
258 MUX_CFG(DA830, GPIO4_10, 11, 28, 0xf, 8, false)
261 MUX_CFG(DA830, AFSR1, 12, 8, 0xf, 1, false)
267 MUX_CFG(DA830, ECAP2_APWM2, 12, 4, 0xf, 2, false)
268 MUX_CFG(DA830, EHRPWMGLUETZ, 12, 12, 0xf, 2, false)
269 MUX_CFG(DA830, EQEP1A, 12, 28, 0xf, 2, false)
270 MUX_CFG(DA830, GPIO4_11, 12, 0, 0xf, 8, false)
271 MUX_CFG(DA830, GPIO4_12, 12, 4, 0xf, 8, false)
272 MUX_CFG(DA830, GPIO4_13, 12, 8, 0xf, 8, false)
273 MUX_CFG(DA830, GPIO4_14, 12, 12, 0xf, 8, false)
274 MUX_CFG(DA830, GPIO4_0, 12, 16, 0xf, 8, false)
275 MUX_CFG(DA830, GPIO4_1, 12, 20, 0xf, 8, false)
276 MUX_CFG(DA830, GPIO4_2, 12, 24, 0xf, 8, false)
277 MUX_CFG(DA830, GPIO4_3, 12, 28, 0xf, 8, false)
280 MUX_CFG(DA830, AXR1_6, 13, 8, 0xf, 1, false)
286 MUX_CFG(DA830, EQEP1B, 13, 0, 0xf, 2, false)
287 MUX_CFG(DA830, EPWM2B, 13, 4, 0xf, 2, false)
288 MUX_CFG(DA830, EPWM2A, 13, 8, 0xf, 2, false)
289 MUX_CFG(DA830, EPWM1B, 13, 12, 0xf, 2, false)
290 MUX_CFG(DA830, EPWM1A, 13, 16, 0xf, 2, false)
291 MUX_CFG(DA830, MMCSD_DAT_0, 13, 24, 0xf, 2, false)
292 MUX_CFG(DA830, MMCSD_DAT_1, 13, 28, 0xf, 2, false)
295 MUX_CFG(DA830, GPIO4_4, 13, 0, 0xf, 8, false)
296 MUX_CFG(DA830, GPIO4_5, 13, 4, 0xf, 8, false)
297 MUX_CFG(DA830, GPIO4_6, 13, 8, 0xf, 8, false)
298 MUX_CFG(DA830, GPIO4_7, 13, 12, 0xf, 8, false)
299 MUX_CFG(DA830, GPIO4_8, 13, 16, 0xf, 8, false)
300 MUX_CFG(DA830, GPIO4_9, 13, 20, 0xf, 8, false)
301 MUX_CFG(DA830, GPIO0_0, 13, 24, 0xf, 8, false)
302 MUX_CFG(DA830, GPIO0_1, 13, 28, 0xf, 8, false)
305 MUX_CFG(DA830, EMA_D_4, 14, 8, 0xf, 1, false)
311 MUX_CFG(DA830, MMCSD_DAT_2, 14, 0, 0xf, 2, false)
312 MUX_CFG(DA830, MMCSD_DAT_3, 14, 4, 0xf, 2, false)
313 MUX_CFG(DA830, MMCSD_DAT_4, 14, 8, 0xf, 2, false)
314 MUX_CFG(DA830, MMCSD_DAT_5, 14, 12, 0xf, 2, false)
315 MUX_CFG(DA830, MMCSD_DAT_6, 14, 16, 0xf, 2, false)
316 MUX_CFG(DA830, MMCSD_DAT_7, 14, 20, 0xf, 2, false)
317 MUX_CFG(DA830, UHPI_HD_8, 14, 24, 0xf, 2, false)
318 MUX_CFG(DA830, UHPI_HD_9, 14, 28, 0xf, 2, false)
321 MUX_CFG(DA830, UHPI_HD_4, 14, 8, 0xf, 4, false)
327 MUX_CFG(DA830, GPIO0_2, 14, 0, 0xf, 8, false)
328 MUX_CFG(DA830, GPIO0_3, 14, 4, 0xf, 8, false)
329 MUX_CFG(DA830, GPIO0_4, 14, 8, 0xf, 8, false)
330 MUX_CFG(DA830, GPIO0_5, 14, 12, 0xf, 8, false)
331 MUX_CFG(DA830, GPIO0_6, 14, 16, 0xf, 8, false)
332 MUX_CFG(DA830, GPIO0_7, 14, 20, 0xf, 8, false)
333 MUX_CFG(DA830, GPIO0_8, 14, 24, 0xf, 8, false)
334 MUX_CFG(DA830, GPIO0_9, 14, 28, 0xf, 8, false)
337 MUX_CFG(DA830, EMA_D_12, 15, 8, 0xf, 1, false)
343 MUX_CFG(DA830, UHPI_HD_10, 15, 0, 0xf, 2, false)
344 MUX_CFG(DA830, UHPI_HD_11, 15, 4, 0xf, 2, false)
345 MUX_CFG(DA830, UHPI_HD_12, 15, 8, 0xf, 2, false)
346 MUX_CFG(DA830, UHPI_HD_13, 15, 12, 0xf, 2, false)
347 MUX_CFG(DA830, UHPI_HD_14, 15, 16, 0xf, 2, false)
348 MUX_CFG(DA830, UHPI_HD_15, 15, 20, 0xf, 2, false)
349 MUX_CFG(DA830, LCD_D_7, 15, 24, 0xf, 2, false)
350 MUX_CFG(DA830, MMCSD_CLK, 15, 28, 0xf, 2, false)
353 MUX_CFG(DA830, LCD_D_12, 15, 8, 0xf, 4, false)
358 MUX_CFG(DA830, GPIO0_10, 15, 0, 0xf, 8, false)
359 MUX_CFG(DA830, GPIO0_11, 15, 4, 0xf, 8, false)
360 MUX_CFG(DA830, GPIO0_12, 15, 8, 0xf, 8, false)
361 MUX_CFG(DA830, GPIO0_13, 15, 12, 0xf, 8, false)
362 MUX_CFG(DA830, GPIO0_14, 15, 16, 0xf, 8, false)
363 MUX_CFG(DA830, GPIO0_15, 15, 20, 0xf, 8, false)
364 MUX_CFG(DA830, GPIO1_0, 15, 24, 0xf, 8, false)
365 MUX_CFG(DA830, GPIO1_1, 15, 28, 0xf, 8, false)
368 MUX_CFG(DA830, EMA_A_4, 16, 8, 0xf, 1, false)
374 MUX_CFG(DA830, MMCSD_CMD, 16, 0, 0xf, 2, false)
375 MUX_CFG(DA830, LCD_D_6, 16, 4, 0xf, 2, false)
376 MUX_CFG(DA830, LCD_D_3, 16, 8, 0xf, 2, false)
377 MUX_CFG(DA830, LCD_D_2, 16, 12, 0xf, 2, false)
378 MUX_CFG(DA830, LCD_D_1, 16, 16, 0xf, 2, false)
379 MUX_CFG(DA830, LCD_D_0, 16, 20, 0xf, 2, false)
380 MUX_CFG(DA830, LCD_PCLK, 16, 24, 0xf, 2, false)
381 MUX_CFG(DA830, LCD_HSYNC, 16, 28, 0xf, 2, false)
383 MUX_CFG(DA830, GPIO1_2, 16, 0, 0xf, 8, false)
384 MUX_CFG(DA830, GPIO1_3, 16, 4, 0xf, 8, false)
385 MUX_CFG(DA830, GPIO1_4, 16, 8, 0xf, 8, false)
386 MUX_CFG(DA830, GPIO1_5, 16, 12, 0xf, 8, false)
387 MUX_CFG(DA830, GPIO1_6, 16, 16, 0xf, 8, false)
388 MUX_CFG(DA830, GPIO1_7, 16, 20, 0xf, 8, false)
389 MUX_CFG(DA830, GPIO1_8, 16, 24, 0xf, 8, false)
390 MUX_CFG(DA830, GPIO1_9, 16, 28, 0xf, 8, false)
393 MUX_CFG(DA830, EMA_A_12, 17, 8, 0xf, 1, false)
399 MUX_CFG(DA830, LCD_VSYNC, 17, 0, 0xf, 2, false)
400 MUX_CFG(DA830, NLCD_AC_ENB_CS, 17, 4, 0xf, 2, false)
401 MUX_CFG(DA830, LCD_MCLK, 17, 8, 0xf, 2, false)
402 MUX_CFG(DA830, LCD_D_5, 17, 12, 0xf, 2, false)
403 MUX_CFG(DA830, LCD_D_4, 17, 16, 0xf, 2, false)
404 MUX_CFG(DA830, OBSCLK, 17, 20, 0xf, 2, false)
405 MUX_CFG(DA830, NEMA_CS_4, 17, 28, 0xf, 2, false)
408 MUX_CFG(DA830, GPIO1_10, 17, 0, 0xf, 8, false)
409 MUX_CFG(DA830, GPIO1_11, 17, 4, 0xf, 8, false)
410 MUX_CFG(DA830, GPIO1_12, 17, 8, 0xf, 8, false)
411 MUX_CFG(DA830, GPIO1_13, 17, 12, 0xf, 8, false)
412 MUX_CFG(DA830, GPIO1_14, 17, 16, 0xf, 8, false)
413 MUX_CFG(DA830, GPIO1_15, 17, 20, 0xf, 8, false)
414 MUX_CFG(DA830, GPIO2_0, 17, 24, 0xf, 8, false)
415 MUX_CFG(DA830, GPIO2_1, 17, 28, 0xf, 8, false)
418 MUX_CFG(DA830, NEMA_CS_0, 18, 8, 0xf, 1, false)
424 MUX_CFG(DA830, NEMA_CS_5, 18, 0, 0xf, 2, false)
425 MUX_CFG(DA830, UHPI_HRNW, 18, 4, 0xf, 2, false)
426 MUX_CFG(DA830, NUHPI_HAS, 18, 8, 0xf, 2, false)
427 MUX_CFG(DA830, NUHPI_HCS, 18, 12, 0xf, 2, false)
428 MUX_CFG(DA830, NUHPI_HDS1, 18, 20, 0xf, 2, false)
429 MUX_CFG(DA830, NUHPI_HDS2, 18, 24, 0xf, 2, false)
430 MUX_CFG(DA830, NUHPI_HINT, 18, 28, 0xf, 2, false)
436 MUX_CFG(DA830, GPIO2_2, 18, 0, 0xf, 8, false)
437 MUX_CFG(DA830, GPIO2_3, 18, 4, 0xf, 8, false)
438 MUX_CFG(DA830, GPIO2_4, 18, 8, 0xf, 8, false)
439 MUX_CFG(DA830, GPIO2_5, 18, 12, 0xf, 8, false)
440 MUX_CFG(DA830, GPIO2_6, 18, 16, 0xf, 8, false)
441 MUX_CFG(DA830, GPIO2_7, 18, 20, 0xf, 8, false)
442 MUX_CFG(DA830, GPIO2_8, 18, 24, 0xf, 8, false)
443 MUX_CFG(DA830, GPIO2_9, 18, 28, 0xf, 8, false)
445 MUX_CFG(DA830, NUHPI_HRDY, 19, 0, 0xf, 2, false)
446 MUX_CFG(DA830, GPIO2_10, 19, 0, 0xf, 8, false)
472 .name = "da830/omap-l137 rev1.0",
479 .name = "da830/omap-l137 rev1.1",
486 .name = "da830/omap-l137 rev2.0",