2010-02-22 22:09:34 -07:00
/*
* omap_hwmod_common_data . h - OMAP hwmod common macros and declarations
*
2011-07-09 19:14:06 -06:00
* Copyright ( C ) 2010 - 2011 Nokia Corporation
2010-02-22 22:09:34 -07:00
* Paul Walmsley
*
2011-07-09 19:14:06 -06:00
* Copyright ( C ) 2010 - 2011 Texas Instruments , Inc .
2010-02-22 22:09:34 -07:00
* Benoît Cousson
*
* This program is free software ; you can redistribute it and / or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation .
*/
# ifndef __ARCH_ARM_MACH_OMAP2_OMAP_HWMOD_COMMON_DATA_H
# define __ARCH_ARM_MACH_OMAP2_OMAP_HWMOD_COMMON_DATA_H
# include <plat/omap_hwmod.h>
2011-07-09 19:14:06 -06:00
/* Common address space across OMAP2xxx */
extern struct omap_hwmod_addr_space omap2xxx_uart1_addr_space [ ] ;
extern struct omap_hwmod_addr_space omap2xxx_uart2_addr_space [ ] ;
extern struct omap_hwmod_addr_space omap2xxx_uart3_addr_space [ ] ;
extern struct omap_hwmod_addr_space omap2xxx_timer2_addrs [ ] ;
extern struct omap_hwmod_addr_space omap2xxx_timer3_addrs [ ] ;
extern struct omap_hwmod_addr_space omap2xxx_timer4_addrs [ ] ;
extern struct omap_hwmod_addr_space omap2xxx_timer5_addrs [ ] ;
extern struct omap_hwmod_addr_space omap2xxx_timer6_addrs [ ] ;
extern struct omap_hwmod_addr_space omap2xxx_timer7_addrs [ ] ;
extern struct omap_hwmod_addr_space omap2xxx_timer8_addrs [ ] ;
extern struct omap_hwmod_addr_space omap2xxx_timer9_addrs [ ] ;
extern struct omap_hwmod_addr_space omap2xxx_timer12_addrs [ ] ;
extern struct omap_hwmod_addr_space omap2xxx_mcbsp2_addrs [ ] ;
/* Common address space across OMAP2xxx/3xxx */
extern struct omap_hwmod_addr_space omap2_i2c1_addr_space [ ] ;
extern struct omap_hwmod_addr_space omap2_i2c2_addr_space [ ] ;
extern struct omap_hwmod_addr_space omap2_dss_addrs [ ] ;
extern struct omap_hwmod_addr_space omap2_dss_dispc_addrs [ ] ;
extern struct omap_hwmod_addr_space omap2_dss_rfbi_addrs [ ] ;
extern struct omap_hwmod_addr_space omap2_dss_venc_addrs [ ] ;
extern struct omap_hwmod_addr_space omap2_timer10_addrs [ ] ;
extern struct omap_hwmod_addr_space omap2_timer11_addrs [ ] ;
extern struct omap_hwmod_addr_space omap2430_mmc1_addr_space [ ] ;
extern struct omap_hwmod_addr_space omap2430_mmc2_addr_space [ ] ;
extern struct omap_hwmod_addr_space omap2_mcspi1_addr_space [ ] ;
extern struct omap_hwmod_addr_space omap2_mcspi2_addr_space [ ] ;
extern struct omap_hwmod_addr_space omap2430_mcspi3_addr_space [ ] ;
extern struct omap_hwmod_addr_space omap2_dma_system_addrs [ ] ;
extern struct omap_hwmod_addr_space omap2_mailbox_addrs [ ] ;
extern struct omap_hwmod_addr_space omap2_mcbsp1_addrs [ ] ;
2011-07-09 19:14:07 -06:00
/* Common IP block data across OMAP2xxx */
extern struct omap_hwmod_irq_info omap2xxx_timer12_mpu_irqs [ ] ;
/* Common IP block data across OMAP2/3 */
extern struct omap_hwmod_irq_info omap2_timer1_mpu_irqs [ ] ;
extern struct omap_hwmod_irq_info omap2_timer2_mpu_irqs [ ] ;
extern struct omap_hwmod_irq_info omap2_timer3_mpu_irqs [ ] ;
extern struct omap_hwmod_irq_info omap2_timer4_mpu_irqs [ ] ;
extern struct omap_hwmod_irq_info omap2_timer5_mpu_irqs [ ] ;
extern struct omap_hwmod_irq_info omap2_timer6_mpu_irqs [ ] ;
extern struct omap_hwmod_irq_info omap2_timer7_mpu_irqs [ ] ;
extern struct omap_hwmod_irq_info omap2_timer8_mpu_irqs [ ] ;
extern struct omap_hwmod_irq_info omap2_timer9_mpu_irqs [ ] ;
extern struct omap_hwmod_irq_info omap2_timer10_mpu_irqs [ ] ;
extern struct omap_hwmod_irq_info omap2_timer11_mpu_irqs [ ] ;
extern struct omap_hwmod_irq_info omap2_uart1_mpu_irqs [ ] ;
extern struct omap_hwmod_irq_info omap2_uart2_mpu_irqs [ ] ;
extern struct omap_hwmod_irq_info omap2_uart3_mpu_irqs [ ] ;
extern struct omap_hwmod_irq_info omap2_dispc_irqs [ ] ;
extern struct omap_hwmod_irq_info omap2_i2c1_mpu_irqs [ ] ;
extern struct omap_hwmod_irq_info omap2_i2c2_mpu_irqs [ ] ;
extern struct omap_hwmod_irq_info omap2_gpio1_irqs [ ] ;
extern struct omap_hwmod_irq_info omap2_gpio2_irqs [ ] ;
extern struct omap_hwmod_irq_info omap2_gpio3_irqs [ ] ;
extern struct omap_hwmod_irq_info omap2_gpio4_irqs [ ] ;
extern struct omap_hwmod_irq_info omap2_dma_system_irqs [ ] ;
extern struct omap_hwmod_irq_info omap2_mcspi1_mpu_irqs [ ] ;
extern struct omap_hwmod_irq_info omap2_mcspi2_mpu_irqs [ ] ;
2010-02-22 22:09:34 -07:00
/* OMAP hwmod classes - forward declarations */
extern struct omap_hwmod_class l3_hwmod_class ;
extern struct omap_hwmod_class l4_hwmod_class ;
extern struct omap_hwmod_class mpu_hwmod_class ;
2010-07-26 16:34:31 -06:00
extern struct omap_hwmod_class iva_hwmod_class ;
2010-02-22 22:09:34 -07:00
2011-07-09 19:14:06 -06:00
2010-02-22 22:09:34 -07:00
# endif