Kukjin Kim | 939d28a | 2010-02-24 16:40:29 +0900 | [diff] [blame] | 1 | /* linux/arch/arm/mach-s5pv210/include/mach/map.h |
| 2 | * |
| 3 | * Copyright (c) 2010 Samsung Electronics Co., Ltd. |
| 4 | * http://www.samsung.com/ |
| 5 | * |
| 6 | * S5PV210 - Memory map definitions |
| 7 | * |
| 8 | * This program is free software; you can redistribute it and/or modify |
| 9 | * it under the terms of the GNU General Public License version 2 as |
| 10 | * published by the Free Software Foundation. |
| 11 | */ |
| 12 | |
| 13 | #ifndef __ASM_ARCH_MAP_H |
| 14 | #define __ASM_ARCH_MAP_H __FILE__ |
| 15 | |
| 16 | #include <plat/map-base.h> |
| 17 | #include <plat/map-s5p.h> |
| 18 | |
| 19 | #define S5PV210_PA_CHIPID (0xE0000000) |
| 20 | #define S5P_PA_CHIPID S5PV210_PA_CHIPID |
| 21 | |
| 22 | #define S5PV210_PA_SYSCON (0xE0100000) |
| 23 | #define S5P_PA_SYSCON S5PV210_PA_SYSCON |
| 24 | |
| 25 | #define S5PV210_PA_GPIO (0xE0200000) |
| 26 | #define S5P_PA_GPIO S5PV210_PA_GPIO |
| 27 | |
| 28 | #define S5PV210_PA_IIC0 (0xE1800000) |
| 29 | |
| 30 | #define S5PV210_PA_TIMER (0xE2500000) |
| 31 | #define S5P_PA_TIMER S5PV210_PA_TIMER |
| 32 | |
| 33 | #define S5PV210_PA_SYSTIMER (0xE2600000) |
| 34 | |
| 35 | #define S5PV210_PA_UART (0xE2900000) |
| 36 | |
| 37 | #define S5P_PA_UART0 (S5PV210_PA_UART + 0x0) |
| 38 | #define S5P_PA_UART1 (S5PV210_PA_UART + 0x400) |
| 39 | #define S5P_PA_UART2 (S5PV210_PA_UART + 0x800) |
| 40 | #define S5P_PA_UART3 (S5PV210_PA_UART + 0xC00) |
| 41 | |
| 42 | #define S5P_SZ_UART SZ_256 |
| 43 | |
| 44 | #define S5PV210_PA_SROMC (0xE8000000) |
| 45 | |
Jassi Brar | 7d1a207 | 2010-05-18 11:59:34 +0900 | [diff] [blame] | 46 | #define S5PV210_PA_MDMA 0xFA200000 |
| 47 | #define S5PV210_PA_PDMA0 0xE0900000 |
| 48 | #define S5PV210_PA_PDMA1 0xE0A00000 |
| 49 | |
Marek Szyprowski | 5b696a6 | 2010-05-20 08:13:04 +0200 | [diff] [blame^] | 50 | #define S5PV210_PA_FB (0xF8000000) |
| 51 | |
Kukjin Kim | 939d28a | 2010-02-24 16:40:29 +0900 | [diff] [blame] | 52 | #define S5PV210_PA_VIC0 (0xF2000000) |
| 53 | #define S5P_PA_VIC0 S5PV210_PA_VIC0 |
| 54 | |
| 55 | #define S5PV210_PA_VIC1 (0xF2100000) |
| 56 | #define S5P_PA_VIC1 S5PV210_PA_VIC1 |
| 57 | |
| 58 | #define S5PV210_PA_VIC2 (0xF2200000) |
| 59 | #define S5P_PA_VIC2 S5PV210_PA_VIC2 |
| 60 | |
| 61 | #define S5PV210_PA_VIC3 (0xF2300000) |
| 62 | #define S5P_PA_VIC3 S5PV210_PA_VIC3 |
| 63 | |
| 64 | #define S5PV210_PA_SDRAM (0x20000000) |
| 65 | #define S5P_PA_SDRAM S5PV210_PA_SDRAM |
| 66 | |
Jassi Brar | 602bf0c | 2010-05-18 16:02:26 +0900 | [diff] [blame] | 67 | /* I2S */ |
| 68 | #define S5PV210_PA_IIS0 0xEEE30000 |
| 69 | #define S5PV210_PA_IIS1 0xE2100000 |
| 70 | #define S5PV210_PA_IIS2 0xE2A00000 |
| 71 | |
| 72 | /* PCM */ |
| 73 | #define S5PV210_PA_PCM0 0xE2300000 |
| 74 | #define S5PV210_PA_PCM1 0xE1200000 |
| 75 | #define S5PV210_PA_PCM2 0xE2B00000 |
| 76 | |
| 77 | /* AC97 */ |
| 78 | #define S5PV210_PA_AC97 0xE2200000 |
| 79 | |
Kukjin Kim | 939d28a | 2010-02-24 16:40:29 +0900 | [diff] [blame] | 80 | /* compatibiltiy defines. */ |
| 81 | #define S3C_PA_UART S5PV210_PA_UART |
| 82 | #define S3C_PA_IIC S5PV210_PA_IIC0 |
Marek Szyprowski | 5b696a6 | 2010-05-20 08:13:04 +0200 | [diff] [blame^] | 83 | #define S3C_PA_FB S5PV210_PA_FB |
Kukjin Kim | 939d28a | 2010-02-24 16:40:29 +0900 | [diff] [blame] | 84 | |
| 85 | #endif /* __ASM_ARCH_MAP_H */ |