Loading...
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
11#include <linux/bug.h>
12#include <linux/init.h>
13#include <linux/kernel.h>
14#include <linux/ioport.h>
15#include <cpu/pfc.h>
16
17static struct resource sh7723_pfc_resources[] = {
18 [0] = {
19 .start = 0xa4050100,
20 .end = 0xa405016f,
21 .flags = IORESOURCE_MEM,
22 },
23};
24
25static int __init plat_pinmux_setup(void)
26{
27 return sh_pfc_register("pfc-sh7723", sh7723_pfc_resources,
28 ARRAY_SIZE(sh7723_pfc_resources));
29}
30arch_initcall(plat_pinmux_setup);
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * SH7723 Pinmux
4 *
5 * Copyright (C) 2008 Magnus Damm
6 */
7
8#include <linux/bug.h>
9#include <linux/init.h>
10#include <linux/kernel.h>
11#include <linux/ioport.h>
12#include <cpu/pfc.h>
13
14static struct resource sh7723_pfc_resources[] = {
15 [0] = {
16 .start = 0xa4050100,
17 .end = 0xa405016f,
18 .flags = IORESOURCE_MEM,
19 },
20};
21
22static int __init plat_pinmux_setup(void)
23{
24 return sh_pfc_register("pfc-sh7723", sh7723_pfc_resources,
25 ARRAY_SIZE(sh7723_pfc_resources));
26}
27arch_initcall(plat_pinmux_setup);