From 61dc6eaeef87048af351c04fd0046a6e3f96f94f Mon Sep 17 00:00:00 2001 From: Paul Mundt Date: Thu, 23 Oct 2008 12:35:43 +0900 Subject: sh: mach-highlander: Handle SCIF pinmuxing on R7785RP. Signed-off-by: Paul Mundt --- arch/sh/boards/mach-highlander/pinmux-r7785rp.c | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 arch/sh/boards/mach-highlander/pinmux-r7785rp.c (limited to 'arch/sh/boards/mach-highlander/pinmux-r7785rp.c') diff --git a/arch/sh/boards/mach-highlander/pinmux-r7785rp.c b/arch/sh/boards/mach-highlander/pinmux-r7785rp.c new file mode 100644 index 0000000..c77a2be --- /dev/null +++ b/arch/sh/boards/mach-highlander/pinmux-r7785rp.c @@ -0,0 +1,20 @@ +/* + * Copyright (C) 2008 Paul Mundt + * + * This file is subject to the terms and conditions of the GNU General Public + * License. See the file "COPYING" in the main directory of this archive + * for more details. + */ +#include +#include +#include + +void __init highlander_plat_pinmux_setup(void) +{ + /* SCIF0 */ + gpio_request(GPIO_FN_SCIF0_CTS, NULL); + gpio_request(GPIO_FN_SCIF0_RTS, NULL); + gpio_request(GPIO_FN_SCIF0_SCK, NULL); + gpio_request(GPIO_FN_SCIF0_RXD, NULL); + gpio_request(GPIO_FN_SCIF0_TXD, NULL); +} -- cgit v1.1