aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-ux500/include/mach/devices.h
blob: a5973d85d7d2ed58e46398e512dafc62ee60a6b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
/*
 * Copyright (C) 2010 ST-Ericsson
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2, as
 * published by the Free Software Foundation.
 */

#ifndef __ASM_ARCH_DEVICES_H__
#define __ASM_ARCH_DEVICES_H__

struct platform_device;
struct amba_device;

void __init u8500_register_device(struct platform_device *dev, void *data);
void __init u8500_register_amba_device(struct amba_device *dev, void *data);

extern struct platform_device u8500_gpio_devs[];
extern struct platform_device u5500_gpio_devs[];

extern struct platform_device u8500_msp0_device;
extern struct platform_device u8500_msp1_device;
extern struct platform_device u8500_msp2_device;
extern struct amba_device u8500_msp2_spi_device;
extern struct platform_device u8500_i2c0_device;
extern struct platform_device ux500_i2c_controller1;
extern struct platform_device ux500_i2c_controller2;
extern struct platform_device ux500_i2c_controller3;
extern struct platform_device u8500_i2c4_device;
extern struct platform_device ux500_mcde_device;
extern struct platform_device u8500_hsit_device;
extern struct platform_device u8500_hsir_device;
extern struct platform_device u8500_shrm_device;
extern struct platform_device ux500_b2r2_device;
extern struct platform_device u8500_pmem_device;
extern struct platform_device u8500_pmem_mio_device;
extern struct platform_device u8500_pmem_hwb_device;
extern struct amba_device ux500_rtc_device;
extern struct platform_device ux500_dma_device;
extern struct platform_device ux500_hash1_device;
extern struct amba_device u8500_ssp0_device;
extern struct amba_device u8500_ssp1_device;
extern struct amba_device ux500_spi0_device;
extern struct amba_device ux500_sdi4_device;
extern struct amba_device ux500_sdi0_device;
extern struct amba_device ux500_sdi1_device;
extern struct amba_device ux500_sdi2_device;
extern struct platform_device u8500_ab8500_device;
extern struct platform_device ux500_musb_device;
extern struct amba_device ux500_uart0_device;
extern struct amba_device ux500_uart1_device;
extern struct amba_device ux500_uart2_device;

/*
 * Do not use inside drivers.  Check it in the board file and alter platform
 * data.
 */
extern int platform_id;
#define MOP500_PLATFORM_ID	0
#define HREF_PLATFORM_ID	1

#endif