blob: 7a103e16cf01b061dcd67f83fe0f458397e01ade [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001// SPDX-License-Identifier: GPL-2.0
2/*
3 * SH7264 Pinmux
4 *
5 * Copyright (C) 2012 Renesas Electronics Europe Ltd
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 sh7264_pfc_resources[] = {
15 [0] = {
16 .start = 0xfffe3800,
17 .end = 0xfffe393f,
18 .flags = IORESOURCE_MEM,
19 },
20};
21
22static int __init plat_pinmux_setup(void)
23{
24 return sh_pfc_register("pfc-sh7264", sh7264_pfc_resources,
25 ARRAY_SIZE(sh7264_pfc_resources));
26}
27arch_initcall(plat_pinmux_setup);