arm: mx50: add core functions support except clock
[deliverable/linux.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
cd4a05f9
SH
17extern void mx1_map_io(void);
18extern void mx21_map_io(void);
8c25c36f 19extern void mx25_map_io(void);
cd4a05f9
SH
20extern void mx27_map_io(void);
21extern void mx31_map_io(void);
22extern void mx35_map_io(void);
3d5a44be 23extern void mx50_map_io(void);
a329b48c 24extern void mx51_map_io(void);
c0abefd3 25extern void mx53_map_io(void);
fd6ac7bb 26extern void mxc91231_map_io(void);
c5aa0ad0 27extern void mxc_init_irq(void __iomem *);
a003708a 28extern void tzic_init_irq(void __iomem *);
c5aa0ad0
SH
29extern void mx1_init_irq(void);
30extern void mx21_init_irq(void);
8c25c36f 31extern void mx25_init_irq(void);
c5aa0ad0
SH
32extern void mx27_init_irq(void);
33extern void mx31_init_irq(void);
34extern void mx35_init_irq(void);
3d5a44be 35extern void mx50_init_irq(void);
a329b48c 36extern void mx51_init_irq(void);
c0abefd3 37extern void mx53_init_irq(void);
fd6ac7bb 38extern void mxc91231_init_irq(void);
f2b8901d 39extern void epit_timer_init(struct clk *timer_clk, void __iomem *base, int irq);
8db5d1a6 40extern void mxc_timer_init(struct clk *timer_clk, void __iomem *, int);
30c730f8 41extern int mx1_clocks_init(unsigned long fref);
aa3b0a6f 42extern int mx21_clocks_init(unsigned long lref, unsigned long fref);
fadc0956 43extern int mx25_clocks_init(void);
30c730f8
SH
44extern int mx27_clocks_init(unsigned long fref);
45extern int mx31_clocks_init(unsigned long fref);
2cb536d1 46extern int mx35_clocks_init(void);
a329b48c
AK
47extern int mx51_clocks_init(unsigned long ckil, unsigned long osc,
48 unsigned long ckih1, unsigned long ckih2);
c0abefd3
DN
49extern int mx53_clocks_init(unsigned long ckil, unsigned long osc,
50 unsigned long ckih1, unsigned long ckih2);
fd6ac7bb 51extern int mxc91231_clocks_init(unsigned long fref);
07bd1a6c 52extern int mxc_register_gpios(void);
282b13d0 53extern int mxc_register_device(struct platform_device *pdev, void *data);
198016e1 54extern void mxc_set_cpu_type(unsigned int type);
be124c94 55extern void mxc_arch_reset_init(void __iomem *);
fd6ac7bb
DT
56extern void mxc91231_power_off(void);
57extern void mxc91231_arch_reset(int, const char *);
58extern void mxc91231_prepare_idle(void);
c2932bf4 59extern void mx51_efikamx_reset(void);
c0abefd3 60extern int mx53_revision(void);
52c543f9 61#endif
This page took 0.42518 seconds and 5 git commands to generate.