Commit 32bf078c authored by Mark A. Greer's avatar Mark A. Greer Committed by Kevin Hilman

davinci: Add DA830/OMAP-L137 EVM specific pinmux setting for McASP1

The DA830/OMAP-L137 EVM cannot use the default pinmux setup for McASP1
so put the correct settings in the board file for that platform.
Signed-off-by: default avatarMark A. Greer <mgreer@mvista.com>
Signed-off-by: default avatarKevin Hilman <khilman@deeprootsystems.com>
parent b8864aa4
...@@ -22,6 +22,7 @@ ...@@ -22,6 +22,7 @@
#include <mach/common.h> #include <mach/common.h>
#include <mach/irqs.h> #include <mach/irqs.h>
#include <mach/cp_intc.h> #include <mach/cp_intc.h>
#include <mach/mux.h>
#include <mach/da8xx.h> #include <mach/da8xx.h>
#include <mach/asp.h> #include <mach/asp.h>
...@@ -55,6 +56,14 @@ static struct davinci_uart_config da830_evm_uart_config __initdata = { ...@@ -55,6 +56,14 @@ static struct davinci_uart_config da830_evm_uart_config __initdata = {
.enabled_uarts = 0x7, .enabled_uarts = 0x7,
}; };
static const short da830_evm_mcasp1_pins[] = {
DA830_AHCLKX1, DA830_ACLKX1, DA830_AFSX1, DA830_AHCLKR1, DA830_AFSR1,
DA830_AMUTE1, DA830_AXR1_0, DA830_AXR1_1, DA830_AXR1_2, DA830_AXR1_5,
DA830_ACLKR1, DA830_AXR1_6, DA830_AXR1_7, DA830_AXR1_8, DA830_AXR1_10,
DA830_AXR1_11,
-1
};
static u8 da830_iis_serializer_direction[] = { static u8 da830_iis_serializer_direction[] = {
RX_MODE, INACTIVE_MODE, INACTIVE_MODE, INACTIVE_MODE, RX_MODE, INACTIVE_MODE, INACTIVE_MODE, INACTIVE_MODE,
INACTIVE_MODE, TX_MODE, INACTIVE_MODE, INACTIVE_MODE, INACTIVE_MODE, TX_MODE, INACTIVE_MODE, INACTIVE_MODE,
...@@ -117,7 +126,7 @@ static __init void da830_evm_init(void) ...@@ -117,7 +126,7 @@ static __init void da830_evm_init(void)
i2c_register_board_info(1, da830_evm_i2c_devices, i2c_register_board_info(1, da830_evm_i2c_devices,
ARRAY_SIZE(da830_evm_i2c_devices)); ARRAY_SIZE(da830_evm_i2c_devices));
ret = da8xx_pinmux_setup(da830_mcasp1_pins); ret = da8xx_pinmux_setup(da830_evm_mcasp1_pins);
if (ret) if (ret)
pr_warning("da830_evm_init: mcasp1 mux setup failed: %d\n", pr_warning("da830_evm_init: mcasp1 mux setup failed: %d\n",
ret); ret);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment