diff options
Diffstat (limited to 'arch/arm/mach-omap2/mux.c')
-rw-r--r-- | arch/arm/mach-omap2/mux.c | 67 |
1 files changed, 55 insertions, 12 deletions
diff --git a/arch/arm/mach-omap2/mux.c b/arch/arm/mach-omap2/mux.c index 6188e2f97854..5558803cd99e 100644 --- a/arch/arm/mach-omap2/mux.c +++ b/arch/arm/mach-omap2/mux.c | |||
@@ -298,13 +298,13 @@ MUX_CFG_34XX("T2_3430_USB2HS_PHY_D7", 0x1d6, | |||
298 | 298 | ||
299 | /* TLL - HSUSB: 12-pin TLL Port 1*/ | 299 | /* TLL - HSUSB: 12-pin TLL Port 1*/ |
300 | MUX_CFG_34XX("Y8_3430_USB1HS_TLL_CLK", 0x5da, | 300 | MUX_CFG_34XX("Y8_3430_USB1HS_TLL_CLK", 0x5da, |
301 | OMAP34XX_MUX_MODE6 | OMAP34XX_PIN_OUTPUT) | ||
302 | MUX_CFG_34XX("Y9_3430_USB1HS_TLL_STP", 0x5d8, | ||
303 | OMAP34XX_MUX_MODE6 | OMAP34XX_PIN_INPUT_PULLDOWN) | 301 | OMAP34XX_MUX_MODE6 | OMAP34XX_PIN_INPUT_PULLDOWN) |
302 | MUX_CFG_34XX("Y9_3430_USB1HS_TLL_STP", 0x5d8, | ||
303 | OMAP34XX_MUX_MODE6 | OMAP34XX_PIN_INPUT_PULLUP) | ||
304 | MUX_CFG_34XX("AA14_3430_USB1HS_TLL_DIR", 0x5ec, | 304 | MUX_CFG_34XX("AA14_3430_USB1HS_TLL_DIR", 0x5ec, |
305 | OMAP34XX_MUX_MODE6 | OMAP34XX_PIN_OUTPUT) | 305 | OMAP34XX_MUX_MODE6 | OMAP34XX_PIN_INPUT_PULLDOWN) |
306 | MUX_CFG_34XX("AA11_3430_USB1HS_TLL_NXT", 0x5ee, | 306 | MUX_CFG_34XX("AA11_3430_USB1HS_TLL_NXT", 0x5ee, |
307 | OMAP34XX_MUX_MODE6 | OMAP34XX_PIN_OUTPUT) | 307 | OMAP34XX_MUX_MODE6 | OMAP34XX_PIN_INPUT_PULLDOWN) |
308 | MUX_CFG_34XX("W13_3430_USB1HS_TLL_D0", 0x5dc, | 308 | MUX_CFG_34XX("W13_3430_USB1HS_TLL_D0", 0x5dc, |
309 | OMAP34XX_MUX_MODE6 | OMAP34XX_PIN_INPUT_PULLDOWN) | 309 | OMAP34XX_MUX_MODE6 | OMAP34XX_PIN_INPUT_PULLDOWN) |
310 | MUX_CFG_34XX("W12_3430_USB1HS_TLL_D1", 0x5de, | 310 | MUX_CFG_34XX("W12_3430_USB1HS_TLL_D1", 0x5de, |
@@ -324,13 +324,13 @@ MUX_CFG_34XX("Y13_3430_USB1HS_TLL_D7", 0x5e2, | |||
324 | 324 | ||
325 | /* TLL - HSUSB: 12-pin TLL Port 2*/ | 325 | /* TLL - HSUSB: 12-pin TLL Port 2*/ |
326 | MUX_CFG_34XX("AA8_3430_USB2HS_TLL_CLK", 0x5f0, | 326 | MUX_CFG_34XX("AA8_3430_USB2HS_TLL_CLK", 0x5f0, |
327 | OMAP34XX_MUX_MODE6 | OMAP34XX_PIN_OUTPUT) | ||
328 | MUX_CFG_34XX("AA10_3430_USB2HS_TLL_STP", 0x5f2, | ||
329 | OMAP34XX_MUX_MODE6 | OMAP34XX_PIN_INPUT_PULLDOWN) | 327 | OMAP34XX_MUX_MODE6 | OMAP34XX_PIN_INPUT_PULLDOWN) |
328 | MUX_CFG_34XX("AA10_3430_USB2HS_TLL_STP", 0x5f2, | ||
329 | OMAP34XX_MUX_MODE6 | OMAP34XX_PIN_INPUT_PULLUP) | ||
330 | MUX_CFG_34XX("AA9_3430_USB2HS_TLL_DIR", 0x5f4, | 330 | MUX_CFG_34XX("AA9_3430_USB2HS_TLL_DIR", 0x5f4, |
331 | OMAP34XX_MUX_MODE6 | OMAP34XX_PIN_OUTPUT) | 331 | OMAP34XX_MUX_MODE6 | OMAP34XX_PIN_INPUT_PULLDOWN) |
332 | MUX_CFG_34XX("AB11_3430_USB2HS_TLL_NXT", 0x5f6, | 332 | MUX_CFG_34XX("AB11_3430_USB2HS_TLL_NXT", 0x5f6, |
333 | OMAP34XX_MUX_MODE6 | OMAP34XX_PIN_OUTPUT) | 333 | OMAP34XX_MUX_MODE6 | OMAP34XX_PIN_INPUT_PULLDOWN) |
334 | MUX_CFG_34XX("AB10_3430_USB2HS_TLL_D0", 0x5f8, | 334 | MUX_CFG_34XX("AB10_3430_USB2HS_TLL_D0", 0x5f8, |
335 | OMAP34XX_MUX_MODE6 | OMAP34XX_PIN_INPUT_PULLDOWN) | 335 | OMAP34XX_MUX_MODE6 | OMAP34XX_PIN_INPUT_PULLDOWN) |
336 | MUX_CFG_34XX("AB9_3430_USB2HS_TLL_D1", 0x5fa, | 336 | MUX_CFG_34XX("AB9_3430_USB2HS_TLL_D1", 0x5fa, |
@@ -350,13 +350,13 @@ MUX_CFG_34XX("T2_3430_USB2HS_TLL_D7", 0x1d6, | |||
350 | 350 | ||
351 | /* TLL - HSUSB: 12-pin TLL Port 3*/ | 351 | /* TLL - HSUSB: 12-pin TLL Port 3*/ |
352 | MUX_CFG_34XX("AA6_3430_USB3HS_TLL_CLK", 0x180, | 352 | MUX_CFG_34XX("AA6_3430_USB3HS_TLL_CLK", 0x180, |
353 | OMAP34XX_MUX_MODE5 | OMAP34XX_PIN_OUTPUT) | ||
354 | MUX_CFG_34XX("AB3_3430_USB3HS_TLL_STP", 0x166, | ||
355 | OMAP34XX_MUX_MODE5 | OMAP34XX_PIN_INPUT_PULLDOWN) | 353 | OMAP34XX_MUX_MODE5 | OMAP34XX_PIN_INPUT_PULLDOWN) |
354 | MUX_CFG_34XX("AB3_3430_USB3HS_TLL_STP", 0x166, | ||
355 | OMAP34XX_MUX_MODE5 | OMAP34XX_PIN_INPUT_PULLUP) | ||
356 | MUX_CFG_34XX("AA3_3430_USB3HS_TLL_DIR", 0x168, | 356 | MUX_CFG_34XX("AA3_3430_USB3HS_TLL_DIR", 0x168, |
357 | OMAP34XX_MUX_MODE5 | OMAP34XX_PIN_OUTPUT) | 357 | OMAP34XX_MUX_MODE5 | OMAP34XX_PIN_INPUT_PULLDOWN) |
358 | MUX_CFG_34XX("Y3_3430_USB3HS_TLL_NXT", 0x16a, | 358 | MUX_CFG_34XX("Y3_3430_USB3HS_TLL_NXT", 0x16a, |
359 | OMAP34XX_MUX_MODE5 | OMAP34XX_PIN_OUTPUT) | 359 | OMAP34XX_MUX_MODE5 | OMAP34XX_PIN_INPUT_PULLDOWN) |
360 | MUX_CFG_34XX("AA5_3430_USB3HS_TLL_D0", 0x186, | 360 | MUX_CFG_34XX("AA5_3430_USB3HS_TLL_D0", 0x186, |
361 | OMAP34XX_MUX_MODE5 | OMAP34XX_PIN_INPUT_PULLDOWN) | 361 | OMAP34XX_MUX_MODE5 | OMAP34XX_PIN_INPUT_PULLDOWN) |
362 | MUX_CFG_34XX("Y4_3430_USB3HS_TLL_D1", 0x184, | 362 | MUX_CFG_34XX("Y4_3430_USB3HS_TLL_D1", 0x184, |
@@ -373,6 +373,49 @@ MUX_CFG_34XX("AA13_3430_USB3HS_TLL_D6", 0x170, | |||
373 | OMAP34XX_MUX_MODE5 | OMAP34XX_PIN_INPUT_PULLDOWN) | 373 | OMAP34XX_MUX_MODE5 | OMAP34XX_PIN_INPUT_PULLDOWN) |
374 | MUX_CFG_34XX("AA12_3430_USB3HS_TLL_D7", 0x172, | 374 | MUX_CFG_34XX("AA12_3430_USB3HS_TLL_D7", 0x172, |
375 | OMAP34XX_MUX_MODE5 | OMAP34XX_PIN_INPUT_PULLDOWN) | 375 | OMAP34XX_MUX_MODE5 | OMAP34XX_PIN_INPUT_PULLDOWN) |
376 | |||
377 | /* PHY FSUSB: FS Serial for Port 1 (multiple PHY modes supported) */ | ||
378 | MUX_CFG_34XX("AF10_3430_USB1FS_PHY_MM1_RXDP", 0x5d8, | ||
379 | OMAP34XX_MUX_MODE5 | OMAP34XX_PIN_INPUT_PULLDOWN) | ||
380 | MUX_CFG_34XX("AG9_3430_USB1FS_PHY_MM1_RXDM", 0x5ee, | ||
381 | OMAP34XX_MUX_MODE5 | OMAP34XX_PIN_INPUT_PULLDOWN) | ||
382 | MUX_CFG_34XX("W13_3430_USB1FS_PHY_MM1_RXRCV", 0x5dc, | ||
383 | OMAP34XX_MUX_MODE5 | OMAP34XX_PIN_INPUT_PULLDOWN) | ||
384 | MUX_CFG_34XX("W12_3430_USB1FS_PHY_MM1_TXSE0", 0x5de, | ||
385 | OMAP34XX_MUX_MODE5 | OMAP34XX_PIN_INPUT_PULLDOWN) | ||
386 | MUX_CFG_34XX("W11_3430_USB1FS_PHY_MM1_TXDAT", 0x5e0, | ||
387 | OMAP34XX_MUX_MODE5 | OMAP34XX_PIN_INPUT_PULLDOWN) | ||
388 | MUX_CFG_34XX("Y11_3430_USB1FS_PHY_MM1_TXEN_N", 0x5ea, | ||
389 | OMAP34XX_MUX_MODE5 | OMAP34XX_PIN_OUTPUT) | ||
390 | |||
391 | /* PHY FSUSB: FS Serial for Port 2 (multiple PHY modes supported) */ | ||
392 | MUX_CFG_34XX("AF7_3430_USB2FS_PHY_MM2_RXDP", 0x5f2, | ||
393 | OMAP34XX_MUX_MODE5 | OMAP34XX_PIN_INPUT_PULLDOWN) | ||
394 | MUX_CFG_34XX("AH7_3430_USB2FS_PHY_MM2_RXDM", 0x5f6, | ||
395 | OMAP34XX_MUX_MODE5 | OMAP34XX_PIN_INPUT_PULLDOWN) | ||
396 | MUX_CFG_34XX("AB10_3430_USB2FS_PHY_MM2_RXRCV", 0x5f8, | ||
397 | OMAP34XX_MUX_MODE5 | OMAP34XX_PIN_INPUT_PULLDOWN) | ||
398 | MUX_CFG_34XX("AB9_3430_USB2FS_PHY_MM2_TXSE0", 0x5fa, | ||
399 | OMAP34XX_MUX_MODE5 | OMAP34XX_PIN_INPUT_PULLDOWN) | ||
400 | MUX_CFG_34XX("W3_3430_USB2FS_PHY_MM2_TXDAT", 0x1d4, | ||
401 | OMAP34XX_MUX_MODE5 | OMAP34XX_PIN_INPUT_PULLDOWN) | ||
402 | MUX_CFG_34XX("T4_3430_USB2FS_PHY_MM2_TXEN_N", 0x1de, | ||
403 | OMAP34XX_MUX_MODE5 | OMAP34XX_PIN_OUTPUT) | ||
404 | |||
405 | /* PHY FSUSB: FS Serial for Port 3 (multiple PHY modes supported) */ | ||
406 | MUX_CFG_34XX("AH3_3430_USB3FS_PHY_MM3_RXDP", 0x166, | ||
407 | OMAP34XX_MUX_MODE6 | OMAP34XX_PIN_INPUT_PULLDOWN) | ||
408 | MUX_CFG_34XX("AE3_3430_USB3FS_PHY_MM3_RXDM", 0x16a, | ||
409 | OMAP34XX_MUX_MODE6 | OMAP34XX_PIN_INPUT_PULLDOWN) | ||
410 | MUX_CFG_34XX("AD1_3430_USB3FS_PHY_MM3_RXRCV", 0x186, | ||
411 | OMAP34XX_MUX_MODE6 | OMAP34XX_PIN_INPUT_PULLDOWN) | ||
412 | MUX_CFG_34XX("AE1_3430_USB3FS_PHY_MM3_TXSE0", 0x184, | ||
413 | OMAP34XX_MUX_MODE6 | OMAP34XX_PIN_INPUT_PULLDOWN) | ||
414 | MUX_CFG_34XX("AD2_3430_USB3FS_PHY_MM3_TXDAT", 0x188, | ||
415 | OMAP34XX_MUX_MODE6 | OMAP34XX_PIN_INPUT_PULLDOWN) | ||
416 | MUX_CFG_34XX("AC1_3430_USB3FS_PHY_MM3_TXEN_N", 0x18a, | ||
417 | OMAP34XX_MUX_MODE6 | OMAP34XX_PIN_OUTPUT) | ||
418 | |||
376 | }; | 419 | }; |
377 | 420 | ||
378 | #define OMAP34XX_PINS_SZ ARRAY_SIZE(omap34xx_pins) | 421 | #define OMAP34XX_PINS_SZ ARRAY_SIZE(omap34xx_pins) |