diff options
author | Rabin Vincent <rabin.vincent@stericsson.com> | 2010-05-03 03:03:52 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-05-04 12:50:03 -0400 |
commit | 9e4e7fe1a97191e373257ab59e3d6bbcce9a9f1e (patch) | |
tree | d29bb31d26432225887d2ee00c77b0f5f07f5acf /arch/arm/mach-ux500/devices-db8500.c | |
parent | d48fd006e6d9394e9abd14f4747034f73bb6a386 (diff) |
ARM: 6083/1: ux500: put DB8500-specific devices in devices-db8500.c
Add devices-db8500.c for DB8500-specific devices, starting
with SSP0.
Acked-by: Linus Walleij <linus.walleij@stericsson.com>
Acked-by: Srinidhi Kasagar <srinidhi.kasagar@stericsson.com>
Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-ux500/devices-db8500.c')
-rw-r--r-- | arch/arm/mach-ux500/devices-db8500.c | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/arch/arm/mach-ux500/devices-db8500.c b/arch/arm/mach-ux500/devices-db8500.c new file mode 100644 index 000000000000..f4a2dda4d0ac --- /dev/null +++ b/arch/arm/mach-ux500/devices-db8500.c | |||
@@ -0,0 +1,30 @@ | |||
1 | /* | ||
2 | * Copyright (C) ST-Ericsson SA 2010 | ||
3 | * | ||
4 | * Author: Rabin Vincent <rabin.vincent@stericsson.com> for ST-Ericsson | ||
5 | * License terms: GNU General Public License (GPL) version 2 | ||
6 | */ | ||
7 | |||
8 | #include <linux/kernel.h> | ||
9 | #include <linux/platform_device.h> | ||
10 | #include <linux/interrupt.h> | ||
11 | #include <linux/io.h> | ||
12 | #include <linux/amba/bus.h> | ||
13 | |||
14 | #include <mach/hardware.h> | ||
15 | #include <mach/setup.h> | ||
16 | |||
17 | struct amba_device u8500_ssp0_device = { | ||
18 | .dev = { | ||
19 | .coherent_dma_mask = ~0, | ||
20 | .init_name = "ssp0", | ||
21 | }, | ||
22 | .res = { | ||
23 | .start = U8500_SSP0_BASE, | ||
24 | .end = U8500_SSP0_BASE + SZ_4K - 1, | ||
25 | .flags = IORESOURCE_MEM, | ||
26 | }, | ||
27 | .irq = {IRQ_SSP0, NO_IRQ }, | ||
28 | /* ST-Ericsson modified id */ | ||
29 | .periphid = SSP_PER_ID, | ||
30 | }; | ||