1 /*
2  * SH7264 Pinmux
3  *
4  *  Copyright (C) 2012  Renesas Electronics Europe Ltd
5  *
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  */
10 
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>
16 
17 static struct resource sh7264_pfc_resources[] = {
18 	[0] = {
19 		.start	= 0xfffe3800,
20 		.end	= 0xfffe393f,
21 		.flags	= IORESOURCE_MEM,
22 	},
23 };
24 
25 static int __init plat_pinmux_setup(void)
26 {
27 	return sh_pfc_register("pfc-sh7264", sh7264_pfc_resources,
28 			       ARRAY_SIZE(sh7264_pfc_resources));
29 }
30 arch_initcall(plat_pinmux_setup);
31