diff options
author | Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> | 2012-12-15 17:51:28 -0500 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2013-01-24 19:24:29 -0500 |
commit | 994d66a4c203d2e9beb41cb98eb698320ba98318 (patch) | |
tree | 9a07c684594e50e205dd6814d5d2d795957e46fe /arch/arm/mach-shmobile/setup-sh73a0.c | |
parent | 5967fe09051dfdeeff3186a12fb379a2e61dcc45 (diff) |
ARM: shmobile: sh73a0: Use driver-provided pinmux info
Pinmux info for the sh73a0 is now provided by pinmux drivers. Remove the
duplicate copy in arch code.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm/mach-shmobile/setup-sh73a0.c')
-rw-r--r-- | arch/arm/mach-shmobile/setup-sh73a0.c | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/arch/arm/mach-shmobile/setup-sh73a0.c b/arch/arm/mach-shmobile/setup-sh73a0.c index db99a4ade80c..eab1bae785a1 100644 --- a/arch/arm/mach-shmobile/setup-sh73a0.c +++ b/arch/arm/mach-shmobile/setup-sh73a0.c | |||
@@ -57,6 +57,31 @@ void __init sh73a0_map_io(void) | |||
57 | iotable_init(sh73a0_io_desc, ARRAY_SIZE(sh73a0_io_desc)); | 57 | iotable_init(sh73a0_io_desc, ARRAY_SIZE(sh73a0_io_desc)); |
58 | } | 58 | } |
59 | 59 | ||
60 | static struct resource sh73a0_pfc_resources[] = { | ||
61 | [0] = { | ||
62 | .start = 0xe6050000, | ||
63 | .end = 0xe6057fff, | ||
64 | .flags = IORESOURCE_MEM, | ||
65 | }, | ||
66 | [1] = { | ||
67 | .start = 0xe605801c, | ||
68 | .end = 0xe6058027, | ||
69 | .flags = IORESOURCE_MEM, | ||
70 | } | ||
71 | }; | ||
72 | |||
73 | static struct platform_device sh73a0_pfc_device = { | ||
74 | .name = "pfc-sh73a0", | ||
75 | .id = -1, | ||
76 | .resource = sh73a0_pfc_resources, | ||
77 | .num_resources = ARRAY_SIZE(sh73a0_pfc_resources), | ||
78 | }; | ||
79 | |||
80 | void __init sh73a0_pinmux_init(void) | ||
81 | { | ||
82 | platform_device_register(&sh73a0_pfc_device); | ||
83 | } | ||
84 | |||
60 | static struct plat_sci_port scif0_platform_data = { | 85 | static struct plat_sci_port scif0_platform_data = { |
61 | .mapbase = 0xe6c40000, | 86 | .mapbase = 0xe6c40000, |
62 | .flags = UPF_BOOT_AUTOCONF, | 87 | .flags = UPF_BOOT_AUTOCONF, |