aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s3c6400
diff options
context:
space:
mode:
authorBen Dooks <ben-linux@fluff.org>2008-10-31 12:14:55 -0400
committerBen Dooks <ben-linux@fluff.org>2008-12-15 18:56:41 -0500
commit1aba834da12989bb769d1dcbf6b0ea29f730c92c (patch)
tree4f06c055eb265919ab137a49a21d3a5ace5d393d /arch/arm/mach-s3c6400
parent8f995cc3ac94b114fe84782b023d8706d1adf960 (diff)
[ARM] S3C: Add i2c1 device definition
Add device definition and support functions for the second i2c device (i2c1). If this is selected, the first i2c bus will become index 0 instead of index -1. Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'arch/arm/mach-s3c6400')
-rw-r--r--arch/arm/mach-s3c6400/include/mach/map.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c6400/include/mach/map.h b/arch/arm/mach-s3c6400/include/mach/map.h
index f0d6fa616b6c..4d5cd7ee8c15 100644
--- a/arch/arm/mach-s3c6400/include/mach/map.h
+++ b/arch/arm/mach-s3c6400/include/mach/map.h
@@ -41,6 +41,7 @@
41#define S3C64XX_PA_SYSCON (0x7E00F000) 41#define S3C64XX_PA_SYSCON (0x7E00F000)
42#define S3C64XX_PA_TIMER (0x7F006000) 42#define S3C64XX_PA_TIMER (0x7F006000)
43#define S3C64XX_PA_IIC0 (0x7F004000) 43#define S3C64XX_PA_IIC0 (0x7F004000)
44#define S3C64XX_PA_IIC1 (0x7F00F000)
44 45
45#define S3C64XX_PA_GPIO (0x7F008000) 46#define S3C64XX_PA_GPIO (0x7F008000)
46#define S3C64XX_VA_GPIO S3C_ADDR(0x00500000) 47#define S3C64XX_VA_GPIO S3C_ADDR(0x00500000)
@@ -60,5 +61,6 @@
60#define S3C_PA_HSMMC1 S3C64XX_PA_HSMMC1 61#define S3C_PA_HSMMC1 S3C64XX_PA_HSMMC1
61#define S3C_PA_HSMMC2 S3C64XX_PA_HSMMC2 62#define S3C_PA_HSMMC2 S3C64XX_PA_HSMMC2
62#define S3C_PA_IIC S3C64XX_PA_IIC0 63#define S3C_PA_IIC S3C64XX_PA_IIC0
64#define S3C_PA_IIC1 S3C64XX_PA_IIC1
63 65
64#endif /* __ASM_ARCH_6400_MAP_H */ 66#endif /* __ASM_ARCH_6400_MAP_H */