1 /* 2 * Freescale STMP37XX/STMP378X core structure and function declarations 3 * 4 * Embedded Alley Solutions, Inc <source@embeddedalley.com> 5 * 6 * Copyright 2008 Freescale Semiconductor, Inc. All Rights Reserved. 7 * Copyright 2008 Embedded Alley Solutions, Inc All Rights Reserved. 8 */ 9 10 /* 11 * The code contained herein is licensed under the GNU General Public 12 * License. You may obtain a copy of the GNU General Public License 13 * Version 2 or later at the following locations: 14 * 15 * http://www.opensource.org/licenses/gpl-license.html 16 * http://www.gnu.org/copyleft/gpl.html 17 */ 18 #ifndef __ASM_PLAT_STMP3XXX_H 19 #define __ASM_PLAT_STMP3XXX_H 20 21 #include <linux/irq.h> 22 23 extern struct sys_timer stmp3xxx_timer; 24 25 void stmp3xxx_init_irq(struct irq_chip *chip); 26 void stmp3xxx_init(void); 27 int stmp3xxx_reset_block(void __iomem *hwreg, int just_enable); 28 extern struct platform_device stmp3xxx_dbguart, 29 stmp3xxx_appuart, 30 stmp3xxx_watchdog, 31 stmp3xxx_touchscreen, 32 stmp3xxx_keyboard, 33 stmp3xxx_gpmi, 34 stmp3xxx_mmc, 35 stmp3xxx_udc, 36 stmp3xxx_ehci, 37 stmp3xxx_rtc, 38 stmp3xxx_spi1, 39 stmp3xxx_spi2, 40 stmp3xxx_backlight, 41 stmp3xxx_rotdec, 42 stmp3xxx_dcp, 43 stmp3xxx_dcp_bootstream, 44 stmp3xxx_persistent, 45 stmp3xxx_framebuffer, 46 stmp3xxx_battery; 47 int stmp3xxx_ssp1_device_register(void); 48 int stmp3xxx_ssp2_device_register(void); 49 50 struct pin_group; 51 void stmp3xxx_release_pin_group(struct pin_group *pin_group, const char *label); 52 int stmp3xxx_request_pin_group(struct pin_group *pin_group, const char *label); 53 54 #endif /* __ASM_PLAT_STMP3XXX_H */ 55