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