blob: 6432a3ba864b7058ecc81dcc3df5b90f897bb4d5 [file] [log] [blame]
Saeed Bisharaedabd382009-08-06 15:12:43 +03001/*
2 * arch/arm/mach-dove/common.h
3 *
4 * Core functions for Marvell Dove 88AP510 System On Chip
5 *
6 * This file is licensed under the terms of the GNU General Public
7 * License version 2. This program is licensed "as is" without any
8 * warranty of any kind, whether express or implied.
9 */
10
11#ifndef __ARCH_DOVE_COMMON_H
12#define __ARCH_DOVE_COMMON_H
13
14struct mv643xx_eth_platform_data;
15struct mv_sata_platform_data;
16
17extern struct sys_timer dove_timer;
Saeed Bisharaedabd382009-08-06 15:12:43 +030018
19/*
20 * Basic Dove init functions used early by machine-setup.
21 */
22void dove_map_io(void);
23void dove_init(void);
Lennert Buytenhek4ee1f6b2010-10-15 16:50:26 +020024void dove_init_early(void);
Saeed Bisharaedabd382009-08-06 15:12:43 +030025void dove_init_irq(void);
26void dove_setup_cpu_mbus(void);
27void dove_ge00_init(struct mv643xx_eth_platform_data *eth_data);
28void dove_sata_init(struct mv_sata_platform_data *sata_data);
29void dove_pcie_init(int init_port0, int init_port1);
30void dove_ehci0_init(void);
31void dove_ehci1_init(void);
32void dove_uart0_init(void);
33void dove_uart1_init(void);
34void dove_uart2_init(void);
35void dove_uart3_init(void);
36void dove_spi0_init(void);
37void dove_spi1_init(void);
38void dove_i2c_init(void);
Saeed Bishara16bc90a2010-05-06 16:12:06 +030039void dove_sdio0_init(void);
40void dove_sdio1_init(void);
Russell King6ca6ff92011-11-05 09:48:52 +000041void dove_restart(char, const char *);
Saeed Bisharaedabd382009-08-06 15:12:43 +030042
43#endif