Linux 4.6-rc6
[linux/fpc-iii.git] / arch / sh / kernel / cpu / sh4a / pinmux-sh7785.c
blobe336ab8b5125a42d54dc0df91d0dea2ae5b5663e
1 /*
2 * SH7785 Pinmux
4 * Copyright (C) 2008 Magnus Damm
6 * This file is subject to the terms and conditions of the GNU General Public
7 * License. See the file "COPYING" in the main directory of this archive
8 * for more details.
9 */
11 #include <linux/bug.h>
12 #include <linux/init.h>
13 #include <linux/kernel.h>
14 #include <linux/ioport.h>
15 #include <cpu/pfc.h>
17 static struct resource sh7785_pfc_resources[] = {
18 [0] = {
19 .start = 0xffe70000,
20 .end = 0xffe7008f,
21 .flags = IORESOURCE_MEM,
25 static int __init plat_pinmux_setup(void)
27 return sh_pfc_register("pfc-sh7785", sh7785_pfc_resources,
28 ARRAY_SIZE(sh7785_pfc_resources));
30 arch_initcall(plat_pinmux_setup);