Path: blob/master/arch/sh/kernel/cpu/sh4a/pinmux-sh7734.c
26498 views
// SPDX-License-Identifier: GPL-2.01/*2* SH7734 processor support - PFC hardware block3*4* Copyright (C) 2012 Renesas Solutions Corp.5* Copyright (C) 2012 Nobuhiro Iwamatsu <[email protected]>6*/7#include <linux/bug.h>8#include <linux/init.h>9#include <linux/kernel.h>10#include <linux/ioport.h>11#include <cpu/pfc.h>1213static struct resource sh7734_pfc_resources[] = {14[0] = { /* PFC */15.start = 0xFFFC0000,16.end = 0xFFFC011C,17.flags = IORESOURCE_MEM,18},19[1] = { /* GPIO */20.start = 0xFFC40000,21.end = 0xFFC4502B,22.flags = IORESOURCE_MEM,23}24};2526static int __init plat_pinmux_setup(void)27{28return sh_pfc_register("pfc-sh7734", sh7734_pfc_resources,29ARRAY_SIZE(sh7734_pfc_resources));30}31arch_initcall(plat_pinmux_setup);323334