blob: 6a7cf91ee819a8ce9fb0f35c5327485a9219fca2 [file] [log] [blame]
Fabio Estevamaefa1c62009-06-02 17:24:16 -07001/*
2 * Copyright 2009 Freescale Semiconductor, Inc. All Rights Reserved.
Marc Kleine-Budded17e1c12010-08-18 18:20:24 +02003 * Copyright (C) 2009 Marc Kleine-Budde, Pengutronix
Fabio Estevamaefa1c62009-06-02 17:24:16 -07004 *
5 * Author: Fabio Estevam <fabio.estevam@freescale.com>
6 *
Alex Gershgorin25af2d92012-03-13 17:05:29 +02007 * Copyright (C) 2011 Meprolight, Ltd.
8 * Alex Gershgorin <alexg@meprolight.com>
9 *
10 * Modified from i.MX31 3-Stack Development System
11 *
Fabio Estevamaefa1c62009-06-02 17:24:16 -070012 * This program is free software; you can redistribute it and/or modify
13 * it under the terms of the GNU General Public License as published by
14 * the Free Software Foundation; either version 2 of the License, or
15 * (at your option) any later version.
16 *
17 * This program is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU General Public License for more details.
Fabio Estevamaefa1c62009-06-02 17:24:16 -070021 */
22
Uwe Kleine-König767c38b2010-03-04 16:39:53 +010023/*
24 * This machine is known as:
25 * - i.MX35 3-Stack Development System
26 * - i.MX35 Platform Development Kit (i.MX35 PDK)
27 */
28
Fabio Estevamaefa1c62009-06-02 17:24:16 -070029#include <linux/types.h>
30#include <linux/init.h>
31#include <linux/platform_device.h>
32#include <linux/memory.h>
33#include <linux/gpio.h>
Fabio Estevam130a0dd2010-12-22 12:25:30 -020034#include <linux/usb/otg.h>
Fabio Estevamaefa1c62009-06-02 17:24:16 -070035
Marc Kleine-Budded17e1c12010-08-18 18:20:24 +020036#include <linux/mtd/physmap.h>
37
Fabio Estevamaefa1c62009-06-02 17:24:16 -070038#include <asm/mach-types.h>
39#include <asm/mach/arch.h>
40#include <asm/mach/time.h>
41#include <asm/mach/map.h>
Alex Gershgorin25af2d92012-03-13 17:05:29 +020042#include <asm/memblock.h>
Fabio Estevamaefa1c62009-06-02 17:24:16 -070043
44#include <mach/hardware.h>
45#include <mach/common.h>
Fabio Estevamaefa1c62009-06-02 17:24:16 -070046#include <mach/iomux-mx35.h>
Xiao Jiang2c6605d2010-10-21 16:15:50 +080047#include <mach/irqs.h>
48#include <mach/3ds_debugboard.h>
wu guoxing881e09f2012-03-14 10:10:54 +080049#include <video/platform_lcd.h>
Fabio Estevamaefa1c62009-06-02 17:24:16 -070050
Alex Gershgorin25af2d92012-03-13 17:05:29 +020051#include <media/soc_camera.h>
52
Uwe Kleine-König6eafde52010-06-23 11:49:34 +020053#include "devices-imx35.h"
Fabio Estevamaefa1c62009-06-02 17:24:16 -070054
wu guoxing881e09f2012-03-14 10:10:54 +080055#define GPIO_MC9S08DZ60_GPS_ENABLE 0
56#define GPIO_MC9S08DZ60_HDD_ENABLE 4
57#define GPIO_MC9S08DZ60_WIFI_ENABLE 5
58#define GPIO_MC9S08DZ60_LCD_ENABLE 6
59#define GPIO_MC9S08DZ60_SPEAKER_ENABLE 8
60
61static const struct fb_videomode fb_modedb[] = {
62 {
63 /* 800x480 @ 55 Hz */
64 .name = "Ceramate-CLAA070VC01",
65 .refresh = 55,
66 .xres = 800,
67 .yres = 480,
68 .pixclock = 40000,
69 .left_margin = 40,
70 .right_margin = 40,
71 .upper_margin = 5,
72 .lower_margin = 5,
73 .hsync_len = 20,
74 .vsync_len = 10,
75 .sync = FB_SYNC_OE_ACT_HIGH,
76 .vmode = FB_VMODE_NONINTERLACED,
77 .flag = 0,
78 },
79};
80
81static const struct ipu_platform_data mx3_ipu_data __initconst = {
82 .irq_base = MXC_IPU_IRQ_START,
83};
84
85static struct mx3fb_platform_data mx3fb_pdata __initdata = {
86 .name = "Ceramate-CLAA070VC01",
87 .mode = fb_modedb,
88 .num_modes = ARRAY_SIZE(fb_modedb),
89};
90
91static struct i2c_board_info __initdata i2c_devices_3ds[] = {
92 {
93 I2C_BOARD_INFO("mc9s08dz60", 0x69),
94 },
95};
96
97static int lcd_power_gpio = -ENXIO;
98
Grant Likely3d0f7cf2012-05-17 13:54:40 -060099static int mc9s08dz60_gpiochip_match(struct gpio_chip *chip, void *data)
wu guoxing881e09f2012-03-14 10:10:54 +0800100{
101 return !strcmp(chip->label, data);
102}
103
104static void mx35_3ds_lcd_set_power(
105 struct plat_lcd_data *pd, unsigned int power)
106{
107 struct gpio_chip *chip;
108
109 if (!gpio_is_valid(lcd_power_gpio)) {
110 chip = gpiochip_find(
111 "mc9s08dz60", mc9s08dz60_gpiochip_match);
112 if (chip) {
113 lcd_power_gpio =
114 chip->base + GPIO_MC9S08DZ60_LCD_ENABLE;
115 if (gpio_request(lcd_power_gpio, "lcd_power") < 0) {
116 pr_err("error: gpio already requested!\n");
117 lcd_power_gpio = -ENXIO;
118 }
119 } else {
120 pr_err("error: didn't find mc9s08dz60 gpio chip\n");
121 }
122 }
123
124 if (gpio_is_valid(lcd_power_gpio))
125 gpio_set_value_cansleep(lcd_power_gpio, power);
126}
127
128static struct plat_lcd_data mx35_3ds_lcd_data = {
129 .set_power = mx35_3ds_lcd_set_power,
130};
131
132static struct platform_device mx35_3ds_lcd = {
133 .name = "platform-lcd",
134 .dev.platform_data = &mx35_3ds_lcd_data,
135};
136
Sascha Hauer7cf73812011-05-11 11:31:54 +0200137#define EXPIO_PARENT_INT gpio_to_irq(IMX_GPIO_NR(1, 1))
Xiao Jiang2c6605d2010-10-21 16:15:50 +0800138
Uwe Kleine-König6eafde52010-06-23 11:49:34 +0200139static const struct imxuart_platform_data uart_pdata __initconst = {
Fabio Estevamaefa1c62009-06-02 17:24:16 -0700140 .flags = IMXUART_HAVE_RTSCTS,
141};
142
Marc Kleine-Budded17e1c12010-08-18 18:20:24 +0200143static struct physmap_flash_data mx35pdk_flash_data = {
144 .width = 2,
145};
146
147static struct resource mx35pdk_flash_resource = {
148 .start = MX35_CS0_BASE_ADDR,
149 .end = MX35_CS0_BASE_ADDR + SZ_64M - 1,
150 .flags = IORESOURCE_MEM,
151};
152
153static struct platform_device mx35pdk_flash = {
154 .name = "physmap-flash",
155 .id = 0,
156 .dev = {
157 .platform_data = &mx35pdk_flash_data,
158 },
159 .resource = &mx35pdk_flash_resource,
160 .num_resources = 1,
161};
162
Marc Kleine-Budde81aa1722010-08-18 18:22:59 +0200163static const struct mxc_nand_platform_data mx35pdk_nand_board_info __initconst = {
164 .width = 1,
165 .hw_ecc = 1,
166 .flash_bbt = 1,
167};
168
Fabio Estevamaefa1c62009-06-02 17:24:16 -0700169static struct platform_device *devices[] __initdata = {
Marc Kleine-Budded17e1c12010-08-18 18:20:24 +0200170 &mx35pdk_flash,
Fabio Estevamaefa1c62009-06-02 17:24:16 -0700171};
172
Lothar Waßmann8f5260c2010-10-26 14:28:31 +0200173static iomux_v3_cfg_t mx35pdk_pads[] = {
Fabio Estevamaefa1c62009-06-02 17:24:16 -0700174 /* UART1 */
175 MX35_PAD_CTS1__UART1_CTS,
176 MX35_PAD_RTS1__UART1_RTS,
177 MX35_PAD_TXD1__UART1_TXD_MUX,
178 MX35_PAD_RXD1__UART1_RXD_MUX,
179 /* FEC */
180 MX35_PAD_FEC_TX_CLK__FEC_TX_CLK,
181 MX35_PAD_FEC_RX_CLK__FEC_RX_CLK,
182 MX35_PAD_FEC_RX_DV__FEC_RX_DV,
183 MX35_PAD_FEC_COL__FEC_COL,
184 MX35_PAD_FEC_RDATA0__FEC_RDATA_0,
185 MX35_PAD_FEC_TDATA0__FEC_TDATA_0,
186 MX35_PAD_FEC_TX_EN__FEC_TX_EN,
187 MX35_PAD_FEC_MDC__FEC_MDC,
188 MX35_PAD_FEC_MDIO__FEC_MDIO,
189 MX35_PAD_FEC_TX_ERR__FEC_TX_ERR,
190 MX35_PAD_FEC_RX_ERR__FEC_RX_ERR,
191 MX35_PAD_FEC_CRS__FEC_CRS,
192 MX35_PAD_FEC_RDATA1__FEC_RDATA_1,
193 MX35_PAD_FEC_TDATA1__FEC_TDATA_1,
194 MX35_PAD_FEC_RDATA2__FEC_RDATA_2,
195 MX35_PAD_FEC_TDATA2__FEC_TDATA_2,
196 MX35_PAD_FEC_RDATA3__FEC_RDATA_3,
197 MX35_PAD_FEC_TDATA3__FEC_TDATA_3,
Harro Haan9c2daf12009-11-27 11:44:36 +0100198 /* USBOTG */
199 MX35_PAD_USBOTG_PWR__USB_TOP_USBOTG_PWR,
200 MX35_PAD_USBOTG_OC__USB_TOP_USBOTG_OC,
Marc Kleine-Buddeab3d8b52010-08-18 18:26:42 +0200201 /* USBH1 */
202 MX35_PAD_I2C2_CLK__USB_TOP_USBH2_PWR,
203 MX35_PAD_I2C2_DAT__USB_TOP_USBH2_OC,
Shawn Guo6207c832010-10-22 00:23:44 +0800204 /* SDCARD */
205 MX35_PAD_SD1_CMD__ESDHC1_CMD,
206 MX35_PAD_SD1_CLK__ESDHC1_CLK,
207 MX35_PAD_SD1_DATA0__ESDHC1_DAT0,
208 MX35_PAD_SD1_DATA1__ESDHC1_DAT1,
209 MX35_PAD_SD1_DATA2__ESDHC1_DAT2,
210 MX35_PAD_SD1_DATA3__ESDHC1_DAT3,
Fabio Estevam352cd9a2011-03-01 16:59:44 -0300211 /* I2C1 */
212 MX35_PAD_I2C1_CLK__I2C1_SCL,
213 MX35_PAD_I2C1_DAT__I2C1_SDA,
wu guoxing881e09f2012-03-14 10:10:54 +0800214 /* Display */
215 MX35_PAD_LD0__IPU_DISPB_DAT_0,
216 MX35_PAD_LD1__IPU_DISPB_DAT_1,
217 MX35_PAD_LD2__IPU_DISPB_DAT_2,
218 MX35_PAD_LD3__IPU_DISPB_DAT_3,
219 MX35_PAD_LD4__IPU_DISPB_DAT_4,
220 MX35_PAD_LD5__IPU_DISPB_DAT_5,
221 MX35_PAD_LD6__IPU_DISPB_DAT_6,
222 MX35_PAD_LD7__IPU_DISPB_DAT_7,
223 MX35_PAD_LD8__IPU_DISPB_DAT_8,
224 MX35_PAD_LD9__IPU_DISPB_DAT_9,
225 MX35_PAD_LD10__IPU_DISPB_DAT_10,
226 MX35_PAD_LD11__IPU_DISPB_DAT_11,
227 MX35_PAD_LD12__IPU_DISPB_DAT_12,
228 MX35_PAD_LD13__IPU_DISPB_DAT_13,
229 MX35_PAD_LD14__IPU_DISPB_DAT_14,
230 MX35_PAD_LD15__IPU_DISPB_DAT_15,
231 MX35_PAD_LD16__IPU_DISPB_DAT_16,
232 MX35_PAD_LD17__IPU_DISPB_DAT_17,
233 MX35_PAD_D3_HSYNC__IPU_DISPB_D3_HSYNC,
234 MX35_PAD_D3_FPSHIFT__IPU_DISPB_D3_CLK,
235 MX35_PAD_D3_DRDY__IPU_DISPB_D3_DRDY,
236 MX35_PAD_CONTRAST__IPU_DISPB_CONTR,
237 MX35_PAD_D3_VSYNC__IPU_DISPB_D3_VSYNC,
238 MX35_PAD_D3_REV__IPU_DISPB_D3_REV,
239 MX35_PAD_D3_CLS__IPU_DISPB_D3_CLS,
Alex Gershgorin25af2d92012-03-13 17:05:29 +0200240 /* CSI */
241 MX35_PAD_TX1__IPU_CSI_D_6,
242 MX35_PAD_TX0__IPU_CSI_D_7,
243 MX35_PAD_CSI_D8__IPU_CSI_D_8,
244 MX35_PAD_CSI_D9__IPU_CSI_D_9,
245 MX35_PAD_CSI_D10__IPU_CSI_D_10,
246 MX35_PAD_CSI_D11__IPU_CSI_D_11,
247 MX35_PAD_CSI_D12__IPU_CSI_D_12,
248 MX35_PAD_CSI_D13__IPU_CSI_D_13,
249 MX35_PAD_CSI_D14__IPU_CSI_D_14,
250 MX35_PAD_CSI_D15__IPU_CSI_D_15,
251 MX35_PAD_CSI_HSYNC__IPU_CSI_HSYNC,
252 MX35_PAD_CSI_MCLK__IPU_CSI_MCLK,
253 MX35_PAD_CSI_PIXCLK__IPU_CSI_PIXCLK,
254 MX35_PAD_CSI_VSYNC__IPU_CSI_VSYNC,
255};
256
257/*
258 * Camera support
259*/
260static phys_addr_t mx3_camera_base __initdata;
261#define MX35_3DS_CAMERA_BUF_SIZE SZ_8M
262
263static const struct mx3_camera_pdata mx35_3ds_camera_pdata __initconst = {
264 .flags = MX3_CAMERA_DATAWIDTH_8,
265 .mclk_10khz = 2000,
266};
267
268static int __init imx35_3ds_init_camera(void)
269{
270 int dma, ret = -ENOMEM;
271 struct platform_device *pdev =
272 imx35_alloc_mx3_camera(&mx35_3ds_camera_pdata);
273
274 if (IS_ERR(pdev))
275 return PTR_ERR(pdev);
276
277 if (!mx3_camera_base)
278 goto err;
279
280 dma = dma_declare_coherent_memory(&pdev->dev,
281 mx3_camera_base, mx3_camera_base,
282 MX35_3DS_CAMERA_BUF_SIZE,
283 DMA_MEMORY_MAP | DMA_MEMORY_EXCLUSIVE);
284
285 if (!(dma & DMA_MEMORY_MAP))
286 goto err;
287
288 ret = platform_device_add(pdev);
289 if (ret)
290err:
291 platform_device_put(pdev);
292
293 return ret;
294}
295
296static const struct ipu_platform_data mx35_3ds_ipu_data __initconst = {
297 .irq_base = MXC_IPU_IRQ_START,
298};
299
300static struct i2c_board_info mx35_3ds_i2c_camera = {
301 I2C_BOARD_INFO("ov2640", 0x30),
302};
303
304static struct soc_camera_link iclink_ov2640 = {
305 .bus_id = 0,
306 .board_info = &mx35_3ds_i2c_camera,
307 .i2c_adapter_id = 0,
308 .power = NULL,
309};
310
311static struct platform_device mx35_3ds_ov2640 = {
312 .name = "soc-camera-pdrv",
313 .id = 0,
314 .dev = {
315 .platform_data = &iclink_ov2640,
316 },
Harro Haan9c2daf12009-11-27 11:44:36 +0100317};
318
Sascha Hauer4bd597b2011-01-03 11:30:28 +0100319static int mx35_3ds_otg_init(struct platform_device *pdev)
320{
321 return mx35_initialize_usb_hw(pdev->id, MXC_EHCI_INTERNAL_PHY);
322}
323
Harro Haan9c2daf12009-11-27 11:44:36 +0100324/* OTG config */
Uwe Kleine-König9e1dde32010-11-12 16:40:06 +0100325static const struct fsl_usb2_platform_data usb_otg_pdata __initconst = {
Harro Haan9c2daf12009-11-27 11:44:36 +0100326 .operating_mode = FSL_USB2_DR_DEVICE,
327 .phy_mode = FSL_USB2_PHY_UTMI_WIDE,
Fabio Estevam1a46cce82011-03-02 11:26:49 -0300328 .workaround = FLS_USB2_WORKAROUND_ENGCM09152,
329/*
330 * ENGCM09152 also requires a hardware change.
331 * Please check the MX35 Chip Errata document for details.
332 */
Fabio Estevamaefa1c62009-06-02 17:24:16 -0700333};
334
Fabio Estevam130a0dd2010-12-22 12:25:30 -0200335static struct mxc_usbh_platform_data otg_pdata __initdata = {
Sascha Hauer4bd597b2011-01-03 11:30:28 +0100336 .init = mx35_3ds_otg_init,
Fabio Estevam130a0dd2010-12-22 12:25:30 -0200337 .portsc = MXC_EHCI_MODE_UTMI,
Fabio Estevam130a0dd2010-12-22 12:25:30 -0200338};
339
Sascha Hauer4bd597b2011-01-03 11:30:28 +0100340static int mx35_3ds_usbh_init(struct platform_device *pdev)
341{
342 return mx35_initialize_usb_hw(pdev->id, MXC_EHCI_INTERFACE_SINGLE_UNI |
343 MXC_EHCI_INTERNAL_PHY);
344}
345
Marc Kleine-Buddeab3d8b52010-08-18 18:26:42 +0200346/* USB HOST config */
Uwe Kleine-König2d58de22010-11-15 11:57:49 +0100347static const struct mxc_usbh_platform_data usb_host_pdata __initconst = {
Sascha Hauer4bd597b2011-01-03 11:30:28 +0100348 .init = mx35_3ds_usbh_init,
Marc Kleine-Buddeab3d8b52010-08-18 18:26:42 +0200349 .portsc = MXC_EHCI_MODE_SERIAL,
Marc Kleine-Buddeab3d8b52010-08-18 18:26:42 +0200350};
351
Fabio Estevam130a0dd2010-12-22 12:25:30 -0200352static int otg_mode_host;
353
354static int __init mx35_3ds_otg_mode(char *options)
355{
356 if (!strcmp(options, "host"))
357 otg_mode_host = 1;
358 else if (!strcmp(options, "device"))
359 otg_mode_host = 0;
360 else
361 pr_info("otg_mode neither \"host\" nor \"device\". "
362 "Defaulting to device\n");
363 return 0;
364}
365__setup("otg_mode=", mx35_3ds_otg_mode);
366
Fabio Estevam352cd9a2011-03-01 16:59:44 -0300367static const struct imxi2c_platform_data mx35_3ds_i2c0_data __initconst = {
368 .bitrate = 100000,
369};
370
Fabio Estevamaefa1c62009-06-02 17:24:16 -0700371/*
372 * Board specific initialization.
373 */
Uwe Kleine-Könige134fb22011-02-11 10:23:19 +0100374static void __init mx35_3ds_init(void)
Fabio Estevamaefa1c62009-06-02 17:24:16 -0700375{
wu guoxing881e09f2012-03-14 10:10:54 +0800376 struct platform_device *imx35_fb_pdev;
377
Shawn Guob78d8e52011-06-06 00:07:55 +0800378 imx35_soc_init();
379
Fabio Estevamaefa1c62009-06-02 17:24:16 -0700380 mxc_iomux_v3_setup_multiple_pads(mx35pdk_pads, ARRAY_SIZE(mx35pdk_pads));
381
Uwe Kleine-König6bd96f32010-10-06 12:00:18 +0200382 imx35_add_fec(NULL);
Uwe Kleine-Königc496fa62010-11-16 23:24:21 +0100383 imx35_add_imx2_wdt(NULL);
Fabio Estevamaefa1c62009-06-02 17:24:16 -0700384 platform_add_devices(devices, ARRAY_SIZE(devices));
385
Uwe Kleine-König6eafde52010-06-23 11:49:34 +0200386 imx35_add_imx_uart0(&uart_pdata);
Harro Haan9c2daf12009-11-27 11:44:36 +0100387
Fabio Estevam130a0dd2010-12-22 12:25:30 -0200388 if (otg_mode_host)
389 imx35_add_mxc_ehci_otg(&otg_pdata);
Marc Kleine-Budde81aa1722010-08-18 18:22:59 +0200390
Uwe Kleine-König2d58de22010-11-15 11:57:49 +0100391 imx35_add_mxc_ehci_hs(&usb_host_pdata);
Marc Kleine-Buddeab3d8b52010-08-18 18:26:42 +0200392
Fabio Estevam130a0dd2010-12-22 12:25:30 -0200393 if (!otg_mode_host)
394 imx35_add_fsl_usb2_udc(&usb_otg_pdata);
395
Marc Kleine-Budde81aa1722010-08-18 18:22:59 +0200396 imx35_add_mxc_nand(&mx35pdk_nand_board_info);
Uwe Kleine-König124bf942010-11-19 21:03:33 +0100397 imx35_add_sdhci_esdhc_imx(0, NULL);
Xiao Jiang2c6605d2010-10-21 16:15:50 +0800398
399 if (mxc_expio_init(MX35_CS5_BASE_ADDR, EXPIO_PARENT_INT))
400 pr_warn("Init of the debugboard failed, all "
401 "devices on the debugboard are unusable.\n");
Fabio Estevam352cd9a2011-03-01 16:59:44 -0300402 imx35_add_imx_i2c0(&mx35_3ds_i2c0_data);
wu guoxing881e09f2012-03-14 10:10:54 +0800403
404 i2c_register_board_info(
405 0, i2c_devices_3ds, ARRAY_SIZE(i2c_devices_3ds));
406
Alex Gershgorin25af2d92012-03-13 17:05:29 +0200407 imx35_add_ipu_core(&mx35_3ds_ipu_data);
408 platform_device_register(&mx35_3ds_ov2640);
409 imx35_3ds_init_camera();
410
wu guoxing881e09f2012-03-14 10:10:54 +0800411 imx35_fb_pdev = imx35_add_mx3_sdc_fb(&mx3fb_pdata);
412 mx35_3ds_lcd.dev.parent = &imx35_fb_pdev->dev;
413 platform_device_register(&mx35_3ds_lcd);
Fabio Estevamaefa1c62009-06-02 17:24:16 -0700414}
415
416static void __init mx35pdk_timer_init(void)
417{
418 mx35_clocks_init();
419}
420
421struct sys_timer mx35pdk_timer = {
422 .init = mx35pdk_timer_init,
423};
424
Alex Gershgorin25af2d92012-03-13 17:05:29 +0200425static void __init mx35_3ds_reserve(void)
426{
427 /* reserve MX35_3DS_CAMERA_BUF_SIZE bytes for mx3-camera */
428 mx3_camera_base = arm_memblock_steal(MX35_3DS_CAMERA_BUF_SIZE,
429 MX35_3DS_CAMERA_BUF_SIZE);
430}
431
Fabio Estevamaefa1c62009-06-02 17:24:16 -0700432MACHINE_START(MX35_3DS, "Freescale MX35PDK")
433 /* Maintainer: Freescale Semiconductor, Inc */
Nicolas Pitredc8f1902011-07-05 22:38:12 -0400434 .atag_offset = 0x100,
Uwe Kleine-König97976e22011-02-07 16:35:20 +0100435 .map_io = mx35_map_io,
436 .init_early = imx35_init_early,
437 .init_irq = mx35_init_irq,
Sascha Hauerffa2ea32011-09-20 14:31:24 +0200438 .handle_irq = imx35_handle_irq,
Uwe Kleine-König97976e22011-02-07 16:35:20 +0100439 .timer = &mx35pdk_timer,
Uwe Kleine-Könige134fb22011-02-11 10:23:19 +0100440 .init_machine = mx35_3ds_init,
Alex Gershgorin25af2d92012-03-13 17:05:29 +0200441 .reserve = mx35_3ds_reserve,
Russell King65ea7882011-11-06 17:12:08 +0000442 .restart = mxc_restart,
Fabio Estevamaefa1c62009-06-02 17:24:16 -0700443MACHINE_END