xref: /linux/arch/sh/kernel/cpu/sh4a/pinmux-sh7722.c (revision 93df8a1ed6231727c5db94a80b1a6bd5ee67cec3)
1 #include <linux/bug.h>
2 #include <linux/init.h>
3 #include <linux/kernel.h>
4 #include <linux/ioport.h>
5 #include <cpu/pfc.h>
6 
7 static struct resource sh7722_pfc_resources[] = {
8 	[0] = {
9 		.start	= 0xa4050100,
10 		.end	= 0xa405018f,
11 		.flags	= IORESOURCE_MEM,
12 	},
13 };
14 
15 static int __init plat_pinmux_setup(void)
16 {
17 	return sh_pfc_register("pfc-sh7722", sh7722_pfc_resources,
18 			       ARRAY_SIZE(sh7722_pfc_resources));
19 }
20 arch_initcall(plat_pinmux_setup);
21