aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/board-devkit8000.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-omap2/board-devkit8000.c')
-rw-r--r--arch/arm/mach-omap2/board-devkit8000.c36
1 files changed, 17 insertions, 19 deletions
diff --git a/arch/arm/mach-omap2/board-devkit8000.c b/arch/arm/mach-omap2/board-devkit8000.c
index 34956ec83296..949dbeabab26 100644
--- a/arch/arm/mach-omap2/board-devkit8000.c
+++ b/arch/arm/mach-omap2/board-devkit8000.c
@@ -58,7 +58,6 @@
58 58
59#include "mux.h" 59#include "mux.h"
60#include "hsmmc.h" 60#include "hsmmc.h"
61#include "timer-gp.h"
62#include "common-board-devices.h" 61#include "common-board-devices.h"
63 62
64#define OMAP_DM9000_GPIO_IRQ 25 63#define OMAP_DM9000_GPIO_IRQ 25
@@ -130,13 +129,14 @@ static void devkit8000_panel_disable_dvi(struct omap_dss_device *dssdev)
130 gpio_set_value_cansleep(dssdev->reset_gpio, 0); 129 gpio_set_value_cansleep(dssdev->reset_gpio, 0);
131} 130}
132 131
133static struct regulator_consumer_supply devkit8000_vmmc1_supply = 132static struct regulator_consumer_supply devkit8000_vmmc1_supply[] = {
134 REGULATOR_SUPPLY("vmmc", "omap_hsmmc.0"); 133 REGULATOR_SUPPLY("vmmc", "omap_hsmmc.0"),
135 134};
136 135
137/* ads7846 on SPI */ 136/* ads7846 on SPI */
138static struct regulator_consumer_supply devkit8000_vio_supply = 137static struct regulator_consumer_supply devkit8000_vio_supply[] = {
139 REGULATOR_SUPPLY("vcc", "spi2.0"); 138 REGULATOR_SUPPLY("vcc", "spi2.0"),
139};
140 140
141static struct panel_generic_dpi_data lcd_panel = { 141static struct panel_generic_dpi_data lcd_panel = {
142 .name = "generic", 142 .name = "generic",
@@ -186,8 +186,9 @@ static struct omap_dss_board_info devkit8000_dss_data = {
186 .default_device = &devkit8000_lcd_device, 186 .default_device = &devkit8000_lcd_device,
187}; 187};
188 188
189static struct regulator_consumer_supply devkit8000_vdda_dac_supply = 189static struct regulator_consumer_supply devkit8000_vdda_dac_supply[] = {
190 REGULATOR_SUPPLY("vdda_dac", "omapdss_venc"); 190 REGULATOR_SUPPLY("vdda_dac", "omapdss_venc"),
191};
191 192
192static uint32_t board_keymap[] = { 193static uint32_t board_keymap[] = {
193 KEY(0, 0, KEY_1), 194 KEY(0, 0, KEY_1),
@@ -284,8 +285,8 @@ static struct regulator_init_data devkit8000_vmmc1 = {
284 | REGULATOR_CHANGE_MODE 285 | REGULATOR_CHANGE_MODE
285 | REGULATOR_CHANGE_STATUS, 286 | REGULATOR_CHANGE_STATUS,
286 }, 287 },
287 .num_consumer_supplies = 1, 288 .num_consumer_supplies = ARRAY_SIZE(devkit8000_vmmc1_supply),
288 .consumer_supplies = &devkit8000_vmmc1_supply, 289 .consumer_supplies = devkit8000_vmmc1_supply,
289}; 290};
290 291
291/* VDAC for DSS driving S-Video (8 mA unloaded, max 65 mA) */ 292/* VDAC for DSS driving S-Video (8 mA unloaded, max 65 mA) */
@@ -298,8 +299,8 @@ static struct regulator_init_data devkit8000_vdac = {
298 .valid_ops_mask = REGULATOR_CHANGE_MODE 299 .valid_ops_mask = REGULATOR_CHANGE_MODE
299 | REGULATOR_CHANGE_STATUS, 300 | REGULATOR_CHANGE_STATUS,
300 }, 301 },
301 .num_consumer_supplies = 1, 302 .num_consumer_supplies = ARRAY_SIZE(devkit8000_vdda_dac_supply),
302 .consumer_supplies = &devkit8000_vdda_dac_supply, 303 .consumer_supplies = devkit8000_vdda_dac_supply,
303}; 304};
304 305
305/* VPLL1 for digital video outputs */ 306/* VPLL1 for digital video outputs */
@@ -327,8 +328,8 @@ static struct regulator_init_data devkit8000_vio = {
327 .valid_ops_mask = REGULATOR_CHANGE_MODE 328 .valid_ops_mask = REGULATOR_CHANGE_MODE
328 | REGULATOR_CHANGE_STATUS, 329 | REGULATOR_CHANGE_STATUS,
329 }, 330 },
330 .num_consumer_supplies = 1, 331 .num_consumer_supplies = ARRAY_SIZE(devkit8000_vio_supply),
331 .consumer_supplies = &devkit8000_vio_supply, 332 .consumer_supplies = devkit8000_vio_supply,
332}; 333};
333 334
334static struct twl4030_usb_data devkit8000_usb_data = { 335static struct twl4030_usb_data devkit8000_usb_data = {
@@ -438,10 +439,7 @@ static void __init devkit8000_init_early(void)
438 439
439static void __init devkit8000_init_irq(void) 440static void __init devkit8000_init_irq(void)
440{ 441{
441 omap_init_irq(); 442 omap3_init_irq();
442#ifdef CONFIG_OMAP_32K_TIMER
443 omap2_gp_clockevent_set_gptimer(12);
444#endif
445} 443}
446 444
447#define OMAP_DM9000_BASE 0x2c000000 445#define OMAP_DM9000_BASE 0x2c000000
@@ -707,5 +705,5 @@ MACHINE_START(DEVKIT8000, "OMAP3 Devkit8000")
707 .init_early = devkit8000_init_early, 705 .init_early = devkit8000_init_early,
708 .init_irq = devkit8000_init_irq, 706 .init_irq = devkit8000_init_irq,
709 .init_machine = devkit8000_init, 707 .init_machine = devkit8000_init,
710 .timer = &omap_timer, 708 .timer = &omap3_secure_timer,
711MACHINE_END 709MACHINE_END