]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blame - arch/arm/plat-mxc/include/mach/common.h
pcm037: Add support for UART2
[mirror_ubuntu-artful-kernel.git] / arch / arm / plat-mxc / include / mach / common.h
CommitLineData
52c543f9
QJ
1/*
2 * Copyright 2004-2007 Freescale Semiconductor, Inc. All Rights Reserved.
3 */
4
5/*
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 */
10
11#ifndef __ASM_ARCH_MXC_COMMON_H__
12#define __ASM_ARCH_MXC_COMMON_H__
13
282b13d0 14struct platform_device;
30c730f8 15struct clk;
282b13d0 16
52c543f9
QJ
17extern void mxc_map_io(void);
18extern void mxc_init_irq(void);
30c730f8
SH
19extern void mxc_timer_init(struct clk *timer_clk);
20extern int mx1_clocks_init(unsigned long fref);
aa3b0a6f 21extern int mx21_clocks_init(unsigned long lref, unsigned long fref);
30c730f8
SH
22extern int mx27_clocks_init(unsigned long fref);
23extern int mx31_clocks_init(unsigned long fref);
2cb536d1 24extern int mx35_clocks_init(void);
07bd1a6c 25extern int mxc_register_gpios(void);
282b13d0 26extern int mxc_register_device(struct platform_device *pdev, void *data);
198016e1 27extern void mxc_set_cpu_type(unsigned int type);
52c543f9
QJ
28
29#endif