diff options
author | Jassi Brar <jassi.brar@samsung.com> | 2010-05-18 03:43:34 -0400 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2010-05-20 06:31:09 -0400 |
commit | 7c3943f6d3625a2823262842e18387c4079a3f84 (patch) | |
tree | c33b563b002803170d387f062701cdcb5e07f460 /arch/arm/mach-s5pc100/include | |
parent | 504d36e91ac12ccdb0e1193cee7bef9831a1c99e (diff) |
ARM: S5PC100: 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-s5pc100/include')
-rw-r--r-- | arch/arm/mach-s5pc100/include/mach/map.h | 5 | ||||
-rw-r--r-- | arch/arm/mach-s5pc100/include/mach/spi-clocks.h | 18 |
2 files changed, 23 insertions, 0 deletions
diff --git a/arch/arm/mach-s5pc100/include/mach/map.h b/arch/arm/mach-s5pc100/include/mach/map.h index 4681ebe8bef6..5ff7931c5362 100644 --- a/arch/arm/mach-s5pc100/include/mach/map.h +++ b/arch/arm/mach-s5pc100/include/mach/map.h | |||
@@ -82,6 +82,11 @@ | |||
82 | #define S5PC100_PA_I2C (0xEC100000) | 82 | #define S5PC100_PA_I2C (0xEC100000) |
83 | #define S5PC100_PA_I2C1 (0xEC200000) | 83 | #define S5PC100_PA_I2C1 (0xEC200000) |
84 | 84 | ||
85 | /* SPI */ | ||
86 | #define S5PC100_PA_SPI0 0xEC300000 | ||
87 | #define S5PC100_PA_SPI1 0xEC400000 | ||
88 | #define S5PC100_PA_SPI2 0xEC500000 | ||
89 | |||
85 | /* USB HS OTG */ | 90 | /* USB HS OTG */ |
86 | #define S5PC100_PA_USB_HSOTG (0xED200000) | 91 | #define S5PC100_PA_USB_HSOTG (0xED200000) |
87 | #define S5PC100_PA_USB_HSPHY (0xED300000) | 92 | #define S5PC100_PA_USB_HSPHY (0xED300000) |
diff --git a/arch/arm/mach-s5pc100/include/mach/spi-clocks.h b/arch/arm/mach-s5pc100/include/mach/spi-clocks.h new file mode 100644 index 000000000000..65e426370bb2 --- /dev/null +++ b/arch/arm/mach-s5pc100/include/mach/spi-clocks.h | |||
@@ -0,0 +1,18 @@ | |||
1 | /* linux/arch/arm/mach-s5pc100/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 __S5PC100_PLAT_SPI_CLKS_H | ||
12 | #define __S5PC100_PLAT_SPI_CLKS_H __FILE__ | ||
13 | |||
14 | #define S5PC100_SPI_SRCCLK_PCLK 0 | ||
15 | #define S5PC100_SPI_SRCCLK_48M 1 | ||
16 | #define S5PC100_SPI_SRCCLK_SPIBUS 2 | ||
17 | |||
18 | #endif /* __S5PC100_PLAT_SPI_CLKS_H */ | ||