diff options
Diffstat (limited to 'arch/arm/mach-shmobile/board-armadillo800eva-reference.c')
-rw-r--r-- | arch/arm/mach-shmobile/board-armadillo800eva-reference.c | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/arch/arm/mach-shmobile/board-armadillo800eva-reference.c b/arch/arm/mach-shmobile/board-armadillo800eva-reference.c index 8f677df2d4c4..fd2446d995ad 100644 --- a/arch/arm/mach-shmobile/board-armadillo800eva-reference.c +++ b/arch/arm/mach-shmobile/board-armadillo800eva-reference.c | |||
@@ -24,7 +24,6 @@ | |||
24 | #include <linux/kernel.h> | 24 | #include <linux/kernel.h> |
25 | #include <linux/gpio.h> | 25 | #include <linux/gpio.h> |
26 | #include <linux/io.h> | 26 | #include <linux/io.h> |
27 | #include <linux/pinctrl/machine.h> | ||
28 | #include <mach/common.h> | 27 | #include <mach/common.h> |
29 | #include <mach/r8a7740.h> | 28 | #include <mach/r8a7740.h> |
30 | #include <asm/mach/arch.h> | 29 | #include <asm/mach/arch.h> |
@@ -119,12 +118,6 @@ | |||
119 | * usbhsf_power_ctrl() | 118 | * usbhsf_power_ctrl() |
120 | */ | 119 | */ |
121 | 120 | ||
122 | static const struct pinctrl_map eva_pinctrl_map[] = { | ||
123 | /* SCIFA1 */ | ||
124 | PIN_MAP_MUX_GROUP_DEFAULT("sh-sci.1", "pfc-r8a7740", | ||
125 | "scifa1_data", "scifa1"), | ||
126 | }; | ||
127 | |||
128 | static void __init eva_clock_init(void) | 121 | static void __init eva_clock_init(void) |
129 | { | 122 | { |
130 | struct clk *system = clk_get(NULL, "system_clk"); | 123 | struct clk *system = clk_get(NULL, "system_clk"); |
@@ -165,27 +158,18 @@ clock_error: | |||
165 | */ | 158 | */ |
166 | static void __init eva_init(void) | 159 | static void __init eva_init(void) |
167 | { | 160 | { |
168 | |||
169 | r8a7740_clock_init(MD_CK0 | MD_CK2); | 161 | r8a7740_clock_init(MD_CK0 | MD_CK2); |
170 | eva_clock_init(); | 162 | eva_clock_init(); |
171 | 163 | ||
172 | pinctrl_register_mappings(eva_pinctrl_map, ARRAY_SIZE(eva_pinctrl_map)); | ||
173 | r8a7740_pinmux_init(); | ||
174 | |||
175 | r8a7740_meram_workaround(); | 164 | r8a7740_meram_workaround(); |
176 | 165 | ||
177 | /* | ||
178 | * Touchscreen | ||
179 | * TODO: Move reset GPIO over to .dts when we can reference it | ||
180 | */ | ||
181 | gpio_request_one(166, GPIOF_OUT_INIT_HIGH, NULL); /* TP_RST_B */ | ||
182 | |||
183 | #ifdef CONFIG_CACHE_L2X0 | 166 | #ifdef CONFIG_CACHE_L2X0 |
184 | /* Early BRESP enable, Shared attribute override enable, 32K*8way */ | 167 | /* Early BRESP enable, Shared attribute override enable, 32K*8way */ |
185 | l2x0_init(IOMEM(0xf0002000), 0x40440000, 0x82000fff); | 168 | l2x0_init(IOMEM(0xf0002000), 0x40440000, 0x82000fff); |
186 | #endif | 169 | #endif |
187 | 170 | ||
188 | r8a7740_add_standard_devices_dt(); | 171 | r8a7740_add_standard_devices_dt(); |
172 | |||
189 | r8a7740_pm_init(); | 173 | r8a7740_pm_init(); |
190 | } | 174 | } |
191 | 175 | ||