blob: cdb93734dd7284a56531193135688633248b32bb [file] [log] [blame]
Santosh Shilimkar46ba0ab2009-05-28 14:16:05 -07001/*
2 * Board support file for OMAP4430 SDP.
3 *
4 * Copyright (C) 2009 Texas Instruments
5 *
6 * Author: Santosh Shilimkar <santosh.shilimkar@ti.com>
7 *
8 * Based on mach-omap2/board-3430sdp.c
9 *
10 * This program is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License version 2 as
12 * published by the Free Software Foundation.
13 */
14
15#include <linux/kernel.h>
16#include <linux/init.h>
17#include <linux/platform_device.h>
18#include <linux/io.h>
19#include <linux/gpio.h>
Maulik Mankadbce06682010-02-17 14:09:32 -080020#include <linux/usb/otg.h>
Abraham Arceb2aa5e52010-05-14 12:05:26 -070021#include <linux/spi/spi.h>
Balaji T K6e30a7d2010-05-12 08:27:30 +000022#include <linux/i2c/twl.h>
Shubhrajyoti Datta94ce7a62010-09-23 18:22:49 -070023#include <linux/gpio_keys.h>
Balaji T K6e30a7d2010-05-12 08:27:30 +000024#include <linux/regulator/machine.h>
Hemanth V509b6d92010-08-02 13:18:04 +030025#include <linux/leds.h>
Santosh Shilimkar46ba0ab2009-05-28 14:16:05 -070026
27#include <mach/hardware.h>
Santosh Shilimkarfbc9be12010-05-14 12:05:26 -070028#include <mach/omap4-common.h>
Santosh Shilimkar46ba0ab2009-05-28 14:16:05 -070029#include <asm/mach-types.h>
30#include <asm/mach/arch.h>
31#include <asm/mach/map.h>
32
Tony Lindgrence491cf2009-10-20 09:40:47 -070033#include <plat/board.h>
34#include <plat/common.h>
35#include <plat/control.h>
36#include <plat/timer-gp.h>
Maulik Mankadbce06682010-02-17 14:09:32 -080037#include <plat/usb.h>
kishore kadiyala717c1fb2010-05-15 18:21:06 +000038#include <plat/mmc.h>
39#include "hsmmc.h"
Santosh Shilimkar46ba0ab2009-05-28 14:16:05 -070040
Abraham Arceb2aa5e52010-05-14 12:05:26 -070041#define ETH_KS8851_IRQ 34
42#define ETH_KS8851_POWER_ON 48
43#define ETH_KS8851_QUART 138
Shubhrajyoti Datta94ce7a62010-09-23 18:22:49 -070044#define OMAP4_SFH7741_SENSOR_OUTPUT_GPIO 184
45#define OMAP4_SFH7741_ENABLE_GPIO 188
Abraham Arceb2aa5e52010-05-14 12:05:26 -070046
Hemanth V509b6d92010-08-02 13:18:04 +030047static struct gpio_led sdp4430_gpio_leds[] = {
48 {
49 .name = "omap4:green:debug0",
50 .gpio = 61,
51 },
52 {
53 .name = "omap4:green:debug1",
54 .gpio = 30,
55 },
56 {
57 .name = "omap4:green:debug2",
58 .gpio = 7,
59 },
60 {
61 .name = "omap4:green:debug3",
62 .gpio = 8,
63 },
64 {
65 .name = "omap4:green:debug4",
66 .gpio = 50,
67 },
68 {
69 .name = "omap4:blue:user",
70 .gpio = 169,
71 },
72 {
73 .name = "omap4:red:user",
74 .gpio = 170,
75 },
76 {
77 .name = "omap4:green:user",
78 .gpio = 139,
79 },
80
81};
82
Shubhrajyoti Datta94ce7a62010-09-23 18:22:49 -070083static struct gpio_keys_button sdp4430_gpio_keys[] = {
84 {
85 .desc = "Proximity Sensor",
86 .type = EV_SW,
87 .code = SW_FRONT_PROXIMITY,
88 .gpio = OMAP4_SFH7741_SENSOR_OUTPUT_GPIO,
89 .active_low = 0,
90 }
91};
92
Hemanth V509b6d92010-08-02 13:18:04 +030093static struct gpio_led_platform_data sdp4430_led_data = {
94 .leds = sdp4430_gpio_leds,
95 .num_leds = ARRAY_SIZE(sdp4430_gpio_leds),
96};
97
Shubhrajyoti Datta94ce7a62010-09-23 18:22:49 -070098static int omap_prox_activate(struct device *dev)
99{
100 gpio_set_value(OMAP4_SFH7741_ENABLE_GPIO , 1);
101 return 0;
102}
103
104static void omap_prox_deactivate(struct device *dev)
105{
106 gpio_set_value(OMAP4_SFH7741_ENABLE_GPIO , 0);
107}
108
109static struct gpio_keys_platform_data sdp4430_gpio_keys_data = {
110 .buttons = sdp4430_gpio_keys,
111 .nbuttons = ARRAY_SIZE(sdp4430_gpio_keys),
112 .enable = omap_prox_activate,
113 .disable = omap_prox_deactivate,
114};
115
116static struct platform_device sdp4430_gpio_keys_device = {
117 .name = "gpio-keys",
118 .id = -1,
119 .dev = {
120 .platform_data = &sdp4430_gpio_keys_data,
121 },
122};
123
Hemanth V509b6d92010-08-02 13:18:04 +0300124static struct platform_device sdp4430_leds_gpio = {
125 .name = "leds-gpio",
126 .id = -1,
127 .dev = {
128 .platform_data = &sdp4430_led_data,
129 },
130};
Abraham Arceb2aa5e52010-05-14 12:05:26 -0700131static struct spi_board_info sdp4430_spi_board_info[] __initdata = {
132 {
133 .modalias = "ks8851",
134 .bus_num = 1,
135 .chip_select = 0,
136 .max_speed_hz = 24000000,
137 .irq = ETH_KS8851_IRQ,
138 },
139};
140
141static int omap_ethernet_init(void)
142{
143 int status;
144
145 /* Request of GPIO lines */
146
147 status = gpio_request(ETH_KS8851_POWER_ON, "eth_power");
148 if (status) {
149 pr_err("Cannot request GPIO %d\n", ETH_KS8851_POWER_ON);
150 return status;
151 }
152
153 status = gpio_request(ETH_KS8851_QUART, "quart");
154 if (status) {
155 pr_err("Cannot request GPIO %d\n", ETH_KS8851_QUART);
156 goto error1;
157 }
158
159 status = gpio_request(ETH_KS8851_IRQ, "eth_irq");
160 if (status) {
161 pr_err("Cannot request GPIO %d\n", ETH_KS8851_IRQ);
162 goto error2;
163 }
164
165 /* Configuration of requested GPIO lines */
166
167 status = gpio_direction_output(ETH_KS8851_POWER_ON, 1);
168 if (status) {
169 pr_err("Cannot set output GPIO %d\n", ETH_KS8851_IRQ);
170 goto error3;
171 }
172
173 status = gpio_direction_output(ETH_KS8851_QUART, 1);
174 if (status) {
175 pr_err("Cannot set output GPIO %d\n", ETH_KS8851_QUART);
176 goto error3;
177 }
178
179 status = gpio_direction_input(ETH_KS8851_IRQ);
180 if (status) {
181 pr_err("Cannot set input GPIO %d\n", ETH_KS8851_IRQ);
182 goto error3;
183 }
184
185 return 0;
186
187error3:
188 gpio_free(ETH_KS8851_IRQ);
189error2:
190 gpio_free(ETH_KS8851_QUART);
191error1:
192 gpio_free(ETH_KS8851_POWER_ON);
193 return status;
194}
195
Santosh Shilimkar46ba0ab2009-05-28 14:16:05 -0700196static struct platform_device sdp4430_lcd_device = {
197 .name = "sdp4430_lcd",
198 .id = -1,
199};
200
201static struct platform_device *sdp4430_devices[] __initdata = {
202 &sdp4430_lcd_device,
Shubhrajyoti Datta94ce7a62010-09-23 18:22:49 -0700203 &sdp4430_gpio_keys_device,
Hemanth V509b6d92010-08-02 13:18:04 +0300204 &sdp4430_leds_gpio,
Santosh Shilimkar46ba0ab2009-05-28 14:16:05 -0700205};
206
Santosh Shilimkar46ba0ab2009-05-28 14:16:05 -0700207static struct omap_lcd_config sdp4430_lcd_config __initdata = {
208 .ctrl_name = "internal",
209};
210
211static struct omap_board_config_kernel sdp4430_config[] __initdata = {
Santosh Shilimkar46ba0ab2009-05-28 14:16:05 -0700212 { OMAP_TAG_LCD, &sdp4430_lcd_config },
213};
214
Santosh Shilimkar46ba0ab2009-05-28 14:16:05 -0700215static void __init omap_4430sdp_init_irq(void)
216{
Santosh Shilimkar5b7815b2009-10-22 14:48:14 -0700217 omap_board_config = sdp4430_config;
218 omap_board_config_size = ARRAY_SIZE(sdp4430_config);
Jean Pihet58cda882009-07-24 19:43:25 -0600219 omap2_init_common_hw(NULL, NULL);
Santosh Shilimkar46ba0ab2009-05-28 14:16:05 -0700220#ifdef CONFIG_OMAP_32K_TIMER
221 omap2_gp_clockevent_set_gptimer(1);
222#endif
223 gic_init_irq();
224 omap_gpio_init();
225}
226
Maulik Mankadbce06682010-02-17 14:09:32 -0800227static struct omap_musb_board_data musb_board_data = {
228 .interface_type = MUSB_INTERFACE_UTMI,
229 .mode = MUSB_PERIPHERAL,
230 .power = 100,
231};
kishore kadiyala717c1fb2010-05-15 18:21:06 +0000232
233static struct omap2_hsmmc_info mmc[] = {
234 {
235 .mmc = 1,
Sukumar Ghorai3a638332010-09-15 14:49:23 +0000236 .caps = MMC_CAP_4_BIT_DATA | MMC_CAP_8_BIT_DATA,
kishore kadiyala717c1fb2010-05-15 18:21:06 +0000237 .gpio_wp = -EINVAL,
238 },
239 {
240 .mmc = 2,
Sukumar Ghorai3a638332010-09-15 14:49:23 +0000241 .caps = MMC_CAP_4_BIT_DATA | MMC_CAP_8_BIT_DATA,
kishore kadiyala717c1fb2010-05-15 18:21:06 +0000242 .gpio_cd = -EINVAL,
243 .gpio_wp = -EINVAL,
244 .nonremovable = true,
245 },
246 {} /* Terminator */
247};
248
Santosh Shilimkar50263912010-08-02 13:18:03 +0300249static struct regulator_consumer_supply sdp4430_vaux_supply[] = {
250 {
251 .supply = "vmmc",
252 .dev_name = "mmci-omap-hs.1",
253 },
254};
Balaji T K6e30a7d2010-05-12 08:27:30 +0000255static struct regulator_consumer_supply sdp4430_vmmc_supply[] = {
256 {
257 .supply = "vmmc",
kishore kadiyala717c1fb2010-05-15 18:21:06 +0000258 .dev_name = "mmci-omap-hs.0",
Balaji T K6e30a7d2010-05-12 08:27:30 +0000259 },
Balaji T K6e30a7d2010-05-12 08:27:30 +0000260};
261
kishore kadiyala717c1fb2010-05-15 18:21:06 +0000262static int omap4_twl6030_hsmmc_late_init(struct device *dev)
263{
264 int ret = 0;
265 struct platform_device *pdev = container_of(dev,
266 struct platform_device, dev);
267 struct omap_mmc_platform_data *pdata = dev->platform_data;
268
269 /* Setting MMC1 Card detect Irq */
270 if (pdev->id == 0)
271 pdata->slots[0].card_detect_irq = TWL6030_IRQ_BASE +
272 MMCDETECT_INTR_OFFSET;
273 return ret;
274}
275
276static __init void omap4_twl6030_hsmmc_set_late_init(struct device *dev)
277{
Benoit Cousson531c21b2010-10-01 16:35:26 -0700278 struct omap_mmc_platform_data *pdata;
kishore kadiyala717c1fb2010-05-15 18:21:06 +0000279
Benoit Cousson531c21b2010-10-01 16:35:26 -0700280 /* dev can be null if CONFIG_MMC_OMAP_HS is not set */
281 if (!dev) {
282 pr_err("Failed %s\n", __func__);
283 return;
284 }
285 pdata = dev->platform_data;
kishore kadiyala717c1fb2010-05-15 18:21:06 +0000286 pdata->init = omap4_twl6030_hsmmc_late_init;
287}
288
289static int __init omap4_twl6030_hsmmc_init(struct omap2_hsmmc_info *controllers)
290{
291 struct omap2_hsmmc_info *c;
292
293 omap2_hsmmc_init(controllers);
294 for (c = controllers; c->mmc; c++)
295 omap4_twl6030_hsmmc_set_late_init(c->dev);
296
297 return 0;
298}
299
Balaji T K6e30a7d2010-05-12 08:27:30 +0000300static struct regulator_init_data sdp4430_vaux1 = {
301 .constraints = {
302 .min_uV = 1000000,
303 .max_uV = 3000000,
304 .apply_uV = true,
305 .valid_modes_mask = REGULATOR_MODE_NORMAL
306 | REGULATOR_MODE_STANDBY,
307 .valid_ops_mask = REGULATOR_CHANGE_VOLTAGE
308 | REGULATOR_CHANGE_MODE
309 | REGULATOR_CHANGE_STATUS,
310 },
Santosh Shilimkar50263912010-08-02 13:18:03 +0300311 .num_consumer_supplies = 1,
312 .consumer_supplies = sdp4430_vaux_supply,
Balaji T K6e30a7d2010-05-12 08:27:30 +0000313};
314
315static struct regulator_init_data sdp4430_vaux2 = {
316 .constraints = {
317 .min_uV = 1200000,
318 .max_uV = 2800000,
319 .apply_uV = true,
320 .valid_modes_mask = REGULATOR_MODE_NORMAL
321 | REGULATOR_MODE_STANDBY,
322 .valid_ops_mask = REGULATOR_CHANGE_VOLTAGE
323 | REGULATOR_CHANGE_MODE
324 | REGULATOR_CHANGE_STATUS,
325 },
326};
327
328static struct regulator_init_data sdp4430_vaux3 = {
329 .constraints = {
330 .min_uV = 1000000,
331 .max_uV = 3000000,
332 .apply_uV = true,
333 .valid_modes_mask = REGULATOR_MODE_NORMAL
334 | REGULATOR_MODE_STANDBY,
335 .valid_ops_mask = REGULATOR_CHANGE_VOLTAGE
336 | REGULATOR_CHANGE_MODE
337 | REGULATOR_CHANGE_STATUS,
338 },
339};
340
341/* VMMC1 for MMC1 card */
342static struct regulator_init_data sdp4430_vmmc = {
343 .constraints = {
344 .min_uV = 1200000,
345 .max_uV = 3000000,
346 .apply_uV = true,
347 .valid_modes_mask = REGULATOR_MODE_NORMAL
348 | REGULATOR_MODE_STANDBY,
349 .valid_ops_mask = REGULATOR_CHANGE_VOLTAGE
350 | REGULATOR_CHANGE_MODE
351 | REGULATOR_CHANGE_STATUS,
352 },
Santosh Shilimkar50263912010-08-02 13:18:03 +0300353 .num_consumer_supplies = 1,
Balaji T K6e30a7d2010-05-12 08:27:30 +0000354 .consumer_supplies = sdp4430_vmmc_supply,
355};
356
357static struct regulator_init_data sdp4430_vpp = {
358 .constraints = {
359 .min_uV = 1800000,
360 .max_uV = 2500000,
361 .apply_uV = true,
362 .valid_modes_mask = REGULATOR_MODE_NORMAL
363 | REGULATOR_MODE_STANDBY,
364 .valid_ops_mask = REGULATOR_CHANGE_VOLTAGE
365 | REGULATOR_CHANGE_MODE
366 | REGULATOR_CHANGE_STATUS,
367 },
368};
369
370static struct regulator_init_data sdp4430_vusim = {
371 .constraints = {
372 .min_uV = 1200000,
373 .max_uV = 2900000,
374 .apply_uV = true,
375 .valid_modes_mask = REGULATOR_MODE_NORMAL
376 | REGULATOR_MODE_STANDBY,
377 .valid_ops_mask = REGULATOR_CHANGE_VOLTAGE
378 | REGULATOR_CHANGE_MODE
379 | REGULATOR_CHANGE_STATUS,
380 },
381};
382
383static struct regulator_init_data sdp4430_vana = {
384 .constraints = {
385 .min_uV = 2100000,
386 .max_uV = 2100000,
387 .apply_uV = true,
388 .valid_modes_mask = REGULATOR_MODE_NORMAL
389 | REGULATOR_MODE_STANDBY,
390 .valid_ops_mask = REGULATOR_CHANGE_MODE
391 | REGULATOR_CHANGE_STATUS,
392 },
393};
394
395static struct regulator_init_data sdp4430_vcxio = {
396 .constraints = {
397 .min_uV = 1800000,
398 .max_uV = 1800000,
399 .apply_uV = true,
400 .valid_modes_mask = REGULATOR_MODE_NORMAL
401 | REGULATOR_MODE_STANDBY,
402 .valid_ops_mask = REGULATOR_CHANGE_MODE
403 | REGULATOR_CHANGE_STATUS,
404 },
405};
406
407static struct regulator_init_data sdp4430_vdac = {
408 .constraints = {
409 .min_uV = 1800000,
410 .max_uV = 1800000,
411 .apply_uV = true,
412 .valid_modes_mask = REGULATOR_MODE_NORMAL
413 | REGULATOR_MODE_STANDBY,
414 .valid_ops_mask = REGULATOR_CHANGE_MODE
415 | REGULATOR_CHANGE_STATUS,
416 },
417};
418
419static struct regulator_init_data sdp4430_vusb = {
420 .constraints = {
421 .min_uV = 3300000,
422 .max_uV = 3300000,
423 .apply_uV = true,
424 .valid_modes_mask = REGULATOR_MODE_NORMAL
425 | REGULATOR_MODE_STANDBY,
426 .valid_ops_mask = REGULATOR_CHANGE_MODE
427 | REGULATOR_CHANGE_STATUS,
428 },
429};
430
431static struct twl4030_platform_data sdp4430_twldata = {
432 .irq_base = TWL6030_IRQ_BASE,
433 .irq_end = TWL6030_IRQ_END,
434
435 /* Regulators */
436 .vmmc = &sdp4430_vmmc,
437 .vpp = &sdp4430_vpp,
438 .vusim = &sdp4430_vusim,
439 .vana = &sdp4430_vana,
440 .vcxio = &sdp4430_vcxio,
441 .vdac = &sdp4430_vdac,
442 .vusb = &sdp4430_vusb,
443 .vaux1 = &sdp4430_vaux1,
444 .vaux2 = &sdp4430_vaux2,
445 .vaux3 = &sdp4430_vaux3,
446};
447
448static struct i2c_board_info __initdata sdp4430_i2c_boardinfo[] = {
449 {
450 I2C_BOARD_INFO("twl6030", 0x48),
451 .flags = I2C_CLIENT_WAKE,
452 .irq = OMAP44XX_IRQ_SYS_1N,
453 .platform_data = &sdp4430_twldata,
454 },
455};
Shubhrajyoti Datta83078f92010-08-02 13:18:04 +0300456static struct i2c_board_info __initdata sdp4430_i2c_3_boardinfo[] = {
457 {
458 I2C_BOARD_INFO("tmp105", 0x48),
459 },
460};
Shubhrajyoti Datta0df891b2010-09-23 18:22:47 -0700461static struct i2c_board_info __initdata sdp4430_i2c_4_boardinfo[] = {
462 {
463 I2C_BOARD_INFO("hmc5843", 0x1e),
464 },
465};
Santosh Shilimkarbaeb73e2010-05-12 08:27:29 +0000466static int __init omap4_i2c_init(void)
467{
468 /*
469 * Phoenix Audio IC needs I2C1 to
470 * start with 400 KHz or less
471 */
Balaji T K6e30a7d2010-05-12 08:27:30 +0000472 omap_register_i2c_bus(1, 400, sdp4430_i2c_boardinfo,
473 ARRAY_SIZE(sdp4430_i2c_boardinfo));
Santosh Shilimkarbaeb73e2010-05-12 08:27:29 +0000474 omap_register_i2c_bus(2, 400, NULL, 0);
Shubhrajyoti Datta83078f92010-08-02 13:18:04 +0300475 omap_register_i2c_bus(3, 400, sdp4430_i2c_3_boardinfo,
476 ARRAY_SIZE(sdp4430_i2c_3_boardinfo));
Shubhrajyoti Datta0df891b2010-09-23 18:22:47 -0700477 omap_register_i2c_bus(4, 400, sdp4430_i2c_4_boardinfo,
478 ARRAY_SIZE(sdp4430_i2c_4_boardinfo));
Santosh Shilimkarbaeb73e2010-05-12 08:27:29 +0000479 return 0;
480}
Shubhrajyoti Datta94ce7a62010-09-23 18:22:49 -0700481
482static void __init omap_sfh7741prox_init(void)
483{
484 int error;
485
486 error = gpio_request(OMAP4_SFH7741_ENABLE_GPIO, "sfh7741");
487 if (error < 0) {
488 pr_err("%s:failed to request GPIO %d, error %d\n",
489 __func__, OMAP4_SFH7741_ENABLE_GPIO, error);
490 return;
491 }
492
493 error = gpio_direction_output(OMAP4_SFH7741_ENABLE_GPIO , 0);
494 if (error < 0) {
495 pr_err("%s: GPIO configuration failed: GPIO %d,error %d\n",
496 __func__, OMAP4_SFH7741_ENABLE_GPIO, error);
497 gpio_free(OMAP4_SFH7741_ENABLE_GPIO);
498 }
499}
500
Santosh Shilimkar46ba0ab2009-05-28 14:16:05 -0700501static void __init omap_4430sdp_init(void)
502{
Abraham Arceb2aa5e52010-05-14 12:05:26 -0700503 int status;
504
Santosh Shilimkarbaeb73e2010-05-12 08:27:29 +0000505 omap4_i2c_init();
Shubhrajyoti Datta94ce7a62010-09-23 18:22:49 -0700506 omap_sfh7741prox_init();
Santosh Shilimkar46ba0ab2009-05-28 14:16:05 -0700507 platform_add_devices(sdp4430_devices, ARRAY_SIZE(sdp4430_devices));
Santosh Shilimkar46ba0ab2009-05-28 14:16:05 -0700508 omap_serial_init();
kishore kadiyala717c1fb2010-05-15 18:21:06 +0000509 omap4_twl6030_hsmmc_init(mmc);
Maulik Mankadbce06682010-02-17 14:09:32 -0800510 /* OMAP4 SDP uses internal transceiver so register nop transceiver */
511 usb_nop_xceiv_register();
Santosh Shilimkarae46ec772010-02-16 19:29:20 +0530512 /* FIXME: allow multi-omap to boot until musb is updated for omap4 */
513 if (!cpu_is_omap44xx())
514 usb_musb_init(&musb_board_data);
Abraham Arceb2aa5e52010-05-14 12:05:26 -0700515
516 status = omap_ethernet_init();
517 if (status) {
518 pr_err("Ethernet initialization failed: %d\n", status);
519 } else {
520 sdp4430_spi_board_info[0].irq = gpio_to_irq(ETH_KS8851_IRQ);
521 spi_register_board_info(sdp4430_spi_board_info,
522 ARRAY_SIZE(sdp4430_spi_board_info));
523 }
Santosh Shilimkar46ba0ab2009-05-28 14:16:05 -0700524}
525
526static void __init omap_4430sdp_map_io(void)
527{
528 omap2_set_globals_443x();
Tony Lindgren6fbd55d2010-02-12 12:26:47 -0800529 omap44xx_map_common_io();
Santosh Shilimkar46ba0ab2009-05-28 14:16:05 -0700530}
531
532MACHINE_START(OMAP_4430SDP, "OMAP4430 4430SDP board")
533 /* Maintainer: Santosh Shilimkar - Texas Instruments Inc */
534 .phys_io = 0x48000000,
Santosh Shilimkarb4224b22009-10-19 17:25:55 -0700535 .io_pg_offst = ((0xfa000000) >> 18) & 0xfffc,
Santosh Shilimkar46ba0ab2009-05-28 14:16:05 -0700536 .boot_params = 0x80000100,
537 .map_io = omap_4430sdp_map_io,
Russell King71ee7da2010-05-23 10:18:16 +0100538 .reserve = omap_reserve,
Santosh Shilimkar46ba0ab2009-05-28 14:16:05 -0700539 .init_irq = omap_4430sdp_init_irq,
540 .init_machine = omap_4430sdp_init,
541 .timer = &omap_timer,
542MACHINE_END