aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s5p6442/include
diff options
context:
space:
mode:
authorJassi Brar <jassi.brar@samsung.com>2010-05-18 16:43:45 +0900
committerBen Dooks <ben-linux@fluff.org>2010-05-20 19:34:01 +0900
commite8a3931d5fb862c0bd21c81b363b729a263dc8d3 (patch)
tree48c2bece59307c1aa8bd2f3063d838e7ca2662bc /arch/arm/mach-s5p6442/include
parentf0c303a68701a5df53a8672eb81a85c8a41096da (diff)
downloadkernel_samsung_aries-e8a3931d5fb862c0bd21c81b363b729a263dc8d3.zip
kernel_samsung_aries-e8a3931d5fb862c0bd21c81b363b729a263dc8d3.tar.gz
kernel_samsung_aries-e8a3931d5fb862c0bd21c81b363b729a263dc8d3.tar.bz2
ARM: S5P6442: 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-s5p6442/include')
-rw-r--r--arch/arm/mach-s5p6442/include/mach/map.h2
-rw-r--r--arch/arm/mach-s5p6442/include/mach/spi-clocks.h17
2 files changed, 19 insertions, 0 deletions
diff --git a/arch/arm/mach-s5p6442/include/mach/map.h b/arch/arm/mach-s5p6442/include/mach/map.h
index 7568dc0..32ca424 100644
--- a/arch/arm/mach-s5p6442/include/mach/map.h
+++ b/arch/arm/mach-s5p6442/include/mach/map.h
@@ -54,6 +54,8 @@
#define S5P6442_PA_SDRAM (0x20000000)
#define S5P_PA_SDRAM S5P6442_PA_SDRAM
+#define S5P6442_PA_SPI 0xEC300000
+
/* I2S */
#define S5P6442_PA_I2S0 0xC0B00000
#define S5P6442_PA_I2S1 0xF2200000
diff --git a/arch/arm/mach-s5p6442/include/mach/spi-clocks.h b/arch/arm/mach-s5p6442/include/mach/spi-clocks.h
new file mode 100644
index 0000000..7fd8820
--- /dev/null
+++ b/arch/arm/mach-s5p6442/include/mach/spi-clocks.h
@@ -0,0 +1,17 @@
+/* linux/arch/arm/mach-s5p6442/include/mach/spi-clocks.h
+ *
+ * Copyright (C) 2010 Samsung Electronics Co. Ltd.
+ * Jaswinder Singh <jassi.brar@samsung.com>
+ *
+ * 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 __S5P6442_PLAT_SPI_CLKS_H
+#define __S5P6442_PLAT_SPI_CLKS_H __FILE__
+
+#define S5P6442_SPI_SRCCLK_PCLK 0
+#define S5P6442_SPI_SRCCLK_SCLK 1
+
+#endif /* __S5P6442_PLAT_SPI_CLKS_H */