diff options
author | Sandeep Paulraj <s-paulraj@ti.com> | 2009-06-24 12:22:28 -0400 |
---|---|---|
committer | Kevin Hilman <khilman@deeprootsystems.com> | 2009-08-26 03:57:00 -0400 |
commit | af5dbaef76cb01995639cef10ca6f5a2b08207e8 (patch) | |
tree | 1f70aa4e2683659bf3d7782c98d896caff9f2403 /arch/arm/mach-davinci/dm365.c | |
parent | 8593790d604c29a717d5914159ce78c7bb9899fb (diff) |
davinci: DM365 Updating PINMUX Entries
Patch updates DM365 PINMUX by adding entries for Video, SPI 1 - 4,
PWM 0 - 3.
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Diffstat (limited to 'arch/arm/mach-davinci/dm365.c')
-rw-r--r-- | arch/arm/mach-davinci/dm365.c | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/arch/arm/mach-davinci/dm365.c b/arch/arm/mach-davinci/dm365.c index c52aad300844..e5873bc0a0fa 100644 --- a/arch/arm/mach-davinci/dm365.c +++ b/arch/arm/mach-davinci/dm365.c | |||
@@ -533,6 +533,57 @@ MUX_CFG(DM365, EMAC_MDCLK, 3, 0, 1, 1, false) | |||
533 | 533 | ||
534 | MUX_CFG(DM365, KEYPAD, 2, 0, 0x3f, 0x3f, false) | 534 | MUX_CFG(DM365, KEYPAD, 2, 0, 0x3f, 0x3f, false) |
535 | 535 | ||
536 | MUX_CFG(DM365, PWM0, 1, 0, 3, 2, false) | ||
537 | MUX_CFG(DM365, PWM0_G23, 3, 26, 3, 3, false) | ||
538 | MUX_CFG(DM365, PWM1, 1, 2, 3, 2, false) | ||
539 | MUX_CFG(DM365, PWM1_G25, 3, 29, 3, 2, false) | ||
540 | MUX_CFG(DM365, PWM2_G87, 1, 10, 3, 2, false) | ||
541 | MUX_CFG(DM365, PWM2_G88, 1, 8, 3, 2, false) | ||
542 | MUX_CFG(DM365, PWM2_G89, 1, 6, 3, 2, false) | ||
543 | MUX_CFG(DM365, PWM2_G90, 1, 4, 3, 2, false) | ||
544 | MUX_CFG(DM365, PWM3_G80, 1, 20, 3, 3, false) | ||
545 | MUX_CFG(DM365, PWM3_G81, 1, 18, 3, 3, false) | ||
546 | MUX_CFG(DM365, PWM3_G85, 1, 14, 3, 2, false) | ||
547 | MUX_CFG(DM365, PWM3_G86, 1, 12, 3, 2, false) | ||
548 | |||
549 | MUX_CFG(DM365, SPI1_SCLK, 4, 2, 3, 1, false) | ||
550 | MUX_CFG(DM365, SPI1_SDI, 3, 31, 1, 1, false) | ||
551 | MUX_CFG(DM365, SPI1_SDO, 4, 0, 3, 1, false) | ||
552 | MUX_CFG(DM365, SPI1_SDENA0, 4, 4, 3, 1, false) | ||
553 | MUX_CFG(DM365, SPI1_SDENA1, 4, 0, 3, 2, false) | ||
554 | |||
555 | MUX_CFG(DM365, SPI2_SCLK, 4, 10, 3, 1, false) | ||
556 | MUX_CFG(DM365, SPI2_SDI, 4, 6, 3, 1, false) | ||
557 | MUX_CFG(DM365, SPI2_SDO, 4, 8, 3, 1, false) | ||
558 | MUX_CFG(DM365, SPI2_SDENA0, 4, 12, 3, 1, false) | ||
559 | MUX_CFG(DM365, SPI2_SDENA1, 4, 8, 3, 2, false) | ||
560 | |||
561 | MUX_CFG(DM365, SPI3_SCLK, 0, 0, 3, 2, false) | ||
562 | MUX_CFG(DM365, SPI3_SDI, 0, 2, 3, 2, false) | ||
563 | MUX_CFG(DM365, SPI3_SDO, 0, 6, 3, 2, false) | ||
564 | MUX_CFG(DM365, SPI3_SDENA0, 0, 4, 3, 2, false) | ||
565 | MUX_CFG(DM365, SPI3_SDENA1, 0, 6, 3, 3, false) | ||
566 | |||
567 | MUX_CFG(DM365, SPI4_SCLK, 4, 18, 3, 1, false) | ||
568 | MUX_CFG(DM365, SPI4_SDI, 4, 14, 3, 1, false) | ||
569 | MUX_CFG(DM365, SPI4_SDO, 4, 16, 3, 1, false) | ||
570 | MUX_CFG(DM365, SPI4_SDENA0, 4, 20, 3, 1, false) | ||
571 | MUX_CFG(DM365, SPI4_SDENA1, 4, 16, 3, 2, false) | ||
572 | |||
573 | MUX_CFG(DM365, GPIO20, 3, 21, 3, 0, false) | ||
574 | MUX_CFG(DM365, GPIO33, 4, 12, 3, 0, false) | ||
575 | MUX_CFG(DM365, GPIO40, 4, 26, 3, 0, false) | ||
576 | |||
577 | MUX_CFG(DM365, VOUT_FIELD, 1, 18, 3, 1, false) | ||
578 | MUX_CFG(DM365, VOUT_FIELD_G81, 1, 18, 3, 0, false) | ||
579 | MUX_CFG(DM365, VOUT_HVSYNC, 1, 16, 1, 0, false) | ||
580 | MUX_CFG(DM365, VOUT_COUTL_EN, 1, 0, 0xff, 0x55, false) | ||
581 | MUX_CFG(DM365, VOUT_COUTH_EN, 1, 8, 0xff, 0x55, false) | ||
582 | MUX_CFG(DM365, VIN_CAM_WEN, 0, 14, 3, 0, false) | ||
583 | MUX_CFG(DM365, VIN_CAM_VD, 0, 13, 1, 0, false) | ||
584 | MUX_CFG(DM365, VIN_CAM_HD, 0, 12, 1, 0, false) | ||
585 | MUX_CFG(DM365, VIN_YIN_EN, 0, 0, 0xfff, 0, false) | ||
586 | |||
536 | INT_CFG(DM365, INT_EDMA_CC, 2, 1, 1, false) | 587 | INT_CFG(DM365, INT_EDMA_CC, 2, 1, 1, false) |
537 | INT_CFG(DM365, INT_EDMA_TC0_ERR, 3, 1, 1, false) | 588 | INT_CFG(DM365, INT_EDMA_TC0_ERR, 3, 1, 1, false) |
538 | INT_CFG(DM365, INT_EDMA_TC1_ERR, 4, 1, 1, false) | 589 | INT_CFG(DM365, INT_EDMA_TC1_ERR, 4, 1, 1, false) |