2 * Copyright (C) 2011 Freescale Semiconductor, Inc. All Rights Reserved.
4 * Author: Fabio Estevam <fabio.estevam@freescale.com>
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
17 #include <asm/mach-types.h>
18 #include <asm/mach/arch.h>
19 #include <asm/mach/time.h>
20 #include <mach/hardware.h>
21 #include <mach/common.h>
22 #include <mach/iomux-mx27.h>
24 #include "devices-imx27.h"
26 static const int mx27ipcam_pins
[] __initconst
= {
51 static void __init
mx27ipcam_init(void)
55 mxc_gpio_setup_multiple_pins(mx27ipcam_pins
, ARRAY_SIZE(mx27ipcam_pins
),
58 imx27_add_imx_uart0(NULL
);
63 static void __init
mx27ipcam_timer_init(void)
65 mx27_clocks_init(25000000);
68 static struct sys_timer mx27ipcam_timer
= {
69 .init
= mx27ipcam_timer_init
,
72 MACHINE_START(IMX27IPCAM
, "Freescale IMX27IPCAM")
73 /* maintainer: Freescale Semiconductor, Inc. */
75 .map_io
= mx27_map_io
,
76 .init_early
= imx27_init_early
,
77 .init_irq
= mx27_init_irq
,
78 .handle_irq
= imx27_handle_irq
,
79 .timer
= &mx27ipcam_timer
,
80 .init_machine
= mx27ipcam_init
,
81 .restart
= mxc_restart
,