]>
Commit | Line | Data |
---|---|---|
b2441318 | 1 | // SPDX-License-Identifier: GPL-2.0 |
6ca1fa5c | 2 | #include <linux/bug.h> |
8d7b5b0a MD |
3 | #include <linux/init.h> |
4 | #include <linux/kernel.h> | |
6ca1fa5c | 5 | #include <linux/ioport.h> |
ef97c3c1 | 6 | #include <cpu/pfc.h> |
8d7b5b0a | 7 | |
6ca1fa5c LP |
8 | static struct resource sh7722_pfc_resources[] = { |
9 | [0] = { | |
10 | .start = 0xa4050100, | |
11 | .end = 0xa405018f, | |
12 | .flags = IORESOURCE_MEM, | |
13 | }, | |
14 | }; | |
15 | ||
8d7b5b0a MD |
16 | static int __init plat_pinmux_setup(void) |
17 | { | |
6ca1fa5c LP |
18 | return sh_pfc_register("pfc-sh7722", sh7722_pfc_resources, |
19 | ARRAY_SIZE(sh7722_pfc_resources)); | |
8d7b5b0a | 20 | } |
8d7b5b0a | 21 | arch_initcall(plat_pinmux_setup); |