blob: afcb48a5792c19b613ca36195388ac84afea61d5 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001/*
2 * linux/arch/arm/mach-pxa/poodle.c
3 *
4 * Support for the SHARP Poodle Board.
5 *
6 * Based on:
7 * linux/arch/arm/mach-pxa/lubbock.c Author: Nicolas Pitre
8 *
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License version 2 as
11 * published by the Free Software Foundation.
12 *
13 * Change Log
14 * 12-Dec-2002 Sharp Corporation for Poodle
15 * John Lenz <lenz@cs.wisc.edu> updates to 2.6
16 */
17#include <linux/kernel.h>
18#include <linux/init.h>
Paul Gortmakerdc280942011-07-31 16:17:29 -040019#include <linux/export.h>
Russell Kingd052d1b2005-10-29 19:07:23 +010020#include <linux/platform_device.h>
Linus Torvalds1da177e2005-04-16 15:20:36 -070021#include <linux/fb.h>
Richard Purdie74617fb2006-06-19 19:57:12 +010022#include <linux/pm.h>
Richard Purdie88660352006-06-19 19:58:51 +010023#include <linux/delay.h>
Dmitry Baryshkov431a2cf2008-11-25 00:57:30 +030024#include <linux/mtd/physmap.h>
Eric Miaoce5291472008-07-18 08:59:04 +080025#include <linux/gpio.h>
Mark Brown8776b262009-04-26 12:53:58 +010026#include <linux/i2c.h>
Sebastian Andrzej Siewiorb4593962011-02-23 12:38:16 +010027#include <linux/i2c/pxa-i2c.h>
Eric Miao9ee40d92008-08-24 05:32:15 -040028#include <linux/spi/spi.h>
29#include <linux/spi/ads7846.h>
Sebastian Andrzej Siewior8348c252010-11-22 17:12:15 -080030#include <linux/spi/pxa2xx_spi.h>
Dmitry Baryshkov6af7a8e2008-10-16 19:17:05 +040031#include <linux/mtd/sharpsl.h>
Linus Torvalds1da177e2005-04-16 15:20:36 -070032
Russell Kinga09e64f2008-08-05 16:14:15 +010033#include <mach/hardware.h>
Linus Torvalds1da177e2005-04-16 15:20:36 -070034#include <asm/mach-types.h>
35#include <asm/irq.h>
36#include <asm/setup.h>
Richard Purdie74617fb2006-06-19 19:57:12 +010037#include <asm/system.h>
Linus Torvalds1da177e2005-04-16 15:20:36 -070038
39#include <asm/mach/arch.h>
40#include <asm/mach/map.h>
41#include <asm/mach/irq.h>
42
Eric Miao51c62982009-01-02 23:17:22 +080043#include <mach/pxa25x.h>
Russell Kinga09e64f2008-08-05 16:14:15 +010044#include <mach/mmc.h>
45#include <mach/udc.h>
46#include <mach/irda.h>
47#include <mach/poodle.h>
48#include <mach/pxafb.h>
Linus Torvalds1da177e2005-04-16 15:20:36 -070049
50#include <asm/hardware/scoop.h>
51#include <asm/hardware/locomo.h>
52#include <asm/mach/sharpsl_param.h>
53
54#include "generic.h"
Russell King46c41e62007-05-15 15:39:36 +010055#include "devices.h"
Linus Torvalds1da177e2005-04-16 15:20:36 -070056
Eric Miao26b4c8d2008-07-18 09:05:17 +080057static unsigned long poodle_pin_config[] __initdata = {
58 /* I/O */
59 GPIO79_nCS_3,
60 GPIO80_nCS_4,
61 GPIO18_RDY,
62
63 /* Clock */
64 GPIO12_32KHz,
65
66 /* SSP1 */
67 GPIO23_SSP1_SCLK,
Eric Miao26b4c8d2008-07-18 09:05:17 +080068 GPIO25_SSP1_TXD,
69 GPIO26_SSP1_RXD,
Eric Miao9ee40d92008-08-24 05:32:15 -040070 GPIO24_GPIO, /* POODLE_GPIO_TP_CS - SFRM as chip select */
Eric Miao26b4c8d2008-07-18 09:05:17 +080071
72 /* I2S */
73 GPIO28_I2S_BITCLK_OUT,
74 GPIO29_I2S_SDATA_IN,
75 GPIO30_I2S_SDATA_OUT,
76 GPIO31_I2S_SYNC,
77 GPIO32_I2S_SYSCLK,
78
79 /* Infra-Red */
80 GPIO47_FICP_TXD,
81 GPIO46_FICP_RXD,
82
83 /* FFUART */
84 GPIO40_FFUART_DTR,
85 GPIO41_FFUART_RTS,
86 GPIO39_FFUART_TXD,
87 GPIO37_FFUART_DSR,
88 GPIO34_FFUART_RXD,
89 GPIO35_FFUART_CTS,
90
91 /* LCD */
Eric Miao07bae6c2010-01-04 11:25:10 +080092 GPIOxx_LCD_TFT_16BPP,
Eric Miao26b4c8d2008-07-18 09:05:17 +080093
94 /* PC Card */
95 GPIO48_nPOE,
96 GPIO49_nPWE,
97 GPIO50_nPIOR,
98 GPIO51_nPIOW,
99 GPIO52_nPCE_1,
100 GPIO53_nPCE_2,
101 GPIO54_nPSKTSEL,
102 GPIO55_nPREG,
103 GPIO56_nPWAIT,
104 GPIO57_nIOIS16,
105
106 /* MMC */
107 GPIO6_MMC_CLK,
108 GPIO8_MMC_CS0,
109
110 /* GPIO */
111 GPIO9_GPIO, /* POODLE_GPIO_nSD_DETECT */
112 GPIO7_GPIO, /* POODLE_GPIO_nSD_WP */
113 GPIO3_GPIO, /* POODLE_GPIO_SD_PWR */
114 GPIO33_GPIO, /* POODLE_GPIO_SD_PWR1 */
115
116 GPIO20_GPIO, /* POODLE_GPIO_USB_PULLUP */
117 GPIO22_GPIO, /* POODLE_GPIO_IR_ON */
118};
119
Linus Torvalds1da177e2005-04-16 15:20:36 -0700120static struct resource poodle_scoop_resources[] = {
121 [0] = {
122 .start = 0x10800000,
123 .end = 0x10800fff,
124 .flags = IORESOURCE_MEM,
125 },
126};
127
128static struct scoop_config poodle_scoop_setup = {
129 .io_dir = POODLE_SCOOP_IO_DIR,
130 .io_out = POODLE_SCOOP_IO_OUT,
Eric Miao2d91f942008-09-05 16:21:48 +0800131 .gpio_base = POODLE_SCOOP_GPIO_BASE,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700132};
133
134struct platform_device poodle_scoop_device = {
135 .name = "sharp-scoop",
136 .id = -1,
137 .dev = {
138 .platform_data = &poodle_scoop_setup,
139 },
140 .num_resources = ARRAY_SIZE(poodle_scoop_resources),
141 .resource = poodle_scoop_resources,
142};
143
Richard Purdie0ce76252005-09-05 20:49:54 +0100144static struct scoop_pcmcia_dev poodle_pcmcia_scoop[] = {
145{
146 .dev = &poodle_scoop_device.dev,
147 .irq = POODLE_IRQ_GPIO_CF_IRQ,
148 .cd_irq = POODLE_IRQ_GPIO_CF_CD,
149 .cd_irq_str = "PCMCIA0 CD",
150},
151};
152
Richard Purdiea63ae442005-11-08 19:15:43 +0000153static struct scoop_pcmcia_config poodle_pcmcia_config = {
154 .devs = &poodle_pcmcia_scoop[0],
155 .num_devs = 1,
Richard Purdiea63ae442005-11-08 19:15:43 +0000156};
157
158EXPORT_SYMBOL(poodle_scoop_device);
159
Linus Torvalds1da177e2005-04-16 15:20:36 -0700160
161/* LoCoMo device */
162static struct resource locomo_resources[] = {
163 [0] = {
164 .start = 0x10000000,
165 .end = 0x10001fff,
166 .flags = IORESOURCE_MEM,
167 },
168 [1] = {
169 .start = IRQ_GPIO(10),
170 .end = IRQ_GPIO(10),
171 .flags = IORESOURCE_IRQ,
172 },
173};
174
Eric Miaoac609d22010-02-04 18:07:33 -0800175static struct locomo_platform_data locomo_info = {
176 .irq_base = IRQ_BOARD_START,
177};
178
Richard Purdiefaed5682006-06-19 20:46:05 +0100179struct platform_device poodle_locomo_device = {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700180 .name = "locomo",
181 .id = 0,
182 .num_resources = ARRAY_SIZE(locomo_resources),
183 .resource = locomo_resources,
Eric Miaoac609d22010-02-04 18:07:33 -0800184 .dev = {
185 .platform_data = &locomo_info,
186 },
Linus Torvalds1da177e2005-04-16 15:20:36 -0700187};
188
Richard Purdiefaed5682006-06-19 20:46:05 +0100189EXPORT_SYMBOL(poodle_locomo_device);
190
Eric Miao9ee40d92008-08-24 05:32:15 -0400191#if defined(CONFIG_SPI_PXA2XX) || defined(CONFIG_SPI_PXA2XX_MODULE)
192static struct pxa2xx_spi_master poodle_spi_info = {
193 .num_chipselect = 1,
Richard Purdiefaed5682006-06-19 20:46:05 +0100194};
195
Eric Miao9ee40d92008-08-24 05:32:15 -0400196static struct ads7846_platform_data poodle_ads7846_info = {
197 .model = 7846,
198 .vref_delay_usecs = 100,
199 .x_plate_ohms = 419,
200 .y_plate_ohms = 486,
201 .gpio_pendown = POODLE_GPIO_TP_INT,
Richard Purdiefaed5682006-06-19 20:46:05 +0100202};
203
Eric Miao9ee40d92008-08-24 05:32:15 -0400204static struct pxa2xx_spi_chip poodle_ads7846_chip = {
Mike Rapoport46580c02009-04-14 08:33:49 +0300205 .gpio_cs = POODLE_GPIO_TP_CS,
Eric Miao9ee40d92008-08-24 05:32:15 -0400206};
207
208static struct spi_board_info poodle_spi_devices[] = {
209 {
210 .modalias = "ads7846",
211 .max_speed_hz = 10000,
212 .bus_num = 1,
213 .platform_data = &poodle_ads7846_info,
214 .controller_data= &poodle_ads7846_chip,
215 .irq = gpio_to_irq(POODLE_GPIO_TP_INT),
Richard Purdiefaed5682006-06-19 20:46:05 +0100216 },
217};
218
Eric Miao9ee40d92008-08-24 05:32:15 -0400219static void __init poodle_init_spi(void)
Richard Purdiefaed5682006-06-19 20:46:05 +0100220{
Eric Miao9ee40d92008-08-24 05:32:15 -0400221 pxa2xx_set_spi_info(1, &poodle_spi_info);
222 spi_register_board_info(ARRAY_AND_SIZE(poodle_spi_devices));
Richard Purdiefaed5682006-06-19 20:46:05 +0100223}
Eric Miao9ee40d92008-08-24 05:32:15 -0400224#else
225static inline void poodle_init_spi(void) {}
226#endif
Richard Purdie13b9d472005-09-15 14:53:22 +0100227
228/*
229 * MMC/SD Device
230 *
231 * The card detect interrupt isn't debounced so we delay it by 250ms
232 * to give the card a chance to fully insert/eject.
233 */
David Howells40220c12006-10-09 12:19:47 +0100234static int poodle_mci_init(struct device *dev, irq_handler_t poodle_detect_int, void *data)
Richard Purdie13b9d472005-09-15 14:53:22 +0100235{
236 int err;
237
Eric Miaoce5291472008-07-18 08:59:04 +0800238 err = gpio_request(POODLE_GPIO_SD_PWR, "SD_PWR");
239 if (err)
240 goto err_free_2;
241
242 err = gpio_request(POODLE_GPIO_SD_PWR1, "SD_PWR1");
243 if (err)
244 goto err_free_3;
245
Eric Miaoce5291472008-07-18 08:59:04 +0800246 gpio_direction_output(POODLE_GPIO_SD_PWR, 0);
247 gpio_direction_output(POODLE_GPIO_SD_PWR1, 0);
Richard Purdie13b9d472005-09-15 14:53:22 +0100248
Eric Miaoce5291472008-07-18 08:59:04 +0800249 return 0;
250
Eric Miaoce5291472008-07-18 08:59:04 +0800251err_free_3:
252 gpio_free(POODLE_GPIO_SD_PWR);
253err_free_2:
Russell King2687bd32008-01-23 14:05:58 +0000254 return err;
Richard Purdie13b9d472005-09-15 14:53:22 +0100255}
256
257static void poodle_mci_setpower(struct device *dev, unsigned int vdd)
258{
259 struct pxamci_platform_data* p_d = dev->platform_data;
260
Eric Miaoce5291472008-07-18 08:59:04 +0800261 if ((1 << vdd) & p_d->ocr_mask) {
262 gpio_set_value(POODLE_GPIO_SD_PWR, 1);
Richard Purdie88660352006-06-19 19:58:51 +0100263 mdelay(2);
Eric Miaoce5291472008-07-18 08:59:04 +0800264 gpio_set_value(POODLE_GPIO_SD_PWR1, 1);
Richard Purdie88660352006-06-19 19:58:51 +0100265 } else {
Eric Miaoce5291472008-07-18 08:59:04 +0800266 gpio_set_value(POODLE_GPIO_SD_PWR1, 0);
267 gpio_set_value(POODLE_GPIO_SD_PWR, 0);
Richard Purdie88660352006-06-19 19:58:51 +0100268 }
Richard Purdie13b9d472005-09-15 14:53:22 +0100269}
270
271static void poodle_mci_exit(struct device *dev, void *data)
272{
Eric Miaoce5291472008-07-18 08:59:04 +0800273 gpio_free(POODLE_GPIO_SD_PWR1);
274 gpio_free(POODLE_GPIO_SD_PWR);
Richard Purdie13b9d472005-09-15 14:53:22 +0100275}
276
277static struct pxamci_platform_data poodle_mci_platform_data = {
Eric Miaof97cab22010-04-14 07:00:42 +0800278 .detect_delay_ms = 250,
Robert Jarzmik7a648252009-07-06 22:16:42 +0200279 .ocr_mask = MMC_VDD_32_33|MMC_VDD_33_34,
280 .init = poodle_mci_init,
281 .setpower = poodle_mci_setpower,
282 .exit = poodle_mci_exit,
Eric Miao91a86a92009-12-25 09:21:34 +0800283 .gpio_card_detect = POODLE_GPIO_nSD_DETECT,
Robert Jarzmik7a648252009-07-06 22:16:42 +0200284 .gpio_card_ro = POODLE_GPIO_nSD_WP,
285 .gpio_power = -1,
Richard Purdie13b9d472005-09-15 14:53:22 +0100286};
287
288
289/*
Richard Purdie8e4b8712005-10-30 14:38:52 +0000290 * Irda
291 */
Richard Purdie8e4b8712005-10-30 14:38:52 +0000292static struct pxaficp_platform_data poodle_ficp_platform_data = {
Marek Vasutc4bd0172009-07-17 12:50:43 +0200293 .gpio_pwdown = POODLE_GPIO_IR_ON,
Eric Miaoce5291472008-07-18 08:59:04 +0800294 .transceiver_cap = IR_SIRMODE | IR_OFF,
Richard Purdie8e4b8712005-10-30 14:38:52 +0000295};
296
297
298/*
Richard Purdie13b9d472005-09-15 14:53:22 +0100299 * USB Device Controller
300 */
Richard Purdie13b9d472005-09-15 14:53:22 +0100301static struct pxa2xx_udc_mach_info udc_info __initdata = {
302 /* no connect GPIO; poodle can't tell connection status */
Eric Miao1730aad2008-07-18 08:51:07 +0800303 .gpio_pullup = POODLE_GPIO_USB_PULLUP,
Richard Purdie13b9d472005-09-15 14:53:22 +0100304};
305
306
Linus Torvalds1da177e2005-04-16 15:20:36 -0700307/* PXAFB device */
Richard Purdied14b2722006-09-20 22:54:21 +0100308static struct pxafb_mode_info poodle_fb_mode = {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700309 .pixclock = 144700,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700310 .xres = 320,
311 .yres = 240,
312 .bpp = 16,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700313 .hsync_len = 7,
314 .left_margin = 11,
315 .right_margin = 30,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700316 .vsync_len = 2,
317 .upper_margin = 2,
318 .lower_margin = 0,
319 .sync = FB_SYNC_HOR_HIGH_ACT | FB_SYNC_VERT_HIGH_ACT,
Richard Purdied14b2722006-09-20 22:54:21 +0100320};
Linus Torvalds1da177e2005-04-16 15:20:36 -0700321
Richard Purdied14b2722006-09-20 22:54:21 +0100322static struct pxafb_mach_info poodle_fb_info = {
323 .modes = &poodle_fb_mode,
324 .num_modes = 1,
Eric Miaocf5eb8c2008-07-18 08:53:52 +0800325 .lcd_conn = LCD_COLOR_TFT_16BPP,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700326};
327
Dmitry Baryshkov6af7a8e2008-10-16 19:17:05 +0400328static struct mtd_partition sharpsl_nand_partitions[] = {
329 {
330 .name = "System Area",
331 .offset = 0,
332 .size = 7 * 1024 * 1024,
333 },
334 {
335 .name = "Root Filesystem",
336 .offset = 7 * 1024 * 1024,
337 .size = 22 * 1024 * 1024,
338 },
339 {
340 .name = "Home Filesystem",
341 .offset = MTDPART_OFS_APPEND,
342 .size = MTDPART_SIZ_FULL,
343 },
344};
345
346static uint8_t scan_ff_pattern[] = { 0xff, 0xff };
347
348static struct nand_bbt_descr sharpsl_bbt = {
349 .options = 0,
350 .offs = 4,
351 .len = 2,
352 .pattern = scan_ff_pattern
353};
354
355static struct sharpsl_nand_platform_data sharpsl_nand_platform_data = {
356 .badblock_pattern = &sharpsl_bbt,
357 .partitions = sharpsl_nand_partitions,
358 .nr_partitions = ARRAY_SIZE(sharpsl_nand_partitions),
359};
360
361static struct resource sharpsl_nand_resources[] = {
362 {
363 .start = 0x0C000000,
364 .end = 0x0C000FFF,
365 .flags = IORESOURCE_MEM,
366 },
367};
368
369static struct platform_device sharpsl_nand_device = {
370 .name = "sharpsl-nand",
371 .id = -1,
372 .resource = sharpsl_nand_resources,
373 .num_resources = ARRAY_SIZE(sharpsl_nand_resources),
374 .dev.platform_data = &sharpsl_nand_platform_data,
375};
376
Dmitry Baryshkov431a2cf2008-11-25 00:57:30 +0300377static struct mtd_partition sharpsl_rom_parts[] = {
378 {
379 .name ="Boot PROM Filesystem",
380 .offset = 0x00120000,
381 .size = MTDPART_SIZ_FULL,
382 },
383};
384
385static struct physmap_flash_data sharpsl_rom_data = {
386 .width = 2,
387 .nr_parts = ARRAY_SIZE(sharpsl_rom_parts),
388 .parts = sharpsl_rom_parts,
389};
390
391static struct resource sharpsl_rom_resources[] = {
392 {
393 .start = 0x00000000,
394 .end = 0x007fffff,
395 .flags = IORESOURCE_MEM,
396 },
397};
398
399static struct platform_device sharpsl_rom_device = {
400 .name = "physmap-flash",
401 .id = -1,
402 .resource = sharpsl_rom_resources,
403 .num_resources = ARRAY_SIZE(sharpsl_rom_resources),
404 .dev.platform_data = &sharpsl_rom_data,
405};
406
Linus Torvalds1da177e2005-04-16 15:20:36 -0700407static struct platform_device *devices[] __initdata = {
Richard Purdiefaed5682006-06-19 20:46:05 +0100408 &poodle_locomo_device,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700409 &poodle_scoop_device,
Dmitry Baryshkov6af7a8e2008-10-16 19:17:05 +0400410 &sharpsl_nand_device,
Dmitry Baryshkov431a2cf2008-11-25 00:57:30 +0300411 &sharpsl_rom_device,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700412};
413
Mark Brown8776b262009-04-26 12:53:58 +0100414static struct i2c_board_info __initdata poodle_i2c_devices[] = {
415 { I2C_BOARD_INFO("wm8731", 0x1b) },
416};
417
Richard Purdie74617fb2006-06-19 19:57:12 +0100418static void poodle_poweroff(void)
419{
Russell Kingbe093be2009-03-19 16:20:24 +0000420 arm_machine_restart('h', NULL);
Richard Purdie74617fb2006-06-19 19:57:12 +0100421}
422
Linus Torvalds1da177e2005-04-16 15:20:36 -0700423static void __init poodle_init(void)
424{
425 int ret = 0;
426
Richard Purdie74617fb2006-06-19 19:57:12 +0100427 pm_power_off = poodle_poweroff;
Richard Purdie74617fb2006-06-19 19:57:12 +0100428
Richard Purdief29d2452005-09-15 14:53:22 +0100429 PCFR |= PCFR_OPDE;
430
Eric Miao26b4c8d2008-07-18 09:05:17 +0800431 pxa2xx_mfp_config(ARRAY_AND_SIZE(poodle_pin_config));
Linus Torvalds1da177e2005-04-16 15:20:36 -0700432
Russell Kingcc155c62009-11-09 13:34:08 +0800433 pxa_set_ffuart_info(NULL);
434 pxa_set_btuart_info(NULL);
435 pxa_set_stuart_info(NULL);
436
Eric Miao2b0defd2008-08-09 05:54:22 -0400437 platform_scoop_config = &poodle_pcmcia_config;
Eric Miao2b0defd2008-08-09 05:54:22 -0400438
439 ret = platform_add_devices(devices, ARRAY_SIZE(devices));
440 if (ret)
441 pr_warning("poodle: Unable to register LoCoMo device\n");
442
Russell King - ARM Linux4321e1a2011-02-15 15:37:30 +0800443 pxa_set_fb_info(&poodle_locomo_device.dev, &poodle_fb_info);
Richard Purdie13b9d472005-09-15 14:53:22 +0100444 pxa_set_udc_info(&udc_info);
445 pxa_set_mci_info(&poodle_mci_platform_data);
Richard Purdie8e4b8712005-10-30 14:38:52 +0000446 pxa_set_ficp_info(&poodle_ficp_platform_data);
Mark Brownf8787fd2008-08-26 13:30:03 +0100447 pxa_set_i2c_info(NULL);
Mark Brown8776b262009-04-26 12:53:58 +0100448 i2c_register_board_info(0, ARRAY_AND_SIZE(poodle_i2c_devices));
Eric Miao9ee40d92008-08-24 05:32:15 -0400449 poodle_init_spi();
Linus Torvalds1da177e2005-04-16 15:20:36 -0700450}
451
Russell King0744a3e2010-12-20 10:37:50 +0000452static void __init fixup_poodle(struct tag *tags, char **cmdline,
453 struct meminfo *mi)
Linus Torvalds1da177e2005-04-16 15:20:36 -0700454{
455 sharpsl_save_param();
Richard Purdieb2e6f752006-04-02 17:11:00 +0100456 mi->nr_banks=1;
457 mi->bank[0].start = 0xa0000000;
Richard Purdieb2e6f752006-04-02 17:11:00 +0100458 mi->bank[0].size = (32*1024*1024);
Linus Torvalds1da177e2005-04-16 15:20:36 -0700459}
460
Linus Torvalds1da177e2005-04-16 15:20:36 -0700461MACHINE_START(POODLE, "SHARP Poodle")
Russell Kinge9dea0c2005-07-03 17:38:58 +0100462 .fixup = fixup_poodle,
Marek Vasut851982c2010-10-11 02:20:19 +0200463 .map_io = pxa25x_map_io,
Haojian Zhuang6ac6b812010-08-20 15:23:59 +0800464 .nr_irqs = POODLE_NR_IRQS, /* 4 for LoCoMo */
Eric Miaocd491042007-06-22 04:14:09 +0100465 .init_irq = pxa25x_init_irq,
Eric Miao8a97ae22011-05-18 21:30:04 +0800466 .handle_irq = pxa25x_handle_irq,
Russell Kinge9dea0c2005-07-03 17:38:58 +0100467 .timer = &pxa_timer,
468 .init_machine = poodle_init,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700469MACHINE_END