Saeed Bishara | edabd38 | 2009-08-06 15:12:43 +0300 | [diff] [blame] | 1 | /* |
| 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 | |
| 14 | struct mv643xx_eth_platform_data; |
| 15 | struct mv_sata_platform_data; |
| 16 | |
| 17 | extern struct sys_timer dove_timer; |
| 18 | extern struct mbus_dram_target_info dove_mbus_dram_info; |
| 19 | |
| 20 | /* |
| 21 | * Basic Dove init functions used early by machine-setup. |
| 22 | */ |
| 23 | void dove_map_io(void); |
| 24 | void dove_init(void); |
Lennert Buytenhek | 4ee1f6b | 2010-10-15 16:50:26 +0200 | [diff] [blame] | 25 | void dove_init_early(void); |
Saeed Bishara | edabd38 | 2009-08-06 15:12:43 +0300 | [diff] [blame] | 26 | void dove_init_irq(void); |
| 27 | void dove_setup_cpu_mbus(void); |
| 28 | void dove_ge00_init(struct mv643xx_eth_platform_data *eth_data); |
| 29 | void dove_sata_init(struct mv_sata_platform_data *sata_data); |
| 30 | void dove_pcie_init(int init_port0, int init_port1); |
| 31 | void dove_ehci0_init(void); |
| 32 | void dove_ehci1_init(void); |
| 33 | void dove_uart0_init(void); |
| 34 | void dove_uart1_init(void); |
| 35 | void dove_uart2_init(void); |
| 36 | void dove_uart3_init(void); |
| 37 | void dove_spi0_init(void); |
| 38 | void dove_spi1_init(void); |
| 39 | void dove_i2c_init(void); |
Saeed Bishara | 16bc90a | 2010-05-06 16:12:06 +0300 | [diff] [blame] | 40 | void dove_sdio0_init(void); |
| 41 | void dove_sdio1_init(void); |
Saeed Bishara | edabd38 | 2009-08-06 15:12:43 +0300 | [diff] [blame] | 42 | |
| 43 | #endif |