summaryrefslogtreecommitdiff
path: root/arch/arm/mach-shmobile/setup-r8a73a4.c
diff options
context:
space:
mode:
authorMagnus Damm <damm@opensource.se>2013-03-26 05:34:52 +0400
committerSimon Horman <horms+renesas@verge.net.au>2013-04-02 05:58:20 +0400
commitd313d068d4b5801ea9c0c66bed66f37c64ad6807 (patch)
tree0f7e9af4d8423b98dbfe014625e4f11f6cf53cd6 /arch/arm/mach-shmobile/setup-r8a73a4.c
parent984ca295010ad0113b986a404931566f9b1791d4 (diff)
downloadlinux-d313d068d4b5801ea9c0c66bed66f37c64ad6807.tar.xz
ARM: shmobile: r8a73a4 PFC support
Add a platform device for the r8a73a4 PFC. Signed-off-by: Magnus Damm <damm@opensource.se> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm/mach-shmobile/setup-r8a73a4.c')
-rw-r--r--arch/arm/mach-shmobile/setup-r8a73a4.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/mach-shmobile/setup-r8a73a4.c b/arch/arm/mach-shmobile/setup-r8a73a4.c
index da5ae1611518..c2d86f30cde4 100644
--- a/arch/arm/mach-shmobile/setup-r8a73a4.c
+++ b/arch/arm/mach-shmobile/setup-r8a73a4.c
@@ -28,6 +28,16 @@
#include <mach/r8a73a4.h>
#include <asm/mach/arch.h>
+static const struct resource pfc_resources[] = {
+ DEFINE_RES_MEM(0xe6050000, 0x9000),
+};
+
+void __init r8a73a4_pinmux_init(void)
+{
+ platform_device_register_simple("pfc-r8a73a4", -1, pfc_resources,
+ ARRAY_SIZE(pfc_resources));
+}
+
#define SCIF_COMMON(scif_type, baseaddr, irq) \
.type = scif_type, \
.mapbase = baseaddr, \