linux-ti33x-psp 3.2: i2c and cape fixes
[glsdk/meta-ti-glsdk.git] / recipes-kernel / linux / linux-ti33x-psp-3.2 / beaglebone / 0060-beaglebone-switch-RS232-cape-to-ttyO2.patch
1 From b594d005ab1e622b9c3cbf45c2699dde4af3706f Mon Sep 17 00:00:00 2001
2 From: Koen Kooi <koen@dominion.thruhere.net>
3 Date: Tue, 22 May 2012 11:00:35 +0200
4 Subject: [PATCH 60/61] beaglebone: switch RS232 cape to ttyO2
6 Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
7 ---
8  arch/arm/mach-omap2/board-am335xevm.c |    5 +++--
9  1 files changed, 3 insertions(+), 2 deletions(-)
11 diff --git a/arch/arm/mach-omap2/board-am335xevm.c b/arch/arm/mach-omap2/board-am335xevm.c
12 index dfe8df5..5902df0 100644
13 --- a/arch/arm/mach-omap2/board-am335xevm.c
14 +++ b/arch/arm/mach-omap2/board-am335xevm.c
15 @@ -2657,8 +2657,9 @@ static void beaglebone_cape_setup(struct memory_accessor *mem_acc, void *context
16         }
17                 if (!strncmp("BB-BONE-SERL-03", cape_config.partnumber, 15)) {
18                 pr_info("BeagleBone cape: initializing RS232 cape\n");
19 -               pr_info("BeagleBone cape: only uart1 is supported!\n");
20 -               setup_pin_mux(uart1_pin_mux);
21 +               pr_info("BeagleBone RS232 cape: only uart2/ttyO2 is supported.\n");
22 +               pr_info("BeagleBone RS232 cape: Jumper J27 and J23.\n");
23 +               setup_pin_mux(uart2_pin_mux);
24         }
25                 if (!strncmp("BB-BONE-SERL-04", cape_config.partnumber, 15)) {
26                 pr_info("BeagleBone cape: not initializing RS485 cape\n");
27 -- 
28 1.7.7.6