summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-shmobile/setup-r8a7778.c
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2013-04-12 05:37:50 +0000
committerSimon Horman <horms+renesas@verge.net.au>2013-06-04 21:03:57 +0900
commit369b00bbe51e128a201af58a4daabb01253f126e (patch)
treeb3bd53d29b54e17611d735f5c5b43f90e09c4bea /arch/arm/mach-shmobile/setup-r8a7778.c
parent9904319d4f6f4fe0be84c98d73a9a2174d3893c9 (diff)
downloadop-kernel-dev-369b00bbe51e128a201af58a4daabb01253f126e.zip
op-kernel-dev-369b00bbe51e128a201af58a4daabb01253f126e.tar.gz
ARM: shmobile: r8a7778: Register PFC device
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm/mach-shmobile/setup-r8a7778.c')
-rw-r--r--arch/arm/mach-shmobile/setup-r8a7778.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm/mach-shmobile/setup-r8a7778.c b/arch/arm/mach-shmobile/setup-r8a7778.c
index 30b4a33..0ca5701 100644
--- a/arch/arm/mach-shmobile/setup-r8a7778.c
+++ b/arch/arm/mach-shmobile/setup-r8a7778.c
@@ -94,6 +94,19 @@ static struct resource ether_resources[] = {
&sh_tmu##idx##_platform_data, \
sizeof(sh_tmu##idx##_platform_data))
+/* PFC */
+static struct resource pfc_resources[] = {
+ DEFINE_RES_MEM(0xfffc0000, 0x118),
+};
+
+void __init r8a7778_pinmux_init(void)
+{
+ platform_device_register_simple(
+ "pfc-r8a7778", -1,
+ pfc_resources,
+ ARRAY_SIZE(pfc_resources));
+}
+
void __init r8a7778_add_standard_devices(void)
{
int i;
OpenPOWER on IntegriCloud