Commit | Line | Data |
---|---|---|
c01f0f1a | 1 | /* |
3810e960 | 2 | * SH7757 (B0 step) Pinmux |
c01f0f1a | 3 | * |
3810e960 | 4 | * Copyright (C) 2009-2010 Renesas Solutions Corp. |
c01f0f1a YS |
5 | * |
6 | * Author : Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com> | |
7 | * | |
3810e960 | 8 | * Based on SH7723 Pinmux |
c01f0f1a YS |
9 | * Copyright (C) 2008 Magnus Damm |
10 | * | |
11 | * This file is subject to the terms and conditions of the GNU General Public | |
12 | * License. See the file "COPYING" in the main directory of this archive | |
13 | * for more details. | |
14 | */ | |
15 | ||
0f4ad41e | 16 | #include <linux/bug.h> |
c01f0f1a YS |
17 | #include <linux/init.h> |
18 | #include <linux/kernel.h> | |
0f4ad41e | 19 | #include <linux/ioport.h> |
eb61b772 | 20 | #include <cpu/pfc.h> |
c01f0f1a | 21 | |
0f4ad41e LP |
22 | static struct resource sh7757_pfc_resources[] = { |
23 | [0] = { | |
24 | .start = 0xffec0000, | |
25 | .end = 0xffec008f, | |
26 | .flags = IORESOURCE_MEM, | |
27 | }, | |
28 | }; | |
29 | ||
c01f0f1a YS |
30 | static int __init plat_pinmux_setup(void) |
31 | { | |
0f4ad41e LP |
32 | return sh_pfc_register("pfc-sh7757", sh7757_pfc_resources, |
33 | ARRAY_SIZE(sh7757_pfc_resources)); | |
c01f0f1a | 34 | } |
c01f0f1a | 35 | arch_initcall(plat_pinmux_setup); |