power: supply: sbs-battery: simplify DT parsing
[deliverable/linux.git] / arch / arm / mach-realview / core.h
CommitLineData
8ad68bbf 1/*
8ad68bbf
CM
2 * Copyright (C) 2004 ARM Limited
3 * Copyright (C) 2000 Deep Blue Solutions Ltd
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 */
19
20#ifndef __ASM_ARCH_REALVIEW_H
21#define __ASM_ARCH_REALVIEW_H
22
a62c80e5 23#include <linux/amba/bus.h>
fced80c7 24#include <linux/io.h>
a62c80e5 25
5b39d154 26#include <asm/setup.h>
8ad68bbf 27
9199340b
RK
28#define APB_DEVICE(name, busid, base, plat) \
29static AMBA_APB_DEVICE(name, busid, 0, REALVIEW_##base##_BASE, base##_IRQ, plat)
30
31#define AHB_DEVICE(name, busid, base, plat) \
32static AMBA_AHB_DEVICE(name, busid, 0, REALVIEW_##base##_BASE, base##_IRQ, plat)
8ad68bbf 33
5b39d154
CM
34struct machine_desc;
35
8ad68bbf 36extern struct platform_device realview_flash_device;
6be62ba2 37extern struct platform_device realview_cf_device;
e4ecf2bd 38extern struct platform_device realview_leds_device;
6b65cd74 39extern struct platform_device realview_i2c_device;
6ef297f8
LW
40extern struct mmci_platform_data realview_mmc0_plat_data;
41extern struct mmci_platform_data realview_mmc1_plat_data;
8ad68bbf 42extern struct clcd_board clcd_plat_data;
80192735
CM
43extern void __iomem *timer0_va_base;
44extern void __iomem *timer1_va_base;
45extern void __iomem *timer2_va_base;
46extern void __iomem *timer3_va_base;
8ad68bbf 47
8cc4c548 48extern void realview_timer_init(unsigned int timer_irq);
a44ddfd5 49extern int realview_flash_register(struct resource *res, u32 num);
0a381330 50extern int realview_eth_register(const char *name, struct resource *res);
7db21712 51extern int realview_usb_register(struct resource *res);
631e55f9 52extern void realview_init_early(void);
1c2f87c2 53extern void realview_fixup(struct tag *tags, char **from);
5b39d154 54
75305275 55extern const struct smp_operations realview_smp_ops;
3695adc2
MZ
56extern void realview_cpu_die(unsigned int cpu);
57
8ad68bbf 58#endif
This page took 0.660911 seconds and 5 git commands to generate.