• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/arch/arm/plat-mxc/include/mach/
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
14struct platform_device;
15struct clk;
16
17extern void mx1_map_io(void);
18extern void mx21_map_io(void);
19extern void mx25_map_io(void);
20extern void mx27_map_io(void);
21extern void mx31_map_io(void);
22extern void mx35_map_io(void);
23extern void mx51_map_io(void);
24extern void mxc91231_map_io(void);
25extern void mxc_init_irq(void __iomem *);
26extern void tzic_init_irq(void __iomem *);
27extern void mx1_init_irq(void);
28extern void mx21_init_irq(void);
29extern void mx25_init_irq(void);
30extern void mx27_init_irq(void);
31extern void mx31_init_irq(void);
32extern void mx35_init_irq(void);
33extern void mx51_init_irq(void);
34extern void mxc91231_init_irq(void);
35extern void mxc_timer_init(struct clk *timer_clk, void __iomem *, int);
36extern int mx1_clocks_init(unsigned long fref);
37extern int mx21_clocks_init(unsigned long lref, unsigned long fref);
38extern int mx25_clocks_init(void);
39extern int mx27_clocks_init(unsigned long fref);
40extern int mx31_clocks_init(unsigned long fref);
41extern int mx35_clocks_init(void);
42extern int mx51_clocks_init(unsigned long ckil, unsigned long osc,
43			unsigned long ckih1, unsigned long ckih2);
44extern int mxc91231_clocks_init(unsigned long fref);
45extern int mxc_register_gpios(void);
46extern int mxc_register_device(struct platform_device *pdev, void *data);
47extern void mxc_set_cpu_type(unsigned int type);
48extern void mxc_arch_reset_init(void __iomem *);
49extern void mxc91231_power_off(void);
50extern void mxc91231_arch_reset(int, const char *);
51extern void mxc91231_prepare_idle(void);
52
53#endif
54