aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s5pv210/include
diff options
context:
space:
mode:
authorJassi Brar <jassi.brar@samsung.com>2010-05-18 03:43:37 -0400
committerBen Dooks <ben-linux@fluff.org>2010-05-20 06:31:10 -0400
commitf0c303a68701a5df53a8672eb81a85c8a41096da (patch)
tree9aea14ed46b842ea33693ca193e964724d83333a /arch/arm/mach-s5pv210/include
parent7c3943f6d3625a2823262842e18387c4079a3f84 (diff)
ARM: S5PV210: Define SPI platform devices
Define SPI platform devices for the SoC. Signed-off-by: Jassi Brar <jassi.brar@samsung.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'arch/arm/mach-s5pv210/include')
-rw-r--r--arch/arm/mach-s5pv210/include/mach/map.h4
-rw-r--r--arch/arm/mach-s5pv210/include/mach/spi-clocks.h17
2 files changed, 21 insertions, 0 deletions
diff --git a/arch/arm/mach-s5pv210/include/mach/map.h b/arch/arm/mach-s5pv210/include/mach/map.h
index 5adcb9f26e44..9ab0069d1a7e 100644
--- a/arch/arm/mach-s5pv210/include/mach/map.h
+++ b/arch/arm/mach-s5pv210/include/mach/map.h
@@ -25,6 +25,10 @@
25#define S5PV210_PA_GPIO (0xE0200000) 25#define S5PV210_PA_GPIO (0xE0200000)
26#define S5P_PA_GPIO S5PV210_PA_GPIO 26#define S5P_PA_GPIO S5PV210_PA_GPIO
27 27
28/* SPI */
29#define S5PV210_PA_SPI0 0xE1300000
30#define S5PV210_PA_SPI1 0xE1400000
31
28#define S5PV210_PA_IIC0 (0xE1800000) 32#define S5PV210_PA_IIC0 (0xE1800000)
29 33
30#define S5PV210_PA_TIMER (0xE2500000) 34#define S5PV210_PA_TIMER (0xE2500000)
diff --git a/arch/arm/mach-s5pv210/include/mach/spi-clocks.h b/arch/arm/mach-s5pv210/include/mach/spi-clocks.h
new file mode 100644
index 000000000000..02acded5f73d
--- /dev/null
+++ b/arch/arm/mach-s5pv210/include/mach/spi-clocks.h
@@ -0,0 +1,17 @@
1/* linux/arch/arm/mach-s5pv210/include/mach/spi-clocks.h
2 *
3 * Copyright (C) 2010 Samsung Electronics Co. Ltd.
4 * Jaswinder Singh <jassi.brar@samsung.com>
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 __S5PV210_PLAT_SPI_CLKS_H
12#define __S5PV210_PLAT_SPI_CLKS_H __FILE__
13
14#define S5PV210_SPI_SRCCLK_PCLK 0
15#define S5PV210_SPI_SRCCLK_SCLK 1
16
17#endif /* __S5PV210_PLAT_SPI_CLKS_H */