]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blame - arch/sh/kernel/cpu/sh2a/pinmux-sh7269.c
Merge branch 'akpm' (patches from Andrew)
[mirror_ubuntu-jammy-kernel.git] / arch / sh / kernel / cpu / sh2a / pinmux-sh7269.c
CommitLineData
234a0538 1// SPDX-License-Identifier: GPL-2.0
ef0fa533
PE
2/*
3 * SH7269 Pinmux
4 *
5 * Copyright (C) 2012 Renesas Electronics Europe Ltd
6 * Copyright (C) 2012 Phil Edworthy
ef0fa533
PE
7 */
8
6299e571 9#include <linux/bug.h>
ef0fa533 10#include <linux/init.h>
6299e571 11#include <linux/ioport.h>
ef0fa533 12#include <linux/kernel.h>
fb872fcc 13#include <cpu/pfc.h>
ef0fa533 14
a3475f00
LP
15static struct resource sh7269_pfc_resources[] = {
16 [0] = {
17 .start = 0xfffe3800,
18 .end = 0xfffe391f,
19 .flags = IORESOURCE_MEM,
20 },
21};
22
ef0fa533
PE
23static int __init plat_pinmux_setup(void)
24{
a3475f00
LP
25 return sh_pfc_register("pfc-sh7269", sh7269_pfc_resources,
26 ARRAY_SIZE(sh7269_pfc_resources));
ef0fa533
PE
27}
28arch_initcall(plat_pinmux_setup);