Add the rt linux 4.1.3-rt3 as base
[kvmfornfv.git] / kernel / arch / sh / kernel / cpu / sh4a / pinmux-shx3.c
1 /*
2  * SH-X3 prototype CPU pinmux
3  *
4  * Copyright (C) 2010  Paul Mundt
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 #include <linux/bug.h>
11 #include <linux/init.h>
12 #include <linux/kernel.h>
13 #include <linux/ioport.h>
14 #include <cpu/pfc.h>
15
16 static struct resource shx3_pfc_resources[] = {
17         [0] = {
18                 .start  = 0xffc70000,
19                 .end    = 0xffc7001f,
20                 .flags  = IORESOURCE_MEM,
21         },
22 };
23
24 static int __init plat_pinmux_setup(void)
25 {
26         return sh_pfc_register("pfc-shx3", shx3_pfc_resources,
27                                ARRAY_SIZE(shx3_pfc_resources));
28 }
29 arch_initcall(plat_pinmux_setup);