diff options
author | Kyungmin Park <kyungmin.park@samsung.com> | 2010-08-20 07:41:31 -0400 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2010-08-27 02:29:01 -0400 |
commit | 4d9147053bb7b90f083220440194a1cff0ee90b6 (patch) | |
tree | d7e57ef8b9b7ecf6957cbd47a8f4c39f2c0c6a05 /arch | |
parent | 15cae77ad891c1533b664759f8eebae246e5edf8 (diff) |
ARM: S5PV310: Fix on GPIO base addresses
The S5PV310/S5PC210 has following three GPIO base addresses.
Part1 Base Address=0x11400000
Part2 Base Address=0x11000000
Part3 Base Address=0x03860000
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
[kgene.kim@samsung.com: minor edit of title]
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-s5pv310/include/mach/map.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/arch/arm/mach-s5pv310/include/mach/map.h b/arch/arm/mach-s5pv310/include/mach/map.h index 87697c9fca5b..6c7b1fc9d8ae 100644 --- a/arch/arm/mach-s5pv310/include/mach/map.h +++ b/arch/arm/mach-s5pv310/include/mach/map.h | |||
@@ -39,8 +39,12 @@ | |||
39 | #define S5PV310_PA_GIC_DIST (0x10501000) | 39 | #define S5PV310_PA_GIC_DIST (0x10501000) |
40 | #define S5PV310_PA_L2CC (0x10502000) | 40 | #define S5PV310_PA_L2CC (0x10502000) |
41 | 41 | ||
42 | #define S5PV310_PA_GPIO (0x11000000) | 42 | #define S5PV310_PA_GPIO1 (0x11400000) |
43 | #define S5P_PA_GPIO S5PV310_PA_GPIO | 43 | #define S5PV310_PA_GPIO2 (0x11000000) |
44 | #define S5PV310_PA_GPIO3 (0x03860000) | ||
45 | #define S5P_PA_GPIO S5PV310_PA_GPIO1 | ||
46 | |||
47 | #define S5PV310_PA_HSMMC(x) (0x12510000 + ((x) * 0x10000)) | ||
44 | 48 | ||
45 | #define S5PV310_PA_UART (0x13800000) | 49 | #define S5PV310_PA_UART (0x13800000) |
46 | 50 | ||
@@ -63,6 +67,10 @@ | |||
63 | 67 | ||
64 | /* compatibiltiy defines. */ | 68 | /* compatibiltiy defines. */ |
65 | #define S3C_PA_UART S5PV310_PA_UART | 69 | #define S3C_PA_UART S5PV310_PA_UART |
70 | #define S3C_PA_HSMMC0 S5PV310_PA_HSMMC(0) | ||
71 | #define S3C_PA_HSMMC1 S5PV310_PA_HSMMC(1) | ||
72 | #define S3C_PA_HSMMC2 S5PV310_PA_HSMMC(2) | ||
73 | #define S3C_PA_HSMMC3 S5PV310_PA_HSMMC(3) | ||
66 | #define S3C_PA_IIC S5PV310_PA_IIC0 | 74 | #define S3C_PA_IIC S5PV310_PA_IIC0 |
67 | #define S3C_PA_WDT S5PV310_PA_WATCHDOG | 75 | #define S3C_PA_WDT S5PV310_PA_WATCHDOG |
68 | 76 | ||