1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22#ifndef __ASM_ARCH_REALVIEW_H
23#define __ASM_ARCH_REALVIEW_H
24
25#include <linux/amba/bus.h>
26#include <linux/io.h>
27
28#include <asm/setup.h>
29
30#define APB_DEVICE(name, busid, base, plat) \
31static AMBA_APB_DEVICE(name, busid, 0, REALVIEW_##base##_BASE, base##_IRQ, plat)
32
33#define AHB_DEVICE(name, busid, base, plat) \
34static AMBA_AHB_DEVICE(name, busid, 0, REALVIEW_##base##_BASE, base##_IRQ, plat)
35
36struct machine_desc;
37
38extern struct platform_device realview_flash_device;
39extern struct platform_device realview_cf_device;
40extern struct platform_device realview_i2c_device;
41extern struct mmci_platform_data realview_mmc0_plat_data;
42extern struct mmci_platform_data realview_mmc1_plat_data;
43extern struct clcd_board clcd_plat_data;
44extern void __iomem *timer0_va_base;
45extern void __iomem *timer1_va_base;
46extern void __iomem *timer2_va_base;
47extern void __iomem *timer3_va_base;
48
49extern void realview_timer_init(unsigned int timer_irq);
50extern int realview_flash_register(struct resource *res, u32 num);
51extern int realview_eth_register(const char *name, struct resource *res);
52extern int realview_usb_register(struct resource *res);
53extern void realview_init_early(void);
54extern void realview_fixup(struct tag *tags, char **from,
55 struct meminfo *meminfo);
56
57extern struct smp_operations realview_smp_ops;
58extern void realview_cpu_die(unsigned int cpu);
59
60#endif
61