diff options
author | Paul Mundt <lethal@linux-sh.org> | 2008-10-23 12:35:43 +0900 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2008-10-23 12:35:43 +0900 |
commit | 61dc6eaeef87048af351c04fd0046a6e3f96f94f (patch) | |
tree | 72543a9d702d5e6bc4aea3b8bd053f0569c7b535 /arch/sh/boards/mach-highlander/pinmux-r7785rp.c | |
parent | 0835f127e589f3a946add6a1f508e9402af8e70c (diff) |
sh: mach-highlander: Handle SCIF pinmuxing on R7785RP.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/boards/mach-highlander/pinmux-r7785rp.c')
-rw-r--r-- | arch/sh/boards/mach-highlander/pinmux-r7785rp.c | 20 |
1 files changed, 20 insertions, 0 deletions
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 00000000000..c77a2bea8f2 --- /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 <linux/init.h> +#include <linux/gpio.h> +#include <cpu/sh7785.h> + +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); +} |