Commit | Line | Data |
---|---|---|
0436ec15 MD |
1 | /* |
2 | * SH7723 Pinmux | |
3 | * | |
4 | * Copyright (C) 2008 Magnus Damm | |
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 | ||
6b4644f5 | 11 | #include <linux/bug.h> |
0436ec15 MD |
12 | #include <linux/init.h> |
13 | #include <linux/kernel.h> | |
6b4644f5 | 14 | #include <linux/ioport.h> |
16941a89 | 15 | #include <cpu/pfc.h> |
0436ec15 | 16 | |
6b4644f5 LP |
17 | static struct resource sh7723_pfc_resources[] = { |
18 | [0] = { | |
19 | .start = 0xa4050100, | |
20 | .end = 0xa405016f, | |
21 | .flags = IORESOURCE_MEM, | |
22 | }, | |
23 | }; | |
24 | ||
0436ec15 MD |
25 | static int __init plat_pinmux_setup(void) |
26 | { | |
6b4644f5 LP |
27 | return sh_pfc_register("pfc-sh7723", sh7723_pfc_resources, |
28 | ARRAY_SIZE(sh7723_pfc_resources)); | |
0436ec15 | 29 | } |
0436ec15 | 30 | arch_initcall(plat_pinmux_setup); |