aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-shmobile
diff options
context:
space:
mode:
authorMagnus Damm <damm@opensource.se>2011-08-18 01:44:51 -0400
committerPaul Mundt <lethal@linux-sh.org>2011-08-29 03:50:33 -0400
commit9e9a892417317c3c7fc98f9a87f51c0e7b013b36 (patch)
tree9684ed74dd1a6f0027b9ef3011aa0926bd2bd0ec /arch/arm/mach-shmobile
parent4e9279452502c043469cf34cd813db83ae87c7d3 (diff)
ARM: mach-shmobile: Kota2 SCIFA4 and SCIFB support
Add SCIFA4 and SCIFB support to the Kota2 board. Only pins are configured since the SCIF platform devices are already present in the sh73a0 code. Signed-off-by: Magnus Damm <damm@opensource.se> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/arm/mach-shmobile')
-rw-r--r--arch/arm/mach-shmobile/board-kota2.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm/mach-shmobile/board-kota2.c b/arch/arm/mach-shmobile/board-kota2.c
index e1380df01315..0dbee59bc6d9 100644
--- a/arch/arm/mach-shmobile/board-kota2.c
+++ b/arch/arm/mach-shmobile/board-kota2.c
@@ -256,6 +256,12 @@ static void __init kota2_init(void)
256 gpio_request(GPIO_FN_SCIFA2_RTS1_, NULL); 256 gpio_request(GPIO_FN_SCIFA2_RTS1_, NULL);
257 gpio_request(GPIO_FN_SCIFA2_CTS1_, NULL); 257 gpio_request(GPIO_FN_SCIFA2_CTS1_, NULL);
258 258
259 /* SCIFA4 (UART1) */
260 gpio_request(GPIO_FN_SCIFA4_TXD, NULL);
261 gpio_request(GPIO_FN_SCIFA4_RXD, NULL);
262 gpio_request(GPIO_FN_SCIFA4_RTS_, NULL);
263 gpio_request(GPIO_FN_SCIFA4_CTS_, NULL);
264
259 /* SMSC911X */ 265 /* SMSC911X */
260 gpio_request(GPIO_FN_D0_NAF0, NULL); 266 gpio_request(GPIO_FN_D0_NAF0, NULL);
261 gpio_request(GPIO_FN_D1_NAF1, NULL); 267 gpio_request(GPIO_FN_D1_NAF1, NULL);
@@ -313,6 +319,13 @@ static void __init kota2_init(void)
313 gpio_request(GPIO_PORT208, NULL); /* Reset */ 319 gpio_request(GPIO_PORT208, NULL); /* Reset */
314 gpio_direction_output(GPIO_PORT208, 1); 320 gpio_direction_output(GPIO_PORT208, 1);
315 321
322 /* SCIFB (BT) */
323 gpio_request(GPIO_FN_PORT159_SCIFB_SCK, NULL);
324 gpio_request(GPIO_FN_PORT160_SCIFB_TXD, NULL);
325 gpio_request(GPIO_FN_PORT161_SCIFB_CTS_, NULL);
326 gpio_request(GPIO_FN_PORT162_SCIFB_RXD, NULL);
327 gpio_request(GPIO_FN_PORT163_SCIFB_RTS_, NULL);
328
316#ifdef CONFIG_CACHE_L2X0 329#ifdef CONFIG_CACHE_L2X0
317 /* Early BRESP enable, Shared attribute override enable, 64K*8way */ 330 /* Early BRESP enable, Shared attribute override enable, 64K*8way */
318 l2x0_init(__io(0xf0100000), 0x40460000, 0x82000fff); 331 l2x0_init(__io(0xf0100000), 0x40460000, 0x82000fff);