1edabd38eSSaeed Bishara /* 2edabd38eSSaeed Bishara * arch/arm/mach-dove/common.h 3edabd38eSSaeed Bishara * 4edabd38eSSaeed Bishara * Core functions for Marvell Dove 88AP510 System On Chip 5edabd38eSSaeed Bishara * 6edabd38eSSaeed Bishara * This file is licensed under the terms of the GNU General Public 7edabd38eSSaeed Bishara * License version 2. This program is licensed "as is" without any 8edabd38eSSaeed Bishara * warranty of any kind, whether express or implied. 9edabd38eSSaeed Bishara */ 10edabd38eSSaeed Bishara 11edabd38eSSaeed Bishara #ifndef __ARCH_DOVE_COMMON_H 12edabd38eSSaeed Bishara #define __ARCH_DOVE_COMMON_H 13edabd38eSSaeed Bishara 14edabd38eSSaeed Bishara struct mv643xx_eth_platform_data; 15edabd38eSSaeed Bishara struct mv_sata_platform_data; 16edabd38eSSaeed Bishara 17edabd38eSSaeed Bishara extern struct sys_timer dove_timer; 18edabd38eSSaeed Bishara extern struct mbus_dram_target_info dove_mbus_dram_info; 19edabd38eSSaeed Bishara 20edabd38eSSaeed Bishara /* 21edabd38eSSaeed Bishara * Basic Dove init functions used early by machine-setup. 22edabd38eSSaeed Bishara */ 23edabd38eSSaeed Bishara void dove_map_io(void); 24edabd38eSSaeed Bishara void dove_init(void); 25*4ee1f6b5SLennert Buytenhek void dove_init_early(void); 26edabd38eSSaeed Bishara void dove_init_irq(void); 27edabd38eSSaeed Bishara void dove_setup_cpu_mbus(void); 28edabd38eSSaeed Bishara void dove_ge00_init(struct mv643xx_eth_platform_data *eth_data); 29edabd38eSSaeed Bishara void dove_sata_init(struct mv_sata_platform_data *sata_data); 30edabd38eSSaeed Bishara void dove_pcie_init(int init_port0, int init_port1); 31edabd38eSSaeed Bishara void dove_ehci0_init(void); 32edabd38eSSaeed Bishara void dove_ehci1_init(void); 33edabd38eSSaeed Bishara void dove_uart0_init(void); 34edabd38eSSaeed Bishara void dove_uart1_init(void); 35edabd38eSSaeed Bishara void dove_uart2_init(void); 36edabd38eSSaeed Bishara void dove_uart3_init(void); 37edabd38eSSaeed Bishara void dove_spi0_init(void); 38edabd38eSSaeed Bishara void dove_spi1_init(void); 39edabd38eSSaeed Bishara void dove_i2c_init(void); 4016bc90afSSaeed Bishara void dove_sdio0_init(void); 4116bc90afSSaeed Bishara void dove_sdio1_init(void); 42edabd38eSSaeed Bishara 43edabd38eSSaeed Bishara #endif 44