diff options
author | Vaibhav Hiremath <hvaibhav@ti.com> | 2011-01-25 12:37:39 -0500 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2011-02-17 17:16:24 -0500 |
commit | 904c545c22dc4926e73c5c869efed0ca6a778bda (patch) | |
tree | 952f379dbbce53005be5fa259651ec3614434490 /arch/arm/mach-omap2/board-omap3evm.c | |
parent | 410491d408ee98a31c6eeff5072ae0c13e0a2324 (diff) |
AM/DM37x: DSS mux configuration for >Rev-B processor cards
To support higher resolution (e.g 720P@60), on OMAP36x (AM/DM37x)
DSS data bus has been muxed with sys_boot pins.
DSS[18-23] => DSS[0-5]
sys_boot[0,1 3-5] => DSS[18-23]
EVM revision >=RevB adopt this mux changes, which is going to ship outside.
Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/board-omap3evm.c')
-rw-r--r-- | arch/arm/mach-omap2/board-omap3evm.c | 34 |
1 files changed, 32 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/board-omap3evm.c b/arch/arm/mach-omap2/board-omap3evm.c index bbdf3ad299c8..36dac55b235c 100644 --- a/arch/arm/mach-omap2/board-omap3evm.c +++ b/arch/arm/mach-omap2/board-omap3evm.c | |||
@@ -760,7 +760,7 @@ static struct ehci_hcd_omap_platform_data ehci_pdata __initdata = { | |||
760 | }; | 760 | }; |
761 | 761 | ||
762 | #ifdef CONFIG_OMAP_MUX | 762 | #ifdef CONFIG_OMAP_MUX |
763 | static struct omap_board_mux board_mux[] __initdata = { | 763 | static struct omap_board_mux omap35x_board_mux[] __initdata = { |
764 | OMAP3_MUX(SYS_NIRQ, OMAP_MUX_MODE0 | OMAP_PIN_INPUT_PULLUP | | 764 | OMAP3_MUX(SYS_NIRQ, OMAP_MUX_MODE0 | OMAP_PIN_INPUT_PULLUP | |
765 | OMAP_PIN_OFF_INPUT_PULLUP | OMAP_PIN_OFF_OUTPUT_LOW | | 765 | OMAP_PIN_OFF_INPUT_PULLUP | OMAP_PIN_OFF_OUTPUT_LOW | |
766 | OMAP_PIN_OFF_WAKEUPENABLE), | 766 | OMAP_PIN_OFF_WAKEUPENABLE), |
@@ -787,6 +787,32 @@ static struct omap_board_mux board_mux[] __initdata = { | |||
787 | #endif | 787 | #endif |
788 | { .reg_offset = OMAP_MUX_TERMINATOR }, | 788 | { .reg_offset = OMAP_MUX_TERMINATOR }, |
789 | }; | 789 | }; |
790 | |||
791 | static struct omap_board_mux omap36x_board_mux[] __initdata = { | ||
792 | OMAP3_MUX(SYS_NIRQ, OMAP_MUX_MODE0 | OMAP_PIN_INPUT_PULLUP | | ||
793 | OMAP_PIN_OFF_INPUT_PULLUP | OMAP_PIN_OFF_OUTPUT_LOW | | ||
794 | OMAP_PIN_OFF_WAKEUPENABLE), | ||
795 | OMAP3_MUX(MCSPI1_CS1, OMAP_MUX_MODE4 | OMAP_PIN_INPUT_PULLUP | | ||
796 | OMAP_PIN_OFF_INPUT_PULLUP | OMAP_PIN_OFF_OUTPUT_LOW), | ||
797 | /* AM/DM37x EVM: DSS data bus muxed with sys_boot */ | ||
798 | OMAP3_MUX(DSS_DATA18, OMAP_MUX_MODE3 | OMAP_PIN_OFF_NONE), | ||
799 | OMAP3_MUX(DSS_DATA19, OMAP_MUX_MODE3 | OMAP_PIN_OFF_NONE), | ||
800 | OMAP3_MUX(DSS_DATA22, OMAP_MUX_MODE3 | OMAP_PIN_OFF_NONE), | ||
801 | OMAP3_MUX(DSS_DATA21, OMAP_MUX_MODE3 | OMAP_PIN_OFF_NONE), | ||
802 | OMAP3_MUX(DSS_DATA22, OMAP_MUX_MODE3 | OMAP_PIN_OFF_NONE), | ||
803 | OMAP3_MUX(DSS_DATA23, OMAP_MUX_MODE3 | OMAP_PIN_OFF_NONE), | ||
804 | OMAP3_MUX(SYS_BOOT0, OMAP_MUX_MODE3 | OMAP_PIN_OFF_NONE), | ||
805 | OMAP3_MUX(SYS_BOOT1, OMAP_MUX_MODE3 | OMAP_PIN_OFF_NONE), | ||
806 | OMAP3_MUX(SYS_BOOT3, OMAP_MUX_MODE3 | OMAP_PIN_OFF_NONE), | ||
807 | OMAP3_MUX(SYS_BOOT4, OMAP_MUX_MODE3 | OMAP_PIN_OFF_NONE), | ||
808 | OMAP3_MUX(SYS_BOOT5, OMAP_MUX_MODE3 | OMAP_PIN_OFF_NONE), | ||
809 | OMAP3_MUX(SYS_BOOT6, OMAP_MUX_MODE3 | OMAP_PIN_OFF_NONE), | ||
810 | |||
811 | { .reg_offset = OMAP_MUX_TERMINATOR }, | ||
812 | }; | ||
813 | #else | ||
814 | #define omap35x_board_mux NULL | ||
815 | #define omap36x_board_mux NULL | ||
790 | #endif | 816 | #endif |
791 | 817 | ||
792 | static struct omap_musb_board_data musb_board_data = { | 818 | static struct omap_musb_board_data musb_board_data = { |
@@ -798,7 +824,11 @@ static struct omap_musb_board_data musb_board_data = { | |||
798 | static void __init omap3_evm_init(void) | 824 | static void __init omap3_evm_init(void) |
799 | { | 825 | { |
800 | omap3_evm_get_revision(); | 826 | omap3_evm_get_revision(); |
801 | omap3_mux_init(board_mux, OMAP_PACKAGE_CBB); | 827 | |
828 | if (cpu_is_omap3630()) | ||
829 | omap3_mux_init(omap36x_board_mux, OMAP_PACKAGE_CBB); | ||
830 | else | ||
831 | omap3_mux_init(omap35x_board_mux, OMAP_PACKAGE_CBB); | ||
802 | 832 | ||
803 | omap3_evm_i2c_init(); | 833 | omap3_evm_i2c_init(); |
804 | 834 | ||