diff options
author | Magnus Damm <damm@opensource.se> | 2013-03-28 00:50:03 +0900 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2013-04-02 11:02:20 +0900 |
commit | 69e351d029985a31abd41b2b8729788a01e8588d (patch) | |
tree | 1953be158e979330d020ce0d80fbe6d9d92cb9d4 /arch/arm/mach-shmobile/setup-r8a7790.c | |
parent | 8f5ec0a57ef503e7609d763cadba55f12b9486ce (diff) | |
download | talos-obmc-linux-69e351d029985a31abd41b2b8729788a01e8588d.tar.gz talos-obmc-linux-69e351d029985a31abd41b2b8729788a01e8588d.zip |
ARM: shmobile: r8a7790 PFC support
Add a platform device for the r8a7790 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-r8a7790.c')
-rw-r--r-- | arch/arm/mach-shmobile/setup-r8a7790.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/mach-shmobile/setup-r8a7790.c b/arch/arm/mach-shmobile/setup-r8a7790.c index 9b4ccd7b5031..481201a4f3f5 100644 --- a/arch/arm/mach-shmobile/setup-r8a7790.c +++ b/arch/arm/mach-shmobile/setup-r8a7790.c @@ -29,6 +29,16 @@ #include <mach/r8a7790.h> #include <asm/mach/arch.h> +static const struct resource pfc_resources[] = { + DEFINE_RES_MEM(0xe6060000, 0x250), +}; + +void __init r8a7790_pinmux_init(void) +{ + platform_device_register_simple("pfc-r8a7790", -1, pfc_resources, + ARRAY_SIZE(pfc_resources)); +} + #define SCIF_COMMON(scif_type, baseaddr, irq) \ .type = scif_type, \ .mapbase = baseaddr, \ |