| Marek Vasut | ec70e8a | 2006-12-06 17:13:57 -0800 | [diff] [blame] | 1 | /* | 
|  | 2 | * linux/arch/arm/mach-omap1/board-palmz71.c | 
|  | 3 | * | 
|  | 4 | * Modified from board-generic.c | 
|  | 5 | * | 
|  | 6 | * Support for the Palm Zire71 PDA. | 
|  | 7 | * | 
|  | 8 | * Original version : Laurent Gonzalez | 
|  | 9 | * | 
|  | 10 | * Modified for zire71 : Marek Vasut | 
|  | 11 | * | 
|  | 12 | * This program is free software; you can redistribute it and/or modify | 
|  | 13 | * it under the terms of the GNU General Public License version 2 as | 
|  | 14 | * published by the Free Software Foundation. | 
|  | 15 | */ | 
|  | 16 |  | 
|  | 17 | #include <linux/delay.h> | 
| Russell King | 2f8163b | 2011-07-26 10:53:52 +0100 | [diff] [blame] | 18 | #include <linux/gpio.h> | 
| Marek Vasut | ec70e8a | 2006-12-06 17:13:57 -0800 | [diff] [blame] | 19 | #include <linux/kernel.h> | 
|  | 20 | #include <linux/init.h> | 
|  | 21 | #include <linux/platform_device.h> | 
|  | 22 | #include <linux/notifier.h> | 
|  | 23 | #include <linux/clk.h> | 
|  | 24 | #include <linux/irq.h> | 
|  | 25 | #include <linux/input.h> | 
|  | 26 | #include <linux/interrupt.h> | 
|  | 27 | #include <linux/mtd/mtd.h> | 
|  | 28 | #include <linux/mtd/partitions.h> | 
| Ladislav Michl | 561b036 | 2010-02-15 10:03:32 -0800 | [diff] [blame] | 29 | #include <linux/mtd/physmap.h> | 
| Marek Vasut | ec70e8a | 2006-12-06 17:13:57 -0800 | [diff] [blame] | 30 |  | 
| Russell King | a09e64f | 2008-08-05 16:14:15 +0100 | [diff] [blame] | 31 | #include <mach/hardware.h> | 
| Marek Vasut | ec70e8a | 2006-12-06 17:13:57 -0800 | [diff] [blame] | 32 | #include <asm/mach-types.h> | 
|  | 33 | #include <asm/mach/arch.h> | 
|  | 34 | #include <asm/mach/map.h> | 
| Marek Vasut | ec70e8a | 2006-12-06 17:13:57 -0800 | [diff] [blame] | 35 |  | 
| Ladislav Michl | 561b036 | 2010-02-15 10:03:32 -0800 | [diff] [blame] | 36 | #include <plat/flash.h> | 
| Tony Lindgren | ce491cf | 2009-10-20 09:40:47 -0700 | [diff] [blame] | 37 | #include <plat/mux.h> | 
|  | 38 | #include <plat/usb.h> | 
|  | 39 | #include <plat/dma.h> | 
|  | 40 | #include <plat/tc.h> | 
|  | 41 | #include <plat/board.h> | 
|  | 42 | #include <plat/irda.h> | 
|  | 43 | #include <plat/keypad.h> | 
|  | 44 | #include <plat/common.h> | 
| Marek Vasut | ec70e8a | 2006-12-06 17:13:57 -0800 | [diff] [blame] | 45 |  | 
| Marek Vasut | ec70e8a | 2006-12-06 17:13:57 -0800 | [diff] [blame] | 46 | #include <linux/spi/spi.h> | 
|  | 47 | #include <linux/spi/ads7846.h> | 
|  | 48 |  | 
| Tony Lindgren | b283081 | 2009-03-23 18:07:35 -0700 | [diff] [blame] | 49 | #define PALMZ71_USBDETECT_GPIO	0 | 
|  | 50 | #define PALMZ71_PENIRQ_GPIO	6 | 
|  | 51 | #define PALMZ71_MMC_WP_GPIO	8 | 
|  | 52 | #define PALMZ71_HDQ_GPIO 	11 | 
|  | 53 |  | 
|  | 54 | #define PALMZ71_HOTSYNC_GPIO	OMAP_MPUIO(1) | 
|  | 55 | #define PALMZ71_CABLE_GPIO	OMAP_MPUIO(2) | 
|  | 56 | #define PALMZ71_SLIDER_GPIO	OMAP_MPUIO(3) | 
|  | 57 | #define PALMZ71_MMC_IN_GPIO	OMAP_MPUIO(4) | 
|  | 58 |  | 
| Janusz Krzysztofik | da1f026 | 2010-12-20 21:09:22 +0000 | [diff] [blame] | 59 | static const unsigned int palmz71_keymap[] = { | 
| Marek Vasut | ec70e8a | 2006-12-06 17:13:57 -0800 | [diff] [blame] | 60 | KEY(0, 0, KEY_F1), | 
| Janusz Krzysztofik | da1f026 | 2010-12-20 21:09:22 +0000 | [diff] [blame] | 61 | KEY(1, 0, KEY_F2), | 
|  | 62 | KEY(2, 0, KEY_F3), | 
|  | 63 | KEY(3, 0, KEY_F4), | 
|  | 64 | KEY(4, 0, KEY_POWER), | 
|  | 65 | KEY(0, 1, KEY_LEFT), | 
| Marek Vasut | ec70e8a | 2006-12-06 17:13:57 -0800 | [diff] [blame] | 66 | KEY(1, 1, KEY_DOWN), | 
| Janusz Krzysztofik | da1f026 | 2010-12-20 21:09:22 +0000 | [diff] [blame] | 67 | KEY(2, 1, KEY_UP), | 
|  | 68 | KEY(3, 1, KEY_RIGHT), | 
|  | 69 | KEY(4, 1, KEY_ENTER), | 
|  | 70 | KEY(0, 2, KEY_CAMERA), | 
|  | 71 | }; | 
|  | 72 |  | 
|  | 73 | static const struct matrix_keymap_data palmz71_keymap_data = { | 
|  | 74 | .keymap		= palmz71_keymap, | 
|  | 75 | .keymap_size	= ARRAY_SIZE(palmz71_keymap), | 
| Marek Vasut | ec70e8a | 2006-12-06 17:13:57 -0800 | [diff] [blame] | 76 | }; | 
|  | 77 |  | 
|  | 78 | static struct omap_kp_platform_data palmz71_kp_data = { | 
|  | 79 | .rows	= 8, | 
|  | 80 | .cols	= 8, | 
| Janusz Krzysztofik | da1f026 | 2010-12-20 21:09:22 +0000 | [diff] [blame] | 81 | .keymap_data	= &palmz71_keymap_data, | 
|  | 82 | .rep	= true, | 
| Marek Vasut | ec70e8a | 2006-12-06 17:13:57 -0800 | [diff] [blame] | 83 | .delay	= 80, | 
|  | 84 | }; | 
|  | 85 |  | 
|  | 86 | static struct resource palmz71_kp_resources[] = { | 
|  | 87 | [0] = { | 
|  | 88 | .start	= INT_KEYBOARD, | 
|  | 89 | .end	= INT_KEYBOARD, | 
|  | 90 | .flags	= IORESOURCE_IRQ, | 
|  | 91 | }, | 
|  | 92 | }; | 
|  | 93 |  | 
|  | 94 | static struct platform_device palmz71_kp_device = { | 
|  | 95 | .name	= "omap-keypad", | 
|  | 96 | .id	= -1, | 
|  | 97 | .dev	= { | 
|  | 98 | .platform_data = &palmz71_kp_data, | 
|  | 99 | }, | 
|  | 100 | .num_resources	= ARRAY_SIZE(palmz71_kp_resources), | 
|  | 101 | .resource	= palmz71_kp_resources, | 
|  | 102 | }; | 
|  | 103 |  | 
|  | 104 | static struct mtd_partition palmz71_rom_partitions[] = { | 
|  | 105 | /* PalmOS "Small ROM", contains the bootloader and the debugger */ | 
|  | 106 | { | 
|  | 107 | .name		= "smallrom", | 
|  | 108 | .offset		= 0, | 
|  | 109 | .size		= 0xa000, | 
|  | 110 | .mask_flags	= MTD_WRITEABLE, | 
|  | 111 | }, | 
|  | 112 | /* PalmOS "Big ROM", a filesystem with all the OS code and data */ | 
|  | 113 | { | 
|  | 114 | .name	= "bigrom", | 
|  | 115 | .offset	= SZ_128K, | 
|  | 116 | /* | 
|  | 117 | * 0x5f0000 bytes big in the multi-language ("EFIGS") version, | 
|  | 118 | * 0x7b0000 bytes in the English-only ("enUS") version. | 
|  | 119 | */ | 
|  | 120 | .size		= 0x7b0000, | 
|  | 121 | .mask_flags	= MTD_WRITEABLE, | 
|  | 122 | }, | 
|  | 123 | }; | 
|  | 124 |  | 
| Ladislav Michl | 561b036 | 2010-02-15 10:03:32 -0800 | [diff] [blame] | 125 | static struct physmap_flash_data palmz71_rom_data = { | 
| Marek Vasut | ec70e8a | 2006-12-06 17:13:57 -0800 | [diff] [blame] | 126 | .width		= 2, | 
| Ladislav Michl | 561b036 | 2010-02-15 10:03:32 -0800 | [diff] [blame] | 127 | .set_vpp	= omap1_set_vpp, | 
| Marek Vasut | ec70e8a | 2006-12-06 17:13:57 -0800 | [diff] [blame] | 128 | .parts		= palmz71_rom_partitions, | 
|  | 129 | .nr_parts	= ARRAY_SIZE(palmz71_rom_partitions), | 
|  | 130 | }; | 
|  | 131 |  | 
|  | 132 | static struct resource palmz71_rom_resource = { | 
|  | 133 | .start	= OMAP_CS0_PHYS, | 
|  | 134 | .end	= OMAP_CS0_PHYS + SZ_8M - 1, | 
|  | 135 | .flags	= IORESOURCE_MEM, | 
|  | 136 | }; | 
|  | 137 |  | 
|  | 138 | static struct platform_device palmz71_rom_device = { | 
| Ladislav Michl | 561b036 | 2010-02-15 10:03:32 -0800 | [diff] [blame] | 139 | .name	= "physmap-flash", | 
| Marek Vasut | ec70e8a | 2006-12-06 17:13:57 -0800 | [diff] [blame] | 140 | .id	= -1, | 
|  | 141 | .dev = { | 
|  | 142 | .platform_data = &palmz71_rom_data, | 
|  | 143 | }, | 
|  | 144 | .num_resources	= 1, | 
|  | 145 | .resource	= &palmz71_rom_resource, | 
|  | 146 | }; | 
|  | 147 |  | 
|  | 148 | static struct platform_device palmz71_lcd_device = { | 
|  | 149 | .name	= "lcd_palmz71", | 
|  | 150 | .id	= -1, | 
|  | 151 | }; | 
|  | 152 |  | 
|  | 153 | static struct omap_irda_config palmz71_irda_config = { | 
|  | 154 | .transceiver_cap	= IR_SIRMODE, | 
|  | 155 | .rx_channel		= OMAP_DMA_UART3_RX, | 
|  | 156 | .tx_channel		= OMAP_DMA_UART3_TX, | 
|  | 157 | .dest_start		= UART3_THR, | 
|  | 158 | .src_start		= UART3_RHR, | 
|  | 159 | .tx_trigger		= 0, | 
|  | 160 | .rx_trigger		= 0, | 
|  | 161 | }; | 
|  | 162 |  | 
|  | 163 | static struct resource palmz71_irda_resources[] = { | 
|  | 164 | [0] = { | 
|  | 165 | .start	= INT_UART3, | 
|  | 166 | .end	= INT_UART3, | 
|  | 167 | .flags	= IORESOURCE_IRQ, | 
|  | 168 | }, | 
|  | 169 | }; | 
|  | 170 |  | 
|  | 171 | static struct platform_device palmz71_irda_device = { | 
|  | 172 | .name	= "omapirda", | 
|  | 173 | .id	= -1, | 
|  | 174 | .dev = { | 
|  | 175 | .platform_data = &palmz71_irda_config, | 
|  | 176 | }, | 
|  | 177 | .num_resources	= ARRAY_SIZE(palmz71_irda_resources), | 
|  | 178 | .resource	= palmz71_irda_resources, | 
|  | 179 | }; | 
|  | 180 |  | 
|  | 181 | static struct platform_device palmz71_spi_device = { | 
|  | 182 | .name	= "spi_palmz71", | 
|  | 183 | .id	= -1, | 
|  | 184 | }; | 
|  | 185 |  | 
| Marek Vasut | ec70e8a | 2006-12-06 17:13:57 -0800 | [diff] [blame] | 186 | static struct omap_backlight_config palmz71_backlight_config = { | 
|  | 187 | .default_intensity	= 0xa0, | 
|  | 188 | }; | 
|  | 189 |  | 
|  | 190 | static struct platform_device palmz71_backlight_device = { | 
|  | 191 | .name	= "omap-bl", | 
|  | 192 | .id	= -1, | 
|  | 193 | .dev	= { | 
|  | 194 | .platform_data = &palmz71_backlight_config, | 
|  | 195 | }, | 
|  | 196 | }; | 
|  | 197 |  | 
|  | 198 | static struct platform_device *devices[] __initdata = { | 
|  | 199 | &palmz71_rom_device, | 
|  | 200 | &palmz71_kp_device, | 
| Marek Vasut | ec70e8a | 2006-12-06 17:13:57 -0800 | [diff] [blame] | 201 | &palmz71_lcd_device, | 
|  | 202 | &palmz71_irda_device, | 
|  | 203 | &palmz71_spi_device, | 
|  | 204 | &palmz71_backlight_device, | 
|  | 205 | }; | 
|  | 206 |  | 
|  | 207 | static int | 
|  | 208 | palmz71_get_pendown_state(void) | 
|  | 209 | { | 
| David Brownell | 0b84b5c | 2008-12-10 17:35:25 -0800 | [diff] [blame] | 210 | return !gpio_get_value(PALMZ71_PENIRQ_GPIO); | 
| Marek Vasut | ec70e8a | 2006-12-06 17:13:57 -0800 | [diff] [blame] | 211 | } | 
|  | 212 |  | 
|  | 213 | static const struct ads7846_platform_data palmz71_ts_info = { | 
|  | 214 | .model			= 7846, | 
|  | 215 | .vref_delay_usecs	= 100,	/* internal, no capacitor */ | 
|  | 216 | .x_plate_ohms		= 419, | 
|  | 217 | .y_plate_ohms		= 486, | 
|  | 218 | .get_pendown_state	= palmz71_get_pendown_state, | 
|  | 219 | }; | 
|  | 220 |  | 
|  | 221 | static struct spi_board_info __initdata palmz71_boardinfo[] = { { | 
|  | 222 | /* MicroWire (bus 2) CS0 has an ads7846e */ | 
|  | 223 | .modalias	= "ads7846", | 
|  | 224 | .platform_data	= &palmz71_ts_info, | 
|  | 225 | .irq		= OMAP_GPIO_IRQ(PALMZ71_PENIRQ_GPIO), | 
|  | 226 | .max_speed_hz	= 120000	/* max sample rate at 3V */ | 
|  | 227 | * 26	/* command + data + overhead */, | 
|  | 228 | .bus_num	= 2, | 
|  | 229 | .chip_select	= 0, | 
|  | 230 | } }; | 
|  | 231 |  | 
|  | 232 | static struct omap_usb_config palmz71_usb_config __initdata = { | 
|  | 233 | .register_dev	= 1,	/* Mini-B only receptacle */ | 
|  | 234 | .hmc_mode	= 0, | 
|  | 235 | .pins[0]	= 2, | 
|  | 236 | }; | 
|  | 237 |  | 
| Marek Vasut | ec70e8a | 2006-12-06 17:13:57 -0800 | [diff] [blame] | 238 | static struct omap_lcd_config palmz71_lcd_config __initdata = { | 
|  | 239 | .ctrl_name = "internal", | 
|  | 240 | }; | 
|  | 241 |  | 
| Tony Lindgren | e27a93a | 2007-12-18 20:58:32 -0800 | [diff] [blame] | 242 | static struct omap_board_config_kernel palmz71_config[] __initdata = { | 
| Marek Vasut | ec70e8a | 2006-12-06 17:13:57 -0800 | [diff] [blame] | 243 | {OMAP_TAG_LCD,	&palmz71_lcd_config}, | 
| Marek Vasut | ec70e8a | 2006-12-06 17:13:57 -0800 | [diff] [blame] | 244 | }; | 
|  | 245 |  | 
|  | 246 | static irqreturn_t | 
|  | 247 | palmz71_powercable(int irq, void *dev_id) | 
|  | 248 | { | 
| David Brownell | 0b84b5c | 2008-12-10 17:35:25 -0800 | [diff] [blame] | 249 | if (gpio_get_value(PALMZ71_USBDETECT_GPIO)) { | 
| Marek Vasut | ec70e8a | 2006-12-06 17:13:57 -0800 | [diff] [blame] | 250 | printk(KERN_INFO "PM: Power cable connected\n"); | 
| Thomas Gleixner | 6845664a | 2011-03-24 13:25:22 +0100 | [diff] [blame] | 251 | irq_set_irq_type(gpio_to_irq(PALMZ71_USBDETECT_GPIO), | 
|  | 252 | IRQ_TYPE_EDGE_FALLING); | 
| Marek Vasut | ec70e8a | 2006-12-06 17:13:57 -0800 | [diff] [blame] | 253 | } else { | 
|  | 254 | printk(KERN_INFO "PM: Power cable disconnected\n"); | 
| Thomas Gleixner | 6845664a | 2011-03-24 13:25:22 +0100 | [diff] [blame] | 255 | irq_set_irq_type(gpio_to_irq(PALMZ71_USBDETECT_GPIO), | 
|  | 256 | IRQ_TYPE_EDGE_RISING); | 
| Marek Vasut | ec70e8a | 2006-12-06 17:13:57 -0800 | [diff] [blame] | 257 | } | 
|  | 258 | return IRQ_HANDLED; | 
|  | 259 | } | 
|  | 260 |  | 
|  | 261 | static void __init | 
|  | 262 | omap_mpu_wdt_mode(int mode) | 
|  | 263 | { | 
|  | 264 | if (mode) | 
|  | 265 | omap_writew(0x8000, OMAP_WDT_TIMER_MODE); | 
|  | 266 | else { | 
|  | 267 | omap_writew(0x00f5, OMAP_WDT_TIMER_MODE); | 
|  | 268 | omap_writew(0x00a0, OMAP_WDT_TIMER_MODE); | 
|  | 269 | } | 
|  | 270 | } | 
|  | 271 |  | 
|  | 272 | static void __init | 
|  | 273 | palmz71_gpio_setup(int early) | 
|  | 274 | { | 
|  | 275 | if (early) { | 
|  | 276 | /* Only set GPIO1 so we have a working serial */ | 
| David Brownell | e918edf | 2008-12-10 17:35:26 -0800 | [diff] [blame] | 277 | gpio_direction_output(1, 1); | 
| Marek Vasut | ec70e8a | 2006-12-06 17:13:57 -0800 | [diff] [blame] | 278 | } else { | 
|  | 279 | /* Set MMC/SD host WP pin as input */ | 
| Jarkko Nikula | f2d18fe | 2008-12-10 17:35:30 -0800 | [diff] [blame] | 280 | if (gpio_request(PALMZ71_MMC_WP_GPIO, "MMC WP") < 0) { | 
| Marek Vasut | ec70e8a | 2006-12-06 17:13:57 -0800 | [diff] [blame] | 281 | printk(KERN_ERR "Could not reserve WP GPIO!\n"); | 
|  | 282 | return; | 
|  | 283 | } | 
| David Brownell | 40e3925 | 2008-12-10 17:35:26 -0800 | [diff] [blame] | 284 | gpio_direction_input(PALMZ71_MMC_WP_GPIO); | 
| Marek Vasut | ec70e8a | 2006-12-06 17:13:57 -0800 | [diff] [blame] | 285 |  | 
|  | 286 | /* Monitor the Power-cable-connected signal */ | 
| Jarkko Nikula | f2d18fe | 2008-12-10 17:35:30 -0800 | [diff] [blame] | 287 | if (gpio_request(PALMZ71_USBDETECT_GPIO, "USB detect") < 0) { | 
| Marek Vasut | ec70e8a | 2006-12-06 17:13:57 -0800 | [diff] [blame] | 288 | printk(KERN_ERR | 
|  | 289 | "Could not reserve cable signal GPIO!\n"); | 
|  | 290 | return; | 
|  | 291 | } | 
| David Brownell | 40e3925 | 2008-12-10 17:35:26 -0800 | [diff] [blame] | 292 | gpio_direction_input(PALMZ71_USBDETECT_GPIO); | 
| David Brownell | 15f74b0 | 2008-12-10 17:35:26 -0800 | [diff] [blame] | 293 | if (request_irq(gpio_to_irq(PALMZ71_USBDETECT_GPIO), | 
| Marek Vasut | ec70e8a | 2006-12-06 17:13:57 -0800 | [diff] [blame] | 294 | palmz71_powercable, IRQF_SAMPLE_RANDOM, | 
|  | 295 | "palmz71-cable", 0)) | 
|  | 296 | printk(KERN_ERR | 
|  | 297 | "IRQ request for power cable failed!\n"); | 
| David Brownell | 15f74b0 | 2008-12-10 17:35:26 -0800 | [diff] [blame] | 298 | palmz71_powercable(gpio_to_irq(PALMZ71_USBDETECT_GPIO), 0); | 
| Marek Vasut | ec70e8a | 2006-12-06 17:13:57 -0800 | [diff] [blame] | 299 | } | 
|  | 300 | } | 
|  | 301 |  | 
|  | 302 | static void __init | 
|  | 303 | omap_palmz71_init(void) | 
|  | 304 | { | 
| Janusz Krzysztofik | c33da3a | 2009-10-22 14:47:42 -0700 | [diff] [blame] | 305 | /* mux pins for uarts */ | 
|  | 306 | omap_cfg_reg(UART1_TX); | 
|  | 307 | omap_cfg_reg(UART1_RTS); | 
|  | 308 | omap_cfg_reg(UART2_TX); | 
|  | 309 | omap_cfg_reg(UART2_RTS); | 
|  | 310 | omap_cfg_reg(UART3_TX); | 
|  | 311 | omap_cfg_reg(UART3_RX); | 
|  | 312 |  | 
| Marek Vasut | ec70e8a | 2006-12-06 17:13:57 -0800 | [diff] [blame] | 313 | palmz71_gpio_setup(1); | 
|  | 314 | omap_mpu_wdt_mode(0); | 
|  | 315 |  | 
|  | 316 | omap_board_config = palmz71_config; | 
|  | 317 | omap_board_config_size = ARRAY_SIZE(palmz71_config); | 
|  | 318 |  | 
|  | 319 | platform_add_devices(devices, ARRAY_SIZE(devices)); | 
|  | 320 |  | 
|  | 321 | spi_register_board_info(palmz71_boardinfo, | 
|  | 322 | ARRAY_SIZE(palmz71_boardinfo)); | 
| Tony Lindgren | dd0cdd8 | 2010-07-05 16:31:30 +0300 | [diff] [blame] | 323 | omap1_usb_init(&palmz71_usb_config); | 
| Marek Vasut | ec70e8a | 2006-12-06 17:13:57 -0800 | [diff] [blame] | 324 | omap_serial_init(); | 
| Jarkko Nikula | 1ed16a8 | 2007-11-07 06:54:32 +0200 | [diff] [blame] | 325 | omap_register_i2c_bus(1, 100, NULL, 0); | 
| Marek Vasut | ec70e8a | 2006-12-06 17:13:57 -0800 | [diff] [blame] | 326 | palmz71_gpio_setup(0); | 
|  | 327 | } | 
|  | 328 |  | 
| Marek Vasut | ec70e8a | 2006-12-06 17:13:57 -0800 | [diff] [blame] | 329 | MACHINE_START(OMAP_PALMZ71, "OMAP310 based Palm Zire71") | 
| Nicolas Pitre | 246e389 | 2011-07-05 22:38:15 -0400 | [diff] [blame] | 330 | .atag_offset	= 0x100, | 
| Tony Lindgren | 7b88e62 | 2011-10-05 15:14:02 -0700 | [diff] [blame] | 331 | .map_io		= omap15xx_map_io, | 
|  | 332 | .init_early     = omap1_init_early, | 
| Russell King | 71ee7da | 2010-05-23 10:18:16 +0100 | [diff] [blame] | 333 | .reserve	= omap_reserve, | 
| Tony Lindgren | 7b88e62 | 2011-10-05 15:14:02 -0700 | [diff] [blame] | 334 | .init_irq	= omap1_init_irq, | 
| Russell King | 71ee7da | 2010-05-23 10:18:16 +0100 | [diff] [blame] | 335 | .init_machine	= omap_palmz71_init, | 
| Tony Lindgren | e74984e | 2011-03-29 15:54:48 -0700 | [diff] [blame] | 336 | .timer		= &omap1_timer, | 
| Marek Vasut | ec70e8a | 2006-12-06 17:13:57 -0800 | [diff] [blame] | 337 | MACHINE_END |